You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,3 +76,20 @@ An example usage:
76
76
```python
77
77
from python import language_server # noqa will suppress the linting message for this line
78
78
```
79
+
80
+
## Cache location
81
+
82
+
During analysis language server produces Python code from compiled modules and builtins which is similar to Python module stubs.
83
+
It may also produce database files holding module analysis for faster retrieval later. Cache location is at
84
+
85
+
**Windows**
86
+
87
+
`"%LOCALAPPDATA%\Microsoft\Python Language Server"` (which is `Environment.SpecialFolder.LocalApplicationData`). Typically `"C:\Users\\%USER_NAME%\AppData\Local\Microsoft\Python Language Server"`
88
+
89
+
**Linux**
90
+
91
+
`"$XDG_CACHE_HOME/Microsoft/Python Language Server"`, or if `XDG_CACHE_HOME` is not set, `"$HOME/.cache/Microsoft/Python Language Server"`
92
+
93
+
**macOS**
94
+
95
+
`"$HOME/Library/Caches/Microsoft/Python Language Server"`
0 commit comments