Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Where are module dbs stored #1212

Closed
DonJayamanne opened this issue Jun 17, 2019 · 3 comments · Fixed by #1487
Closed

Where are module dbs stored #1212

DonJayamanne opened this issue Jun 17, 2019 · 3 comments · Fixed by #1487

Comments

@DonJayamanne
Copy link

As a user of VS Code, I'd like to know where all files are created and stored.
This way, if I chose to uninstall VSC (delete it), I know what to delete.

I.e. if the Language Server is creating files elsewhere, then I'd like to know where so i can delete them...
Another reason, is - reclaiming space.

@DonJayamanne DonJayamanne changed the title Where are modules db stored Where are module dbs stored Jun 17, 2019
@jakebailey
Copy link
Member

jakebailey commented Jun 17, 2019

On Windows: "%LOCALAPPDATA%\Microsoft\Python Language Server" (which is Environment.SpecialFolder.LocalApplicationData)

On Linux: "$XDG_CACHE_HOME/Microsoft/Python Language Server", or if XDG_CACHE_HOME is not set, "$HOME/.cache/Microsoft/Python Language Server"

On macOS: "$HOME/Library/Caches/Microsoft/Python Language Server"

And if all else fails, Environment.SpecialFolder.LocalApplicationData provided by dotnet's libs.

But this needs to be documented somewhere, yes.

@DonJayamanne
Copy link
Author

But this needs to be documented somewhere, yes.

Yes

@MikhailArkhipov
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants