|
5 | 5 | "command": [
|
6 | 6 | "$server_path"
|
7 | 7 | ],
|
8 |
| - |
9 | 8 | // the python interpreter to use for installing and running
|
10 | 9 | // the pyvoice language server. it should be 3.8 and above
|
11 | 10 | // pypy may also work. If null, the plug-in will try to
|
12 | 11 | // automatically pick a suitable interpreter
|
13 | 12 | "python_binary": null,
|
14 |
| - |
15 | 13 | // environment variables to set when running the language server
|
16 | 14 | "env": {},
|
17 |
| - |
18 | 15 | // set the log level for the CLIENT SIDE code of the plugin
|
19 | 16 | // for example these will produce logs concerning
|
20 | 17 | // - the interprocess communication with the programming
|
|
28 | 25 | // - any errors detected during semantic analysis
|
29 | 26 | // - metadata about the hints that it generates
|
30 | 27 | // etc..
|
31 |
| - "log_level":"warning", |
32 |
| - |
| 28 | + "log_level": "warning", |
33 | 29 | // selectors to match the files that the language server
|
34 | 30 | // is responsible for
|
35 | 31 | "selector": "source.python",
|
36 |
| - // ST3 |
37 |
| - "languages": [ |
38 |
| - { |
39 |
| - "languageId": "python", |
40 |
| - "scopes": [ |
41 |
| - "source.python" |
42 |
| - ], |
43 |
| - "syntaxes": [ |
44 |
| - "Packages/Python/Python.sublime-syntax" |
45 |
| - ], |
46 |
| - } |
47 |
| - ], |
48 |
| - |
49 |
| - |
50 | 32 | // a set of settings/config that will be sent to the language server
|
51 | 33 | // via workspace/didChangeConfiguration notification
|
52 | 34 | // or retrieved by the workspace/configuration server side request.
|
53 | 35 | // these allow you to customize how pyvoice processes each of your projects
|
54 |
| - |
55 | 36 | "settings": {
|
56 | 37 | // Project settings used for configuring jedi Project
|
57 |
| - |
58 | 38 | // The base path where your python project is located.
|
59 | 39 | // Like all paths in this settings file it can be either
|
60 | 40 | // absolute or relative to the path of the sublime project.
|
|
64 | 44 | // containing your python code.for example:
|
65 | 45 | // "project.path": "backend"
|
66 | 46 | "project.path": ".",
|
67 |
| - |
68 | 47 | // The path to the virtual environment for this project
|
69 | 48 | // again either absolute or relative to the sublime folder.
|
70 | 49 | // (NOT the project.path setting above)
|
|
89 | 68 | // However, it is still a good idea to only point this setting
|
90 | 69 | // to environments that you trust.
|
91 | 70 | "project.environmentPath": null,
|
92 |
| - |
93 | 71 | // A list of paths to override the sys path if needed.
|
94 | 72 | // Leave this null to generate sys.path from the environment.
|
95 | 73 | // WARNING: This will COMPLETELY override the sys.path
|
96 | 74 | // generated from the environment.
|
97 | 75 | "project.sysPath": null,
|
98 |
| - |
99 | 76 | // Adds these paths at the end of the sys path.
|
100 | 77 | "project.addedSysPath": [],
|
101 |
| - |
102 | 78 | // If enabled (default), adds paths from local directories.
|
103 | 79 | // Otherwise, you will have to rely on your packages being properly configured on the sys.path.
|
104 | 80 | "project.smartSysPath": true,
|
105 |
| - |
106 |
| - |
107 |
| - |
108 | 81 | // Hints.Imports settings
|
109 |
| - |
110 |
| - |
111 | 82 | // Enable or disable the generation of stdlib imports.
|
112 | 83 | "hints.imports.stdlib.enabled": true,
|
113 |
| - |
114 |
| - |
115 | 84 | // Enable or disable the generation of third-party imports.
|
116 | 85 | // Pyvoice will try to automatically discover the dependencies
|
117 | 86 | // of your project and is going
|
|
126 | 95 | // NOTE: By default hints would be generated ONLY for your top level dependencies
|
127 | 96 | // aka distributions that you directly depend on, not transiet dependencies.
|
128 | 97 | "hints.imports.thirdParty.enabled": true,
|
129 |
| - |
130 | 98 | // A list of third-party distributions to include modules from.
|
131 | 99 | "hints.imports.thirdParty.includeDists": [],
|
132 |
| - |
133 | 100 | // A list of third-party distributions to exclude.
|
134 | 101 | "hints.imports.thirdParty.excludeDists": [],
|
135 |
| - |
136 |
| - |
137 |
| - |
138 | 102 | // Enable or disable the generation of project imports.
|
139 | 103 | // This generator is going to scan your project folders
|
140 | 104 | // recursively for pure python modules and generate hints for them.
|
|
147 | 111 | // a set of packages/module names to folders containg their respective
|
148 | 112 | // respective code is not supported to yet
|
149 | 113 | "hints.imports.project.enabled": true,
|
150 |
| - |
151 | 114 | // Enable or disable the generation of import hints for symbols
|
152 | 115 | // So far, all of the imports hints generators are targeting modules
|
153 | 116 | // However, there are cases where symbols like functions or classes
|
|
163 | 126 | // The explicit symbols generator allows you to define a
|
164 | 127 | // list of modules that you want to generate hints for their symbols
|
165 | 128 | "hints.imports.explicitSymbols.enabled": true,
|
166 |
| - |
167 | 129 | // A list of modules to generate hints hints for their defined symbols.
|
168 |
| - "hints.imports.explicitSymbols.modules": ["typing"], |
169 |
| - |
170 |
| - |
171 |
| - |
| 130 | + "hints.imports.explicitSymbols.modules": [ |
| 131 | + "typing" |
| 132 | + ], |
172 | 133 | // Hints.Expressions settings
|
173 |
| - |
174 |
| - |
175 | 134 | // Enable or disable the generation of hints hints for local scope.
|
176 | 135 | "hints.expressions.locals.enabled": true,
|
177 | 136 | // Hints from param names of the signatures of local scope variables.
|
178 | 137 | "hints.expressions.locals.signature": true,
|
179 |
| - |
180 |
| - |
181 | 138 | // Enable or disable the generation of hints hints for non-local scope.
|
182 | 139 | "hints.expressions.nonlocals.enabled": true,
|
183 | 140 | // Hints from param names of the signatures of non-local scope variables.
|
184 | 141 | "hints.expressions.nonlocals.signature": true,
|
185 |
| - |
186 |
| - |
187 | 142 | // Enable or disable the generation of hints hints for global scope.
|
188 | 143 | "hints.expressions.globals.enabled": true,
|
189 | 144 | // Hints from param names of the signatures of global scope variables.
|
190 | 145 | "hints.expressions.globals.signature": true,
|
191 |
| - |
192 |
| - |
193 | 146 | // Enable or disable the generation of hints hints for built-in scope.
|
194 | 147 | "hints.expressions.builtins.enabled": true,
|
195 | 148 | // Hints from param names of the signatures of built-in scope variables.
|
196 | 149 | "hints.expressions.builtins.signature": true,
|
197 |
| - |
198 |
| - |
199 | 150 | // An upper bound on the number of expressions to generate.
|
200 | 151 | "hints.expressions.limit": 2000,
|
201 |
| - |
202 |
| - |
203 |
| - |
204 | 152 | // Logging settings
|
205 | 153 | // Set the logging level for the pyvoice executable.
|
206 | 154 | "logging.level": "INFO"
|
|
0 commit comments