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
SPL2 notebooks download/use the latest SPL2 language server by default (#115)
* Enable SPL2 notebooks to download/use the latest SPL2 language server by default.
Also scope machine-specific installation settings (e.g. local paths) to only be tracked per-machine as opposed to across all users' machines.
* Adding version to logs
* Revert to latest LSP version as backup value
Copy file name to clipboardexpand all lines: package.json
+10-3
Original file line number
Diff line number
Diff line change
@@ -191,24 +191,31 @@
191
191
},
192
192
"splunk.spl2.javaPath": {
193
193
"type": "string",
194
-
"scope": "resource",
194
+
"scope": "machine",
195
195
"default": "",
196
196
"order": 11,
197
197
"description": "[SPL2] Java Path\nSpecify the full path to a Java executable (./java for Mac/Linux or java.exe for Windows). For example, the full path of $JAVA_HOME/bin/java."
198
198
},
199
199
"splunk.spl2.languageServerDirectory": {
200
200
"type": "string",
201
-
"scope": "resource",
201
+
"scope": "machine",
202
202
"default": "",
203
203
"order": 12,
204
204
"description": "[SPL2] Language Server Directory\nSpecify the full path of the directory containing SPL2 (Websockets) Langauge Server. Trailing slash not required. Example:\n/Users/<User>/Library/Application Support/Code/User/globalStorage/splunk.splunk/spl2/lsp"
205
205
},
206
206
"splunk.spl2.languageServerVersion": {
207
207
"type": "string",
208
-
"scope": "resource",
208
+
"scope": "machine",
209
209
"default": "",
210
210
"order": 13,
211
211
"description": "[SPL2] Language Server Version\nSpecify the version of the SPL2 language server which will be used to create the path to invoke the server. Example, a value of '2.0.362' will invoke spl-lang-server-sockets-2.0.362-all.jar"
212
+
},
213
+
"splunk.spl2.downloadLatestSPL2": {
214
+
"type": "boolean",
215
+
"scope": "machine",
216
+
"default": true,
217
+
"order": 14,
218
+
"description": "[SPL2] Automatically update to the latest version of the SPL2 language server."
0 commit comments