Ostatnio aktywny 3 months ago

Kate LSP

Rewizja 8c83262e6a06ec48d8512f37195230d982380812

settings.json Surowy
1{
2 "servers": {
3 "bash": {
4 "command": [
5 "bash-language-server",
6 "start"
7 ],
8 "root": "",
9 "url": "https://github.com/bash-lsp/bash-language-server",
10 "highlightingModeRegex": "^Bash$"
11 },
12 "c": {
13 "command": [
14 "clangd",
15 "-log=error",
16 "--background-index",
17 "--limit-results=500",
18 "--completion-style=bundled"
19 ],
20 "commandDebug": [
21 "clangd",
22 "-log=verbose",
23 "--background-index"
24 ],
25 "url": "https://clangd.llvm.org",
26 "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$"
27 },
28 "css": {
29 "command": [
30 "vscode-css-languageserver",
31 "--stdio"
32 ],
33 "url": "https://github.com/Microsoft/vscode/tree/main/extensions/css-language-features/server",
34 "highlightingModeRegex": "^CSS$"
35 },
36 "cpp": {
37 "use": "c",
38 "highlightingModeRegex": "^(C\\+\\+|ISO C\\+\\+|Objective-C\\+\\+)$"
39 },
40 "docker": {
41 "command": [
42 "docker-langserver",
43 "--stdio"
44 ],
45 "url": "https://github.com/rcjsuen/dockerfile-language-server-nodejs",
46 "highlightingModeRegex": "^Dockerfile$"
47 },
48 "go": {
49 "command": [
50 "gopls"
51 ],
52 "commandDebug": [
53 "gopls",
54 "serve",
55 "-rpc.trace"
56 ],
57 "path": [
58 "%{ENV:GOPATH}/bin",
59 "%{ENV:HOME}/go/bin",
60 "%{ENV:USERPROFILE}/go/bin"
61 ],
62 "rootIndicationFileNames": [
63 "go.mod"
64 ],
65 "url": "golang.org/x/tools/gopls",
66 "highlightingModeRegex": "^Go$"
67 },
68 "html": {
69 "command": [
70 "vscode-html-languageserver",
71 "--stdio"
72 ],
73 "url": "https://github.com/Microsoft/vscode/tree/main/extensions/html-language-features/server",
74 "highlightingModeRegex": "^HTML$"
75 },
76 "java": {
77 "command": [
78 "jdtls"
79 ],
80 "url": "https://github.com/eclipse-jdtls/eclipse.jdt.ls",
81 "highlightingModeRegex": "^Java$"
82 },
83 "javascript": {
84 "command": [
85 "typescript-language-server",
86 "--stdio"
87 ],
88 "rootIndicationFileNames": [
89 "package.json",
90 "package-lock.json"
91 ],
92 "url": "https://github.com/typescript-language-server/typescript-language-server",
93 "highlightingModeRegex": "^JavaScript$"
94 },
95 "javascriptreact": {
96 "use": "javascript",
97 "highlightingModeRegex": "^JavaScript React.*$"
98 },
99 "json": {
100 "command": [
101 "vscode-json-languageserver",
102 "--stdio"
103 ],
104 "url": "https://github.com/microsoft/vscode/tree/main/extensions/json-language-features/server",
105 "highlightingModeRegex": "^JSON$"
106 },
107 "julia": {
108 "command": [
109 "julia",
110 "-e",
111 "using LanguageServer; runserver();"
112 ],
113 "root": ".",
114 "path": [
115 "%{ENV:HOME}/.juliaup/bin"
116 ],
117 "url": "https://github.com/julia-vscode/LanguageServer.jl",
118 "highlightingModeRegex": "^Julia$"
119 },
120 "latex": {
121 "command": [
122 "texlab"
123 ],
124 "url": "https://texlab.netlify.com/",
125 "highlightingModeRegex": "^LaTeX$"
126 },
127 "less": {
128 "use": "css",
129 "highlightingModeRegex": "^LESSCSS$"
130 },
131 "lua": {
132 "command": [
133 "lua-language-server"
134 ],
135 "url": "https://github.com/sumneko/lua-language-server",
136 "highlightingModeRegex": "^Lua$"
137 },
138 "perl": {
139 "command": [
140 "perl",
141 "-MPerl::LanguageServer",
142 "-e",
143 "Perl::LanguageServer::run",
144 "--"
145 ],
146 "commandDebug": [
147 "perl",
148 "-MPerl::LanguageServer",
149 "-e",
150 "Perl::LanguageServer::run",
151 "--",
152 "--debug"
153 ],
154 "url": "https://github.com/richterger/Perl-LanguageServer",
155 "highlightingModeRegex": "^Perl$"
156 },
157 "php": {
158 "command": [
159 "phpactor",
160 "language-server"
161 ],
162 "commandDebug": [
163 "phpactor",
164 "language-server",
165 "-vvv"
166 ],
167 "root": ".",
168 "url": "https://github.com/phpactor/phpactor",
169 "highlightingModeRegex": "^PHP \\(HTML\\)$"
170 },
171 "python": {
172 "command": [
173 "pylsp",
174 "--check-parent-process"
175 ],
176 "url": "https://github.com/python-lsp/python-lsp-server",
177 "highlightingModeRegex": "^Python$"
178 },
179 "rpmspec": {
180 "command": [
181 "rpm_lsp_server",
182 "--stdio"
183 ],
184 "url": "https://github.com/dcermak/rpm-spec-language-server",
185 "highlightingModeRegex": "^RPM Spec$"
186 },
187 "ruby": {
188 "command": [
189 "solargraph",
190 "stdio"
191 ],
192 "rootIndicationFileNames": [
193 "Gemfile",
194 "Gemfile.lock",
195 "gems.rb",
196 "gems.lock",
197 "Rakefile"
198 ],
199 "url": "https://solargraph.org",
200 "highlightingModeRegex": "^Ruby$"
201 },
202 "rust": {
203 "command": [
204 "rust-analyzer"
205 ],
206 "path": [
207 "%{ENV:CARGO_HOME}/bin",
208 "%{ENV:HOME}/.cargo/bin",
209 "%{ENV:USERPROFILE}/.cargo/bin"
210 ],
211 "url": "https://rust-analyzer.github.io",
212 "useWorkspace": true,
213 "rootIndicationFileNames": [
214 "Cargo.lock",
215 "Cargo.toml"
216 ],
217 "highlightingModeRegex": "^Rust$"
218 },
219 "scss": {
220 "use": "css",
221 "highlightingModeRegex": "^SCSS$"
222 },
223 "typescript": {
224 "use": "javascript",
225 "highlightingModeRegex": "^TypeScript$"
226 },
227 "typescriptreact": {
228 "use": "javascript",
229 "highlightingModeRegex": "^TypeScript React.*$"
230 },
231 "vue": {
232 "command": [
233 "vue-language-server",
234 "--stdio"
235 ],
236 "rootIndicationFileNames": [
237 "package.json",
238 "package-lock.json"
239 ],
240 "url": "https://www.npmjs.com/package/@vue/language-server",
241 "highlightingModeRegex": "^Vue.*$",
242 "initializationOptions": {
243 "typescript": {
244 "tsdk": "./node_modules/typescript/lib"
245 },
246 "vue": {
247 "hybridMode": false
248 }
249 }
250 },
251 "xml": {
252 "command": [
253 "lemminx"
254 ],
255 "url": "https://github.com/redhat-developer/vscode-xml#lemminx-binary",
256 "highlightingModeRegex": "^XML$"
257 },
258 "yaml": {
259 "command": [
260 "yaml-language-server",
261 "--stdio"
262 ],
263 "url": "https://github.com/redhat-developer/yaml-language-server",
264 "highlightingModeRegex": "^YAML$"
265 },
266 "zig": {
267 "command": [
268 "zls"
269 ],
270 "url": "https://github.com/zigtools/zls",
271 "highlightingModeRegex": "^Zig$"
272 }
273 }
274}
275