Skip to content

[Preview] Add setting to move .lscache files to $HOME/.cache #2952

Description

@dibarbet

Originally filed by @StringEpsilon at dotnet/vscode-csharp#9145

Is your feature request related to a problem? Please describe.

I just noticed that the preview-version of the C# Dev Kit extension creates .lscache files in the same folder as the .csproj file it belongs to. A general cache for the LSP seems like a good idea, but I do not like configuring git to ignore temporary and cache files or files that are specific to one tool or another that may not be used by everyone working on a repository.
Locally I also have backup-scripts that I need to tell about files like that.

Describe the solution you would like

The preferred option for be is to enable the cache, but have those files live in ~/.cache/vscode-sharp/... instead of polluting my workspace folders and having to adjust my IDE and git settings. That is what ~/.cache is for, after all, and I assume the same is true for AppData\Local\Temp on windows.

My current solution is to simply disable the cache, but if it helps with performance I'd rather not have to do that.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions