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
feat(lsp): per-server codeIntelligence.* pref gates and showParameterHints pref
- new showParameterHints pref (default true) gating the parameter hint
popup for implicit and explicit invocation, dismissing a visible popup
the moment it flips off
- every language server now has a codeIntelligence.<serverId> off-switch:
LSPClient gates registerLanguageServer on it and auto-defines the pref
for plugin-supplied servers so they get a discoverable toggle for free
- runtime toggling handled centrally in LSPClient: pref off stops the
server process (fallback linters take over), pref on restarts in place;
restartLanguageServer/changeWorkspaceRoot/crash auto-restart guarded so
a disabled server can never resurrect
- new typescript/json master prefs; php/python prefs renamed to the new
codeIntelligence.* family (dev-only, no aliases needed)
- pref-off stop no longer logged as a crash (serverExit race with the
_stopping flag)
- specs: LSPClient gate + auto-define, stop/block-resurrection/restart,
showParameterHints gating, json toggle round-trip
Copy file name to clipboardExpand all lines: src/nls/root/strings.js
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1692,6 +1692,7 @@ define({
1692
1692
"DESCRIPTION_MOUSE_WHEEL_SCROLL_SENSITIVITY": "Multiplier for mouse wheel scroll speed (0.1 to 10, default 1). Adjust if scrolling feels too slow or fast.",
1693
1693
"DESCRIPTION_SHOW_CODE_HINTS": "false to disable all code hints",
1694
1694
"DESCRIPTION_SHOW_CODE_HINT_DOCS": "false to hide the documentation popup shown beside code hints",
1695
+
"DESCRIPTION_SHOW_PARAMETER_HINTS": "false to disable the parameter hint popup shown when typing inside a function call",
1695
1696
"DESCRIPTION_SHOW_CURSOR_WHEN_SELECTING": "Keeps the blinking cursor visible when you have a text selection",
1696
1697
"DESCRIPTION_SHOW_LINE_NUMBERS": "true to show line numbers in a “gutter” to the left of the code",
1697
1698
"DESCRIPTION_RULERS_COLUMNS": "An array of column numbers to draw vertical rulers in the editor. Eg: [80, 100]",
@@ -1828,6 +1829,10 @@ define({
1828
1829
"PYTHON_INSTALL_STOP": "Stop setting up Python support ({APP_NAME} will try again on the next launch)",
1829
1830
"PYTHON_INSTALL_WAITING_NETWORK": "Waiting for an internet connection to set up Python support…",
1830
1831
"DESCRIPTION_PYTHON_CODE_INTELLIGENCE": "false to disable Python code intelligence (Pyrefly). Setting it back to true downloads the language server again automatically.",
1832
+
// Language server on/off switches (LSPClient and the built-in language support extensions)
1833
+
"DESCRIPTION_TYPESCRIPT_CODE_INTELLIGENCE": "false to disable JavaScript/TypeScript code intelligence (completion, hover docs, jump to definition, diagnostics)",
1834
+
"DESCRIPTION_JSON_CODE_INTELLIGENCE": "false to disable JSON code intelligence (schema based completion, hover docs and validation)",
1835
+
"DESCRIPTION_LSP_CODE_INTELLIGENCE": "false to disable the {0} language server",
0 commit comments