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
initialize: Add LSP initializationOptions support (#350)
Add support for static initialization options that are set once during
server startup and require a restart to take effect. This differs from
dynamic configuration managed by `ConfigManager`.
Currently supports `n_analysis_workers` option for configuring the number
of concurrent analysis worker tasks. Due to current architecture
constraints around package environment switching and world age
management, parallelization is limited to the signature analysis phase.
Also updates `jetls-client` and documentation accordingly.
Written by Claude
Copy file name to clipboardExpand all lines: jetls-client/package.json
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,21 @@
104
104
"markdownDescription": "Port number for socket communication (`0` = auto-assign). Only used when `'socket'` communication channel is used.",
105
105
"order": 3
106
106
},
107
+
"jetls-client.initializationOptions": {
108
+
"scope": "resource",
109
+
"type": "object",
110
+
"default": {},
111
+
"markdownDescription": "Static initialization options sent to JETLS during startup. These settings require a server restart to take effect.",
112
+
"properties": {
113
+
"n_analysis_workers": {
114
+
"type": "integer",
115
+
"default": 1,
116
+
"minimum": 1,
117
+
"markdownDescription": "Number of analysis worker tasks. Default is `1`. See [documentation](https://aviatesk.github.io/JETLS.jl/dev/launching/#init-options/n_analysis_workers) for details and current limitations."
0 commit comments