diff --git a/schemas/vtsls.json b/schemas/vtsls.json index a005e22..84ed036 100644 --- a/schemas/vtsls.json +++ b/schemas/vtsls.json @@ -99,13 +99,13 @@ }, "javascript.implicitProjectConfig.checkJs": { "default": false, - "markdownDeprecationMessage": "%configuration.javascript.checkJs.checkJs.deprecation%", + "markdownDeprecationMessage": "This setting has been deprecated in favor of `js/ts.implicitProjectConfig.checkJs`.", "markdownDescription": "Enable/disable semantic checking of JavaScript files. Existing `jsconfig.json` or `tsconfig.json` files override this setting.", "type": "boolean" }, "javascript.implicitProjectConfig.experimentalDecorators": { "default": false, - "markdownDeprecationMessage": "%configuration.javascript.checkJs.experimentalDecorators.deprecation%", + "markdownDeprecationMessage": "This setting has been deprecated in favor of `js/ts.implicitProjectConfig.experimentalDecorators`.", "markdownDescription": "Enable/disable `experimentalDecorators` in JavaScript files that are not part of a project. Existing `jsconfig.json` or `tsconfig.json` files override this setting.", "type": "boolean" }, @@ -231,7 +231,7 @@ null, null, null, - "%typescript.preferences.importModuleSpecifierEnding.label.js%" + ".js / .ts" ], "markdownEnumDescriptions": [ "Use project settings to select a default.", @@ -278,7 +278,7 @@ }, "javascript.preferences.renameShorthandProperties": { "default": true, - "deprecationMessage": "%typescript.preferences.renameShorthandProperties.deprecationMessage%", + "deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'", "description": "Enable/disable introducing aliases for object shorthand properties during renames.", "type": "boolean" }, @@ -440,11 +440,6 @@ "markdownDescription": "Disables [automatic type acquisition](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition). Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.", "type": "boolean" }, - "typescript.experimental.tsserver.web.typeAcquisition.enabled": { - "default": false, - "description": "Enable/disable package acquisition on the web.", - "type": "boolean" - }, "typescript.format.enable": { "default": true, "description": "Enable/disable default TypeScript formatter.", @@ -717,7 +712,7 @@ null, null, null, - "%typescript.preferences.importModuleSpecifierEnding.label.js%" + ".js / .ts" ], "markdownEnumDescriptions": [ "Use project settings to select a default.", @@ -784,7 +779,7 @@ }, "typescript.preferences.renameShorthandProperties": { "default": true, - "deprecationMessage": "%typescript.preferences.renameShorthandProperties.deprecationMessage%", + "deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'", "description": "Enable/disable introducing aliases for object shorthand properties during renames.", "type": "boolean" }, @@ -877,11 +872,6 @@ "description": "(Experimental) Enables project wide error reporting.", "type": "boolean" }, - "typescript.tsserver.experimental.useVsCodeWatcher": { - "default": false, - "description": "Use VS Code's file watchers instead of TypeScript's. Requires using TypeScript 5.4+ in the workspace.", - "type": "boolean" - }, "typescript.tsserver.log": { "default": "off", "description": "Enables logging of the TS server to a file. This log can be used to diagnose TS Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project.", @@ -914,7 +904,7 @@ "typescript.tsserver.useSeparateSyntaxServer": { "default": true, "description": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols.", - "markdownDeprecationMessage": "%configuration.tsserver.useSeparateSyntaxServer.deprecation%", + "markdownDeprecationMessage": "This setting has been deprecated in favor of `typescript.tsserver.useSyntaxServer`.", "type": "boolean" }, "typescript.tsserver.useSyntaxServer": { @@ -1001,7 +991,12 @@ }, "typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors": { "default": true, - "description": "Suppresses semantic errors. This is needed when using external packages as these can't be included analyzed on web.", + "description": "Suppresses semantic errors on web even when project wide IntelliSense is enabled. This is always on when project wide IntelliSense is not enabled or available. See `#typescript.tsserver.web.projectWideIntellisense.enabled#`", + "type": "boolean" + }, + "typescript.tsserver.web.typeAcquisition.enabled": { + "default": false, + "description": "Enable/disable package acquisition on the web. This enables IntelliSense for imported packages. Requires `#typescript.tsserver.web.projectWideIntellisense.enabled#`. Currently not supported for Safari.", "type": "boolean" }, "typescript.updateImportsOnFileMove.enabled": { diff --git a/types/lsp.lua b/types/lsp.lua index d32d292..b22a43b 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -11042,19 +11042,6 @@ -- ``` ---@field npmIsInstalled boolean ----@class _.lspconfig.settings.vtsls.TypeAcquisition --- Enable/disable package acquisition on the web. ----@field enabled boolean - ----@class _.lspconfig.settings.vtsls.Web ----@field typeAcquisition _.lspconfig.settings.vtsls.TypeAcquisition - ----@class _.lspconfig.settings.vtsls.Tsserver ----@field web _.lspconfig.settings.vtsls.Web - ----@class _.lspconfig.settings.vtsls.Experimental ----@field tsserver _.lspconfig.settings.vtsls.Tsserver - ---@class _.lspconfig.settings.vtsls.Format -- Enable/disable default TypeScript formatter. -- @@ -11364,8 +11351,6 @@ ---@class _.lspconfig.settings.vtsls.Experimental -- (Experimental) Enables project wide error reporting. ---@field enableProjectDiagnostics boolean --- Use VS Code's file watchers instead of TypeScript's. Requires using TypeScript 5.4+ in the workspace. ----@field useVsCodeWatcher boolean -- Configure which watching strategies should be used to keep track of files and directories. ---@class _.lspconfig.settings.vtsls.WatchOptions @@ -11393,15 +11378,20 @@ -- default = true -- ``` ---@field enabled boolean --- Suppresses semantic errors. This is needed when using external packages as these can't be included analyzed on web. +-- Suppresses semantic errors on web even when project wide IntelliSense is enabled. This is always on when project wide IntelliSense is not enabled or available. See `#typescript.tsserver.web.projectWideIntellisense.enabled#` -- -- ```lua -- default = true -- ``` ---@field suppressSemanticErrors boolean +---@class _.lspconfig.settings.vtsls.TypeAcquisition +-- Enable/disable package acquisition on the web. This enables IntelliSense for imported packages. Requires `#typescript.tsserver.web.projectWideIntellisense.enabled#`. Currently not supported for Safari. +---@field enabled boolean + ---@class _.lspconfig.settings.vtsls.Web ---@field projectWideIntellisense _.lspconfig.settings.vtsls.ProjectWideIntellisense +---@field typeAcquisition _.lspconfig.settings.vtsls.TypeAcquisition ---@class _.lspconfig.settings.vtsls.Tsserver -- Enables tracing TS server performance to a directory. These trace files can be used to diagnose TS Server performance issues. The log may contain file paths, source code, and other potentially sensitive information from your project. @@ -11477,7 +11467,6 @@ ---@field check _.lspconfig.settings.vtsls.Check -- Disables [automatic type acquisition](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition). Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries. ---@field disableAutomaticTypeAcquisition boolean ----@field experimental _.lspconfig.settings.vtsls.Experimental ---@field format _.lspconfig.settings.vtsls.Format ---@field implementationsCodeLens _.lspconfig.settings.vtsls.ImplementationsCodeLens ---@field inlayHints _.lspconfig.settings.vtsls.InlayHints