diff --git a/lua/settings/build.lua b/lua/settings/build.lua index 5d442d5..e05c843 100644 --- a/lua/settings/build.lua +++ b/lua/settings/build.lua @@ -5,7 +5,7 @@ local M = {} ---@param schema LspSchema function M.get_schema(schema) - local json = util.json_decode(util.fetch(schema.settings_url or schema.package_url)) or {} + local json = util.json_decode(util.fetch(schema.package_url)) or {} local config = json.contributes and json.contributes.configuration or json.properties and json local properties = {} @@ -18,23 +18,8 @@ function M.get_schema(schema) properties = config.properties end - if schema.settings_prefix then - local props = {} - for key, value in pairs(properties) do - props[schema.settings_prefix .. key] = value - end - local function fixref(node) - if type(node) == "table" then - for k, v in pairs(node) do - if k == "$ref" then - node[k] = v:gsub("#/properties/", "#/properties/" .. schema.settings_prefix) - end - fixref(v) - end - end - return node - end - properties = fixref(props) + if schema.build then + schema.build(properties) end return { diff --git a/lua/settings/schema/init.lua b/lua/settings/schema/init.lua index 71afa3e..b481209 100644 --- a/lua/settings/schema/init.lua +++ b/lua/settings/schema/init.lua @@ -5,8 +5,32 @@ local M = {} --- @type table M.overrides = { sumneko_lua = { - settings_url = "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json", - settings_prefix = "Lua.", + build = function(props) + local lns = Util.json_decode( + Util.fetch("https://raw.githubusercontent.com/sumneko/vscode-lua/master/package.nls.json") + ) or {} + + local function translate(desc) + return lns[desc:gsub("%%", "")] or desc + end + + local function fixdoc(node) + if type(node) == "table" then + for k, v in pairs(node) do + if k == "description" or k == "markdownDescription" then + node[k] = translate(v) + end + if k == "markdownEnumDescriptions" then + for i, d in ipairs(v) do + v[i] = translate(d) + end + end + fixdoc(v) + end + end + end + fixdoc(props) + end, }, } diff --git a/lua/settings/types.lua b/lua/settings/types.lua index d55d1bf..3dbd22f 100644 --- a/lua/settings/types.lua +++ b/lua/settings/types.lua @@ -9,6 +9,5 @@ ---@class LspSchema ---@field package_url string url of the package.json of the LSP server ----@field settings_url string url of the settings json schema of the LSP server ---@field settings_file string file of the settings json schema of the LSP server ----@field settings_prefix string|nil +---@field build fun(props: table) diff --git a/schemas/astro.json b/schemas/astro.json index e6f9348..9db38b7 100644 --- a/schemas/astro.json +++ b/schemas/astro.json @@ -1 +1 @@ -{"properties": {"astro.typescript.rename.enabled": {"description": "Enable rename functionality for JS/TS variables inside Astro files", "type": "boolean", "default": true, "title": "TypeScript: Rename"}, "astro.format.indentFrontmatter": {"deprecationMessage": "The `astro.format` settings are deprecated. Formatting is now powered by Prettier and can be configured through a Prettier configuration file.", "description": "Indent the formatter by one level of indentation", "type": "boolean", "default": false, "title": "Formatting: Indent frontmatter"}, "astro.typescript.hover.enabled": {"description": "Enable hover info for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Hover Info"}, "astro.html.enabled": {"description": "Enable HTML features", "type": "boolean", "default": true, "title": "HTML"}, "astro.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "astro.html.completions.enabled": {"description": "Enable completions for HTML", "type": "boolean", "default": true, "title": "HTML: Completions"}, "astro.css.enabled": {"description": "Enable CSS features", "type": "boolean", "default": true, "title": "CSS"}, "astro.typescript.definitions.enabled": {"description": "Enable go to definition for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Go to Definition"}, "astro.typescript.signatureHelp.enabled": {"description": "Enable signature help (parameter hints) for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Signature Help"}, "astro.css.completions.emmet": {"description": "Enable Emmet completions for CSS", "type": "boolean", "default": true, "title": "CSS: Emmet Completions"}, "astro.css.documentSymbols.enabled": {"description": "Enable document symbols for CSS", "type": "boolean", "default": true, "title": "CSS: Symbols in Outline"}, "astro.css.hover.enabled": {"description": "Enable hover info for CSS", "type": "boolean", "default": true, "title": "CSS: Hover Info"}, "astro.html.hover.enabled": {"description": "Enable hover info for HTML", "type": "boolean", "default": true, "title": "HTML: Hover Info"}, "astro.typescript.codeActions.enabled": {"description": "Enable code actions for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Code Actions"}, "astro.typescript.enabled": {"description": "Enable TypeScript features", "type": "boolean", "default": true, "title": "TypeScript"}, "astro.typescript.diagnostics.enabled": {"description": "Enable diagnostic messages for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Diagnostics"}, "astro.typescript.completions.enabled": {"description": "Enable completions for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Completions"}, "astro.typescript.allowArbitraryAttributes": {"description": "Enable the usage of non-standard HTML attributes, such as the ones added by AlpineJS or petite-vue", "type": "boolean", "default": false, "title": "TypeScript: Allow arbitrary attributes on HTML elements"}, "astro.html.tagComplete.enabled": {"description": "Enable tag completion for HTML", "type": "boolean", "default": true, "title": "HTML: Tag Completion"}, "astro.typescript.semanticTokens.enabled": {"description": "Enable semantic tokens (used for semantic highlighting) for TypeScript.", "type": "boolean", "default": true, "title": "TypeScript: Semantic Tokens"}, "astro.language-server.ls-path": {"description": "Path to the language server executable. You won't need this in most cases, set this only when needing a specific version of the language server", "scope": "application", "type": "string", "title": "Language Server: Path"}, "astro.html.completions.emmet": {"description": "Enable Emmet completions for HTML", "type": "boolean", "default": true, "title": "HTML: Emmet Completions"}, "astro.css.documentColors.enabled": {"description": "Enable color picker for CSS", "type": "boolean", "default": true, "title": "CSS: Document Colors"}, "astro.format.newLineAfterFrontmatter": {"deprecationMessage": "The `astro.format` settings are deprecated. Formatting is now powered by Prettier and can be configured through a Prettier configuration file.", "description": "Add a line return between the frontmatter and the template", "type": "boolean", "default": true, "title": "Formatting: Add line return after the frontmatter"}, "astro.html.documentSymbols.enabled": {"description": "Enable document symbols for CSS", "type": "boolean", "default": true, "title": "HTML: Symbols in Outline"}, "astro.css.completions.enabled": {"description": "Enable completions for CSS", "type": "boolean", "default": true, "title": "CSS: Completions"}, "astro.language-server.runtime": {"description": "Path to the node executable used to execute the language server. You won't need this in most cases", "scope": "application", "type": "string", "title": "Language Server: Runtime"}, "astro.typescript.documentSymbols.enabled": {"description": "Enable document symbols for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Symbols in Outline"}}, "description": "Language support for Astro", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"astro.typescript.rename.enabled": {"description": "Enable rename functionality for JS/TS variables inside Astro files", "type": "boolean", "default": true, "title": "TypeScript: Rename"}, "astro.typescript.semanticTokens.enabled": {"description": "Enable semantic tokens (used for semantic highlighting) for TypeScript.", "type": "boolean", "default": true, "title": "TypeScript: Semantic Tokens"}, "astro.format.indentFrontmatter": {"deprecationMessage": "The `astro.format` settings are deprecated. Formatting is now powered by Prettier and can be configured through a Prettier configuration file.", "description": "Indent the formatter by one level of indentation", "type": "boolean", "default": false, "title": "Formatting: Indent frontmatter"}, "astro.typescript.hover.enabled": {"description": "Enable hover info for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Hover Info"}, "astro.typescript.documentSymbols.enabled": {"description": "Enable document symbols for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Symbols in Outline"}, "astro.html.enabled": {"description": "Enable HTML features", "type": "boolean", "default": true, "title": "HTML"}, "astro.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "astro.html.completions.enabled": {"description": "Enable completions for HTML", "type": "boolean", "default": true, "title": "HTML: Completions"}, "astro.css.enabled": {"description": "Enable CSS features", "type": "boolean", "default": true, "title": "CSS"}, "astro.typescript.signatureHelp.enabled": {"description": "Enable signature help (parameter hints) for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Signature Help"}, "astro.css.completions.emmet": {"description": "Enable Emmet completions for CSS", "type": "boolean", "default": true, "title": "CSS: Emmet Completions"}, "astro.css.documentSymbols.enabled": {"description": "Enable document symbols for CSS", "type": "boolean", "default": true, "title": "CSS: Symbols in Outline"}, "astro.css.hover.enabled": {"description": "Enable hover info for CSS", "type": "boolean", "default": true, "title": "CSS: Hover Info"}, "astro.typescript.codeActions.enabled": {"description": "Enable code actions for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Code Actions"}, "astro.typescript.enabled": {"description": "Enable TypeScript features", "type": "boolean", "default": true, "title": "TypeScript"}, "astro.html.tagComplete.enabled": {"description": "Enable tag completion for HTML", "type": "boolean", "default": true, "title": "HTML: Tag Completion"}, "astro.typescript.diagnostics.enabled": {"description": "Enable diagnostic messages for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Diagnostics"}, "astro.typescript.completions.enabled": {"description": "Enable completions for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Completions"}, "astro.typescript.allowArbitraryAttributes": {"description": "Enable the usage of non-standard HTML attributes, such as the ones added by AlpineJS or petite-vue", "type": "boolean", "default": false, "title": "TypeScript: Allow arbitrary attributes on HTML elements"}, "astro.format.newLineAfterFrontmatter": {"deprecationMessage": "The `astro.format` settings are deprecated. Formatting is now powered by Prettier and can be configured through a Prettier configuration file.", "description": "Add a line return between the frontmatter and the template", "type": "boolean", "default": true, "title": "Formatting: Add line return after the frontmatter"}, "astro.html.completions.emmet": {"description": "Enable Emmet completions for HTML", "type": "boolean", "default": true, "title": "HTML: Emmet Completions"}, "astro.language-server.ls-path": {"description": "Path to the language server executable. You won't need this in most cases, set this only when needing a specific version of the language server", "scope": "application", "type": "string", "title": "Language Server: Path"}, "astro.css.documentColors.enabled": {"description": "Enable color picker for CSS", "type": "boolean", "default": true, "title": "CSS: Document Colors"}, "astro.typescript.definitions.enabled": {"description": "Enable go to definition for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Go to Definition"}, "astro.html.documentSymbols.enabled": {"description": "Enable document symbols for CSS", "type": "boolean", "default": true, "title": "HTML: Symbols in Outline"}, "astro.css.completions.enabled": {"description": "Enable completions for CSS", "type": "boolean", "default": true, "title": "CSS: Completions"}, "astro.language-server.runtime": {"description": "Path to the node executable used to execute the language server. You won't need this in most cases", "scope": "application", "type": "string", "title": "Language Server: Runtime"}, "astro.html.hover.enabled": {"description": "Enable hover info for HTML", "type": "boolean", "default": true, "title": "HTML: Hover Info"}}, "description": "Language support for Astro", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/denols.json b/schemas/denols.json index 4388e03..3caa081 100644 --- a/schemas/denols.json +++ b/schemas/denols.json @@ -1 +1 @@ -{"properties": {"deno.importMap": {"examples": ["./import_map.json", "/path/to/import_map.json", "C:\\path\\to\\import_map.json"], "scope": "window", "type": "string", "markdownDescription": "The file path to an import map. This is the equivalent to using `--import-map` on the command line.\n\n[Import maps](https://deno.land/manual@v1.6.0/linking_to_external_code/import_maps) provide a way to \"relocate\" modules based on their specifiers. The path can either be relative to the workspace, or an absolute path.\n\n**Not recommended to be set globally.**", "default": null}, "deno.codeLens.testArgs": {"scope": "resource", "type": "array", "markdownDescription": "Additional arguments to use with the run test code lens. Defaults to `[ \"--allow-all\", \"--no-check\" ]`.", "default": ["--allow-all", "--no-check"], "items": {"type": "string"}}, "deno.suggest.completeFunctionCalls": {"scope": "window", "type": "boolean", "default": false}, "deno.codeLens.implementations": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Enables or disables the display of code lens information for implementations of items in the code.", "default": false}, "deno.codeLens.referencesAllFunctions": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Enables or disables the display of code lens information for all functions in the code.", "default": false}, "deno.suggest.imports.hosts": {"examples": {"https://deno.land": true}, "scope": "window", "type": "object", "markdownDescription": "Controls which hosts are enabled for import suggestions.", "default": {"https://deno.land": true, "https://crux.land": true, "https://x.nest.land": true}}, "deno.config": {"examples": ["./deno.jsonc", "/path/to/deno.jsonc", "C:\\path\\to\\deno.jsonc"], "scope": "window", "type": "string", "markdownDescription": "The file path to a configuration file. This is the equivalent to using `--config` on the command line. The path can be either be relative to the workspace, or an absolute path.\n\nIt is recommend you name it `deno.json` or `deno.jsonc`.\n\n**Not recommended to be set globally.**", "default": null}, "deno.unstable": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Controls if code will be type checked with Deno's unstable APIs. This is the equivalent to using `--unstable` on the command line.\n\n**Not recommended to be enabled globally.**", "default": false}, "deno.enable": {"examples": [true, false], "scope": "resource", "type": "boolean", "markdownDescription": "Controls if the Deno Language Server is enabled. When enabled, the extension will disable the built-in VSCode JavaScript and TypeScript language services, and will use the Deno Language Server instead.\n\nIf you want to enable only part of your workspace folder, consider using `deno.enablePaths` setting instead.\n\n**Not recommended to be enabled globally.**", "default": false}, "deno.suggest.imports.autoDiscover": {"scope": "window", "type": "boolean", "markdownDescription": "If enabled, when new hosts/origins are encountered that support import suggestions, you will be prompted to enable or disable it. Defaults to `true`.", "default": true}, "deno.codeLens.references": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Enables or disables the display of code lens information for references of items in the code.", "default": false}, "deno.cache": {"scope": "window", "type": "string", "markdownDescription": "A path to the cache directory for Deno. By default, the operating system's cache path plus `deno` is used, or the `DENO_DIR` environment variable, but if set, this path will be used instead.", "default": null}, "deno.codeLens.test": {"scope": "resource", "type": "boolean", "markdownDescription": "Enables or disables the display of code lenses that allow running of individual tests in the code.", "default": false}, "deno.internalDebug": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Determines if the internal debugging information for the Deno language server will be logged to the _Deno Language Server_ console.", "default": false}, "deno.path": {"examples": ["/usr/bin/deno", "C:\\Program Files\\deno\\deno.exe"], "scope": "window", "type": "string", "markdownDescription": "A path to the `deno` CLI executable. By default, the extension looks for `deno` in the `PATH`, but if set, will use the path specified instead.", "default": null}, "deno.suggest.paths": {"scope": "window", "type": "boolean", "default": true}, "deno.lint": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Controls if linting information will be provided by the Deno Language Server.\n\n**Not recommended to be enabled globally.**", "default": true}, "deno.suggest.names": {"scope": "window", "type": "boolean", "default": true}, "deno.enablePaths": {"examples": [["./worker"]], "scope": "resource", "type": "array", "markdownDescription": "Enables the Deno Language Server for specific paths, instead of for the whole workspace folder. This will disable the built in TypeScript/JavaScript language server for those paths.\n\nWhen a value is set, the value of `\"deno.enable\"` is ignored.\n\nThe workspace folder is used as the base for the supplied paths. If for example you have all your Deno code in `worker` path in your workspace, you can add an item with the value of `./worker`, and the Deno will only provide diagnostics for the files within `worker` or any of its sub paths.\n\n**Not recommended to be enabled in user settings.**", "default": [], "items": {"type": "string"}}, "deno.certificateStores": {"scope": "window", "type": "array", "markdownDescription": "A list of root certificate stores used to validate TLS certificates when fetching and caching remote resources. This overrides the `DENO_TLS_CA_STORE` environment variable if set.", "default": null, "items": {"type": "string"}}, "deno.testing.args": {"scope": "window", "type": "array", "markdownDescription": "Arguments to use when running tests via the Test Explorer. Defaults to `[ \"--allow-all\" ]`.", "default": ["--allow-all", "--no-check"], "items": {"type": "string"}}, "deno.unsafelyIgnoreCertificateErrors": {"scope": "window", "type": "array", "markdownDescription": "**DANGER** disables verification of TLS certificates for the hosts provided. There is likely a better way to deal with any errors than use this option. This is like using `--unsafely-ignore-certificate-errors` in the Deno CLI.", "default": null, "items": {"type": "string"}}, "deno.testing.enable": {"scope": "window", "type": "boolean", "markdownDescription": "Enable the testing API for the language server. When folder is Deno enabled, tests will be available in the Test Explorer view.", "default": true}, "deno.tlsCertificate": {"scope": "window", "type": "string", "markdownDescription": "A path to a PEM certificate to use as the certificate authority when validating TLS certificates when fetching and caching remote resources. This is like using `--cert` on the Deno CLI and overrides the `DENO_CERT` environment variable if set.", "default": null}, "deno.suggest.autoImports": {"scope": "window", "type": "boolean", "default": true}}, "description": "A language server client for Deno.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"deno.codeLens.testArgs": {"scope": "resource", "type": "array", "markdownDescription": "Additional arguments to use with the run test code lens. Defaults to `[ \"--allow-all\", \"--no-check\" ]`.", "default": ["--allow-all", "--no-check"], "items": {"type": "string"}}, "deno.suggest.completeFunctionCalls": {"scope": "window", "type": "boolean", "default": false}, "deno.codeLens.implementations": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Enables or disables the display of code lens information for implementations of items in the code.", "default": false}, "deno.codeLens.referencesAllFunctions": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Enables or disables the display of code lens information for all functions in the code.", "default": false}, "deno.testing.args": {"scope": "window", "type": "array", "markdownDescription": "Arguments to use when running tests via the Test Explorer. Defaults to `[ \"--allow-all\" ]`.", "default": ["--allow-all", "--no-check"], "items": {"type": "string"}}, "deno.config": {"examples": ["./deno.jsonc", "/path/to/deno.jsonc", "C:\\path\\to\\deno.jsonc"], "scope": "window", "type": "string", "markdownDescription": "The file path to a configuration file. This is the equivalent to using `--config` on the command line. The path can be either be relative to the workspace, or an absolute path.\n\nIt is recommend you name it `deno.json` or `deno.jsonc`.\n\n**Not recommended to be set globally.**", "default": null}, "deno.unstable": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Controls if code will be type checked with Deno's unstable APIs. This is the equivalent to using `--unstable` on the command line.\n\n**Not recommended to be enabled globally.**", "default": false}, "deno.enable": {"examples": [true, false], "scope": "resource", "type": "boolean", "markdownDescription": "Controls if the Deno Language Server is enabled. When enabled, the extension will disable the built-in VSCode JavaScript and TypeScript language services, and will use the Deno Language Server instead.\n\nIf you want to enable only part of your workspace folder, consider using `deno.enablePaths` setting instead.\n\n**Not recommended to be enabled globally.**", "default": false}, "deno.suggest.imports.autoDiscover": {"scope": "window", "type": "boolean", "markdownDescription": "If enabled, when new hosts/origins are encountered that support import suggestions, you will be prompted to enable or disable it. Defaults to `true`.", "default": true}, "deno.codeLens.references": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Enables or disables the display of code lens information for references of items in the code.", "default": false}, "deno.cache": {"scope": "window", "type": "string", "markdownDescription": "A path to the cache directory for Deno. By default, the operating system's cache path plus `deno` is used, or the `DENO_DIR` environment variable, but if set, this path will be used instead.", "default": null}, "deno.codeLens.test": {"scope": "resource", "type": "boolean", "markdownDescription": "Enables or disables the display of code lenses that allow running of individual tests in the code.", "default": false}, "deno.internalDebug": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Determines if the internal debugging information for the Deno language server will be logged to the _Deno Language Server_ console.", "default": false}, "deno.path": {"examples": ["/usr/bin/deno", "C:\\Program Files\\deno\\deno.exe"], "scope": "window", "type": "string", "markdownDescription": "A path to the `deno` CLI executable. By default, the extension looks for `deno` in the `PATH`, but if set, will use the path specified instead.", "default": null}, "deno.suggest.paths": {"scope": "window", "type": "boolean", "default": true}, "deno.lint": {"examples": [true, false], "scope": "window", "type": "boolean", "markdownDescription": "Controls if linting information will be provided by the Deno Language Server.\n\n**Not recommended to be enabled globally.**", "default": true}, "deno.suggest.names": {"scope": "window", "type": "boolean", "default": true}, "deno.suggest.imports.hosts": {"examples": {"https://deno.land": true}, "scope": "window", "type": "object", "markdownDescription": "Controls which hosts are enabled for import suggestions.", "default": {"https://deno.land": true, "https://crux.land": true, "https://x.nest.land": true}}, "deno.enablePaths": {"examples": [["./worker"]], "scope": "resource", "type": "array", "markdownDescription": "Enables the Deno Language Server for specific paths, instead of for the whole workspace folder. This will disable the built in TypeScript/JavaScript language server for those paths.\n\nWhen a value is set, the value of `\"deno.enable\"` is ignored.\n\nThe workspace folder is used as the base for the supplied paths. If for example you have all your Deno code in `worker` path in your workspace, you can add an item with the value of `./worker`, and the Deno will only provide diagnostics for the files within `worker` or any of its sub paths.\n\n**Not recommended to be enabled in user settings.**", "default": [], "items": {"type": "string"}}, "deno.certificateStores": {"scope": "window", "type": "array", "markdownDescription": "A list of root certificate stores used to validate TLS certificates when fetching and caching remote resources. This overrides the `DENO_TLS_CA_STORE` environment variable if set.", "default": null, "items": {"type": "string"}}, "deno.importMap": {"examples": ["./import_map.json", "/path/to/import_map.json", "C:\\path\\to\\import_map.json"], "scope": "window", "type": "string", "markdownDescription": "The file path to an import map. This is the equivalent to using `--import-map` on the command line.\n\n[Import maps](https://deno.land/manual@v1.6.0/linking_to_external_code/import_maps) provide a way to \"relocate\" modules based on their specifiers. The path can either be relative to the workspace, or an absolute path.\n\n**Not recommended to be set globally.**", "default": null}, "deno.unsafelyIgnoreCertificateErrors": {"scope": "window", "type": "array", "markdownDescription": "**DANGER** disables verification of TLS certificates for the hosts provided. There is likely a better way to deal with any errors than use this option. This is like using `--unsafely-ignore-certificate-errors` in the Deno CLI.", "default": null, "items": {"type": "string"}}, "deno.testing.enable": {"scope": "window", "type": "boolean", "markdownDescription": "Enable the testing API for the language server. When folder is Deno enabled, tests will be available in the Test Explorer view.", "default": true}, "deno.tlsCertificate": {"scope": "window", "type": "string", "markdownDescription": "A path to a PEM certificate to use as the certificate authority when validating TLS certificates when fetching and caching remote resources. This is like using `--cert` on the Deno CLI and overrides the `DENO_CERT` environment variable if set.", "default": null}, "deno.suggest.autoImports": {"scope": "window", "type": "boolean", "default": true}}, "description": "A language server client for Deno.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/elixirls.json b/schemas/elixirls.json index c42fac3..c631a77 100644 --- a/schemas/elixirls.json +++ b/schemas/elixirls.json @@ -1 +1 @@ -{"properties": {"elixirLS.mixEnv": {"minLength": 1, "description": "Mix environment to use for compilation", "scope": "resource", "type": "string", "default": "test"}, "elixirLS.trace.server": {"description": "Traces the communication between VS Code and the Elixir language server.", "enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}, "elixirLS.additionalWatchedExtensions": {"description": "Additional file types capable of triggering a build on change", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "elixirLS.fetchDeps": {"description": "Automatically fetch project dependencies when compiling", "scope": "resource", "type": "boolean", "default": false}, "elixirLS.dialyzerEnabled": {"description": "Run ElixirLS's rapid Dialyzer when code is saved", "scope": "resource", "type": "boolean", "default": true}, "elixirLS.suggestSpecs": {"description": "Suggest @spec annotations inline using Dialyzer's inferred success typings (Requires Dialyzer)", "scope": "resource", "type": "boolean", "default": true}, "elixirLS.enableTestLenses": {"description": "Show code lenses to run tests in terminal", "type": "boolean", "default": false}, "elixirLS.envVariables": {"minLength": 0, "description": "Environment variables to use for compilation", "scope": "resource", "type": "object"}, "elixirLS.mixTarget": {"minLength": 0, "description": "Mix target to use for compilation", "scope": "resource", "type": "string"}, "elixirLS.dialyzerFormat": {"description": "Formatter to use for Dialyzer warnings", "enum": ["dialyzer", "dialyxir_short", "dialyxir_long"], "scope": "resource", "type": "string", "default": "dialyxir_long", "markdownEnumDescriptions": ["Original Dialyzer format", "Same as `mix dialyzer --format short`", "Same as `mix dialyzer --format long`"]}, "elixirLS.dialyzerWarnOpts": {"description": "Dialyzer options to enable or disable warnings. See Dialyzer's documentation for options. Note that the \"race_conditions\" option is unsupported", "scope": "resource", "type": "array", "uniqueItems": true, "items": {"enum": ["error_handling", "extra_return", "missing_return", "no_behaviours", "no_contracts", "no_fail_call", "no_fun_app", "no_improper_lists", "no_match", "no_missing_calls", "no_opaque", "no_return", "no_undefined_callbacks", "no_unused", "underspecs", "unknown", "unmatched_returns", "overspecs", "specdiffs", "no_underspecs", "no_extra_return", "no_missing_return"], "type": "string"}, "default": []}, "elixirLS.signatureAfterComplete": {"description": "Show signature help after confirming autocomplete", "type": "boolean", "default": true}, "elixirLS.projectDir": {"minLength": 0, "description": "Subdirectory containing Mix project if not in the project root", "scope": "resource", "type": "string", "default": ""}}, "description": "Elixir support with debugger, autocomplete, and more. Powered by ElixirLS.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"elixirLS.mixEnv": {"minLength": 1, "description": "Mix environment to use for compilation", "scope": "resource", "type": "string", "default": "test"}, "elixirLS.envVariables": {"minLength": 0, "description": "Environment variables to use for compilation", "scope": "resource", "type": "object"}, "elixirLS.trace.server": {"description": "Traces the communication between VS Code and the Elixir language server.", "enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}, "elixirLS.mixTarget": {"minLength": 0, "description": "Mix target to use for compilation", "scope": "resource", "type": "string"}, "elixirLS.fetchDeps": {"description": "Automatically fetch project dependencies when compiling", "scope": "resource", "type": "boolean", "default": false}, "elixirLS.dialyzerEnabled": {"description": "Run ElixirLS's rapid Dialyzer when code is saved", "scope": "resource", "type": "boolean", "default": true}, "elixirLS.suggestSpecs": {"description": "Suggest @spec annotations inline using Dialyzer's inferred success typings (Requires Dialyzer)", "scope": "resource", "type": "boolean", "default": true}, "elixirLS.enableTestLenses": {"description": "Show code lenses to run tests in terminal", "type": "boolean", "default": false}, "elixirLS.projectDir": {"minLength": 0, "description": "Subdirectory containing Mix project if not in the project root", "scope": "resource", "type": "string", "default": ""}, "elixirLS.dialyzerFormat": {"description": "Formatter to use for Dialyzer warnings", "enum": ["dialyzer", "dialyxir_short", "dialyxir_long"], "scope": "resource", "type": "string", "default": "dialyxir_long", "markdownEnumDescriptions": ["Original Dialyzer format", "Same as `mix dialyzer --format short`", "Same as `mix dialyzer --format long`"]}, "elixirLS.signatureAfterComplete": {"description": "Show signature help after confirming autocomplete", "type": "boolean", "default": true}, "elixirLS.dialyzerWarnOpts": {"description": "Dialyzer options to enable or disable warnings. See Dialyzer's documentation for options. Note that the \"race_conditions\" option is unsupported", "scope": "resource", "type": "array", "uniqueItems": true, "items": {"enum": ["error_handling", "extra_return", "missing_return", "no_behaviours", "no_contracts", "no_fail_call", "no_fun_app", "no_improper_lists", "no_match", "no_missing_calls", "no_opaque", "no_return", "no_undefined_callbacks", "no_unused", "underspecs", "unknown", "unmatched_returns", "overspecs", "specdiffs", "no_underspecs", "no_extra_return", "no_missing_return"], "type": "string"}, "default": []}, "elixirLS.additionalWatchedExtensions": {"description": "Additional file types capable of triggering a build on change", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}}, "description": "Elixir support with debugger, autocomplete, and more. Powered by ElixirLS.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/elmls.json b/schemas/elmls.json index 1ce01fe..960097a 100644 --- a/schemas/elmls.json +++ b/schemas/elmls.json @@ -1 +1 @@ -{"properties": {"elmLS.disableElmLSDiagnostics": {"description": "Disable linting diagnostics from the language server.", "scope": "window", "type": "boolean", "default": false}, "elmLS.onlyUpdateDiagnosticsOnSave": {"description": "Only update compiler diagnostics on save, not on document change.", "scope": "window", "type": "boolean", "default": false}, "elmLS.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "elmLS.elmFormatPath": {"description": "The path to your elm-format executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}, "elmLS.elmPath": {"description": "The path to your elm executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}, "elmLS.elmTestRunner.showElmTestOutput": {"description": "Show output of elm-test as terminal task", "scope": "resource", "type": "boolean"}, "elmLS.skipInstallPackageConfirmation": {"description": "Skips confirmation for the Install Package code action.", "scope": "window", "type": "boolean", "default": false}, "elmLS.elmReviewDiagnostics": {"description": "Set severity or disable linting diagnostics for elm-review.", "enum": ["off", "warning", "error"], "scope": "window", "type": "string", "default": "off"}, "elmLS.elmReviewPath": {"description": "The path to your elm-review executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}, "elmLS.elmTestPath": {"description": "The path to your elm-test executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}}, "description": "Improving your Elm experience since 2019", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"elmLS.disableElmLSDiagnostics": {"description": "Disable linting diagnostics from the language server.", "scope": "window", "type": "boolean", "default": false}, "elmLS.onlyUpdateDiagnosticsOnSave": {"description": "Only update compiler diagnostics on save, not on document change.", "scope": "window", "type": "boolean", "default": false}, "elmLS.elmFormatPath": {"description": "The path to your elm-format executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}, "elmLS.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "elmLS.elmPath": {"description": "The path to your elm executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}, "elmLS.elmTestRunner.showElmTestOutput": {"description": "Show output of elm-test as terminal task", "scope": "resource", "type": "boolean"}, "elmLS.elmTestPath": {"description": "The path to your elm-test executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}, "elmLS.elmReviewDiagnostics": {"description": "Set severity or disable linting diagnostics for elm-review.", "enum": ["off", "warning", "error"], "scope": "window", "type": "string", "default": "off"}, "elmLS.elmReviewPath": {"description": "The path to your elm-review executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder.", "scope": "window", "type": "string", "default": ""}, "elmLS.skipInstallPackageConfirmation": {"description": "Skips confirmation for the Install Package code action.", "scope": "window", "type": "boolean", "default": false}}, "description": "Improving your Elm experience since 2019", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/eslint.json b/schemas/eslint.json index 67f002d..7d09ca0 100644 --- a/schemas/eslint.json +++ b/schemas/eslint.json @@ -1 +1 @@ -{"properties": {"eslint.nodeEnv": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "The value of `NODE_ENV` to use when running eslint tasks.", "default": null}, "eslint.probe": {"description": "An array of language ids for which the extension should probe if support is installed.", "scope": "resource", "type": "array", "default": ["javascript", "javascriptreact", "typescript", "typescriptreact", "html", "vue", "markdown"], "items": {"type": "string"}}, "eslint.codeActionsOnSave.mode": {"enum": ["all", "problems"], "scope": "resource", "type": "string", "markdownDescription": "Specifies the code action mode. Possible values are 'all' and 'problems'.", "enumDescriptions": ["Fixes all possible problems in the file. This option might take some time.", "Fixes only reported problems that have non-overlapping textual edits. This option runs a lot faster."], "default": "all"}, "eslint.onIgnoredFiles": {"description": "Whether ESLint should issue a warning on ignored files.", "enum": ["warn", "off"], "scope": "resource", "type": "string", "default": "off"}, "eslint.format.enable": {"description": "Enables ESLint as a formatter.", "scope": "resource", "type": "boolean", "default": false}, "eslint.execArgv": {"scope": "machine-overridable", "anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "markdownDescription": "Additional exec argv argument passed to the runtime. This can for example be used to control the maximum heap space using --max_old_space_size", "default": null}, "eslint.useESLintClass": {"description": "Since version 7 ESLint offers a new API call ESLint. Use it even if the old CLIEngine is available. From version 8 on forward on ESLint class is available.", "scope": "resource", "type": "boolean", "default": false}, "eslint.enable": {"description": "Controls whether eslint is enabled or not.", "scope": "resource", "type": "boolean", "default": true}, "eslint.runtime": {"scope": "machine-overridable", "type": ["string", "null"], "markdownDescription": "The location of the node binary to run ESLint under.", "default": null}, "eslint.codeAction.disableRuleComment": {"properties": {"location": {"description": "Configure the disable rule code action to insert the comment on the same line or a new line.", "enum": ["separateLine", "sameLine"], "type": "string", "default": "separateLine"}, "enable": {"description": "Show the disable code actions.", "type": "boolean", "default": true}, "commentStyle": {"definition": "The comment style to use when disabling a rule on a specific line.", "type": "string", "default": "line", "enum": ["line", "block"]}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Show disable lint rule in the quick fix menu.", "default": {"location": "separateLine", "enable": true, "commentStyle": "line"}}, "eslint.workingDirectories": {"scope": "resource", "type": "array", "markdownDescription": "Specifies how the working directories ESLint is using are computed. ESLint resolves configuration files (e.g. `eslintrc`, `.eslintignore`) relative to a working directory so it is important to configure this correctly.", "items": {"anyOf": [{"type": "string"}, {"properties": {"mode": {"enum": ["auto", "location"], "type": "string", "default": "location"}}, "required": ["mode"], "type": "object"}, {"properties": {"directory": {"description": "The working directory to use if a file's path starts with this directory.", "type": "string"}, "changeProcessCWD": {"description": "Whether the process's cwd should be changed as well.", "type": "boolean"}}, "deprecationMessage": "Use the new !cwd form.", "required": ["directory"], "type": "object"}, {"properties": {"directory": {"description": "The working directory to use if a file's path starts with this directory.", "type": "string"}, "!cwd": {"description": "Set to true if ESLint shouldn't change the working directory.", "type": "boolean"}}, "required": ["directory"], "type": "object"}, {"properties": {"pattern": {"description": "A glob pattern to match a working directory.", "type": "string"}, "!cwd": {"description": "Set to true if ESLint shouldn't change the working directory.", "type": "boolean"}}, "required": ["pattern"], "type": "object"}]}}, "eslint.lintTask.enable": {"description": "Controls whether a task for linting the whole workspace will be available.", "scope": "resource", "type": "boolean", "default": false}, "eslint.migration.2_x": {"description": "Whether ESlint should migrate auto fix on save settings.", "enum": ["off", "on"], "scope": "application", "type": "string", "default": "on"}, "eslint.trace.server": {"description": "Traces the communication between VSCode and the eslint linter service.", "scope": "window", "anyOf": [{"enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}, {"properties": {"format": {"enum": ["text", "json"], "type": "string", "default": "text"}, "verbosity": {"enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}}, "type": "object"}], "default": "off"}, "eslint.nodePath": {"scope": "machine-overridable", "type": ["string", "null"], "markdownDescription": "A path added to `NODE_PATH` when resolving the eslint module.", "default": null}, "eslint.codeAction.showDocumentation": {"properties": {"enable": {"description": "Show the documentation code actions.", "type": "boolean", "default": true}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Show open lint rule documentation web page in the quick fix menu.", "default": {"enable": true}}, "eslint.lintTask.options": {"scope": "resource", "type": "string", "markdownDescription": "Command line options applied when running the task for linting the whole workspace (see https://eslint.org/docs/user-guide/command-line-interface).", "default": "."}, "eslint.run": {"description": "Run the linter on save (onSave) or on type (onType)", "enum": ["onSave", "onType"], "scope": "resource", "type": "string", "default": "onType"}, "eslint.alwaysShowStatus": {"description": "Always show the ESlint status bar item.", "scope": "window", "type": "boolean", "default": false}, "eslint.autoFixOnSave": {"deprecationMessage": "The setting is deprecated. Use editor.codeActionsOnSave instead with a source.fixAll.eslint member.", "description": "Turns auto fix on save on or off.", "scope": "resource", "type": "boolean", "default": false}, "eslint.provideLintTask": {"deprecationMessage": "This option is deprecated. Use eslint.lintTask.enable instead.", "description": "Controls whether a task for linting the whole workspace will be available.", "scope": "resource", "type": "boolean", "default": false}, "eslint.notebooks.rules.customizations": {"description": "A special rules customization section for text cells in notebook documents.", "scope": "resource", "type": "array", "items": {"properties": {"rule": {"type": "string"}, "severity": {"enum": ["downgrade", "error", "info", "default", "upgrade", "warn", "off"], "type": "string"}}, "type": "object"}}, "eslint.packageManager": {"description": "The package manager you use to install node modules.", "enum": ["npm", "yarn", "pnpm"], "scope": "resource", "type": "string", "default": "npm"}, "eslint.rules.customizations": {"description": "Override the severity of one or more rules reported by this extension, regardless of the project's ESLint config. Use globs to apply default severities for multiple rules.", "scope": "resource", "type": "array", "items": {"properties": {"rule": {"type": "string"}, "severity": {"enum": ["downgrade", "error", "info", "default", "upgrade", "warn", "off"], "type": "string"}}, "type": "object"}}, "eslint.validate": {"description": "An array of language ids which should be validated by ESLint. If not installed ESLint will show an error.", "scope": "resource", "type": "array", "items": {"anyOf": [{"type": "string"}, {"properties": {"language": {"description": "The language id to be validated by ESLint.", "type": "string"}, "autoFix": {"description": "Whether auto fixes are provided for the language.", "type": "boolean"}}, "deprecationMessage": "Auto Fix is enabled by default. Use the single string form.", "type": "object"}]}}, "eslint.quiet": {"description": "Turns on quiet mode, which ignores warnings.", "scope": "resource", "type": "boolean", "default": false}, "eslint.codeActionsOnSave.rules": {"scope": "resource", "anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "markdownDescription": "The rules that should be executed when computing the code actions on save or formatting a file. Defaults to the rules configured via the ESLint configuration", "default": null}, "eslint.debug": {"scope": "window", "type": "boolean", "markdownDescription": "Enables ESLint debug mode (same as `--debug` on the command line)", "default": false}, "eslint.options": {"scope": "resource", "type": "object", "markdownDescription": "The eslint options object to provide args normally passed to eslint when executed from a command line (see https://eslint.org/docs/developer-guide/nodejs-api#eslint-class).", "default": {}}}, "description": "Integrates ESLint JavaScript into VS Code.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"eslint.nodeEnv": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "The value of `NODE_ENV` to use when running eslint tasks.", "default": null}, "eslint.probe": {"description": "An array of language ids for which the extension should probe if support is installed.", "scope": "resource", "type": "array", "default": ["javascript", "javascriptreact", "typescript", "typescriptreact", "html", "vue", "markdown"], "items": {"type": "string"}}, "eslint.codeActionsOnSave.mode": {"enum": ["all", "problems"], "scope": "resource", "type": "string", "markdownDescription": "Specifies the code action mode. Possible values are 'all' and 'problems'.", "enumDescriptions": ["Fixes all possible problems in the file. This option might take some time.", "Fixes only reported problems that have non-overlapping textual edits. This option runs a lot faster."], "default": "all"}, "eslint.onIgnoredFiles": {"description": "Whether ESLint should issue a warning on ignored files.", "enum": ["warn", "off"], "scope": "resource", "type": "string", "default": "off"}, "eslint.format.enable": {"description": "Enables ESLint as a formatter.", "scope": "resource", "type": "boolean", "default": false}, "eslint.execArgv": {"scope": "machine-overridable", "anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "markdownDescription": "Additional exec argv argument passed to the runtime. This can for example be used to control the maximum heap space using --max_old_space_size", "default": null}, "eslint.useESLintClass": {"description": "Since version 7 ESLint offers a new API call ESLint. Use it even if the old CLIEngine is available. From version 8 on forward on ESLint class is available.", "scope": "resource", "type": "boolean", "default": false}, "eslint.enable": {"description": "Controls whether eslint is enabled or not.", "scope": "resource", "type": "boolean", "default": true}, "eslint.runtime": {"scope": "machine-overridable", "type": ["string", "null"], "markdownDescription": "The location of the node binary to run ESLint under.", "default": null}, "eslint.codeAction.disableRuleComment": {"properties": {"location": {"description": "Configure the disable rule code action to insert the comment on the same line or a new line.", "enum": ["separateLine", "sameLine"], "type": "string", "default": "separateLine"}, "enable": {"description": "Show the disable code actions.", "type": "boolean", "default": true}, "commentStyle": {"definition": "The comment style to use when disabling a rule on a specific line.", "type": "string", "default": "line", "enum": ["line", "block"]}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Show disable lint rule in the quick fix menu.", "default": {"location": "separateLine", "enable": true, "commentStyle": "line"}}, "eslint.workingDirectories": {"scope": "resource", "type": "array", "markdownDescription": "Specifies how the working directories ESLint is using are computed. ESLint resolves configuration files (e.g. `eslintrc`, `.eslintignore`) relative to a working directory so it is important to configure this correctly.", "items": {"anyOf": [{"type": "string"}, {"properties": {"mode": {"enum": ["auto", "location"], "type": "string", "default": "location"}}, "required": ["mode"], "type": "object"}, {"properties": {"directory": {"description": "The working directory to use if a file's path starts with this directory.", "type": "string"}, "changeProcessCWD": {"description": "Whether the process's cwd should be changed as well.", "type": "boolean"}}, "deprecationMessage": "Use the new !cwd form.", "required": ["directory"], "type": "object"}, {"properties": {"directory": {"description": "The working directory to use if a file's path starts with this directory.", "type": "string"}, "!cwd": {"description": "Set to true if ESLint shouldn't change the working directory.", "type": "boolean"}}, "required": ["directory"], "type": "object"}, {"properties": {"pattern": {"description": "A glob pattern to match a working directory.", "type": "string"}, "!cwd": {"description": "Set to true if ESLint shouldn't change the working directory.", "type": "boolean"}}, "required": ["pattern"], "type": "object"}]}}, "eslint.lintTask.enable": {"description": "Controls whether a task for linting the whole workspace will be available.", "scope": "resource", "type": "boolean", "default": false}, "eslint.migration.2_x": {"description": "Whether ESlint should migrate auto fix on save settings.", "enum": ["off", "on"], "scope": "application", "type": "string", "default": "on"}, "eslint.trace.server": {"description": "Traces the communication between VSCode and the eslint linter service.", "scope": "window", "anyOf": [{"enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}, {"properties": {"format": {"enum": ["text", "json"], "type": "string", "default": "text"}, "verbosity": {"enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}}, "type": "object"}], "default": "off"}, "eslint.nodePath": {"scope": "machine-overridable", "type": ["string", "null"], "markdownDescription": "A path added to `NODE_PATH` when resolving the eslint module.", "default": null}, "eslint.provideLintTask": {"deprecationMessage": "This option is deprecated. Use eslint.lintTask.enable instead.", "description": "Controls whether a task for linting the whole workspace will be available.", "scope": "resource", "type": "boolean", "default": false}, "eslint.lintTask.options": {"scope": "resource", "type": "string", "markdownDescription": "Command line options applied when running the task for linting the whole workspace (see https://eslint.org/docs/user-guide/command-line-interface).", "default": "."}, "eslint.codeAction.showDocumentation": {"properties": {"enable": {"description": "Show the documentation code actions.", "type": "boolean", "default": true}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Show open lint rule documentation web page in the quick fix menu.", "default": {"enable": true}}, "eslint.autoFixOnSave": {"deprecationMessage": "The setting is deprecated. Use editor.codeActionsOnSave instead with a source.fixAll.eslint member.", "description": "Turns auto fix on save on or off.", "scope": "resource", "type": "boolean", "default": false}, "eslint.run": {"description": "Run the linter on save (onSave) or on type (onType)", "enum": ["onSave", "onType"], "scope": "resource", "type": "string", "default": "onType"}, "eslint.alwaysShowStatus": {"description": "Always show the ESlint status bar item.", "scope": "window", "type": "boolean", "default": false}, "eslint.notebooks.rules.customizations": {"description": "A special rules customization section for text cells in notebook documents.", "scope": "resource", "type": "array", "items": {"properties": {"rule": {"type": "string"}, "severity": {"enum": ["downgrade", "error", "info", "default", "upgrade", "warn", "off"], "type": "string"}}, "type": "object"}}, "eslint.packageManager": {"description": "The package manager you use to install node modules.", "enum": ["npm", "yarn", "pnpm"], "scope": "resource", "type": "string", "default": "npm"}, "eslint.rules.customizations": {"description": "Override the severity of one or more rules reported by this extension, regardless of the project's ESLint config. Use globs to apply default severities for multiple rules.", "scope": "resource", "type": "array", "items": {"properties": {"rule": {"type": "string"}, "severity": {"enum": ["downgrade", "error", "info", "default", "upgrade", "warn", "off"], "type": "string"}}, "type": "object"}}, "eslint.validate": {"description": "An array of language ids which should be validated by ESLint. If not installed ESLint will show an error.", "scope": "resource", "type": "array", "items": {"anyOf": [{"type": "string"}, {"properties": {"language": {"description": "The language id to be validated by ESLint.", "type": "string"}, "autoFix": {"description": "Whether auto fixes are provided for the language.", "type": "boolean"}}, "deprecationMessage": "Auto Fix is enabled by default. Use the single string form.", "type": "object"}]}}, "eslint.quiet": {"description": "Turns on quiet mode, which ignores warnings.", "scope": "resource", "type": "boolean", "default": false}, "eslint.codeActionsOnSave.rules": {"scope": "resource", "anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "markdownDescription": "The rules that should be executed when computing the code actions on save or formatting a file. Defaults to the rules configured via the ESLint configuration", "default": null}, "eslint.debug": {"scope": "window", "type": "boolean", "markdownDescription": "Enables ESLint debug mode (same as `--debug` on the command line)", "default": false}, "eslint.options": {"scope": "resource", "type": "object", "markdownDescription": "The eslint options object to provide args normally passed to eslint when executed from a command line (see https://eslint.org/docs/developer-guide/nodejs-api#eslint-class).", "default": {}}}, "description": "Integrates ESLint JavaScript into VS Code.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/flow.json b/schemas/flow.json index c3307e8..60ba51a 100644 --- a/schemas/flow.json +++ b/schemas/flow.json @@ -1 +1 @@ -{"properties": {"flow.useCodeSnippetOnFunctionSuggest": {"description": "Complete functions with their parameter signature.", "scope": "resource", "type": "boolean", "default": true}, "flow.lazyMode": {"description": "Set value to enable flow lazy mode", "scope": "resource", "type": "string", "default": null}, "flow.coverageSeverity": {"description": "Type coverage diagnostic severity", "enum": ["error", "warn", "info"], "scope": "resource", "type": "string", "default": "info"}, "flow.pathToFlow": {"description": "Absolute path to flow binary. Special var ${workspaceFolder} or ${flowconfigDir} can be used in path (NOTE: in windows you can use '/' and can omit '.cmd' in path)", "scope": "resource", "type": "string", "default": "flow"}, "flow.enabled": {"description": "Is flow enabled", "scope": "resource", "type": "boolean", "default": true}, "flow.logLevel": {"description": "Log level for output panel logs", "enum": ["error", "warn", "info", "trace"], "scope": "resource", "type": "string", "default": "info"}, "flow.useBundledFlow": {"description": "If true will use flow bundled with this plugin if nothing works", "scope": "resource", "type": "boolean", "default": true}, "flow.trace.server": {"description": "Traces the communication between VSCode and the flow lsp service.", "scope": "window", "anyOf": [{"enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}], "default": "off"}, "flow.useNPMPackagedFlow": {"description": "Support using flow through your node_modules folder, WARNING: Checking this box is a security risk. When you open a project we will immediately run code contained within it.", "scope": "resource", "type": "boolean", "default": true}, "flow.showUncovered": {"description": "If true will show uncovered code by default", "scope": "resource", "type": "boolean", "default": false}, "flow.stopFlowOnExit": {"description": "Stop Flow on Exit", "scope": "resource", "type": "boolean", "default": true}}, "description": "Flow support for VS Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"flow.useCodeSnippetOnFunctionSuggest": {"description": "Complete functions with their parameter signature.", "scope": "resource", "type": "boolean", "default": true}, "flow.lazyMode": {"description": "Set value to enable flow lazy mode", "scope": "resource", "type": "string", "default": null}, "flow.pathToFlow": {"description": "Absolute path to flow binary. Special var ${workspaceFolder} or ${flowconfigDir} can be used in path (NOTE: in windows you can use '/' and can omit '.cmd' in path)", "scope": "resource", "type": "string", "default": "flow"}, "flow.coverageSeverity": {"description": "Type coverage diagnostic severity", "enum": ["error", "warn", "info"], "scope": "resource", "type": "string", "default": "info"}, "flow.trace.server": {"description": "Traces the communication between VSCode and the flow lsp service.", "scope": "window", "anyOf": [{"enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}], "default": "off"}, "flow.enabled": {"description": "Is flow enabled", "scope": "resource", "type": "boolean", "default": true}, "flow.logLevel": {"description": "Log level for output panel logs", "enum": ["error", "warn", "info", "trace"], "scope": "resource", "type": "string", "default": "info"}, "flow.useBundledFlow": {"description": "If true will use flow bundled with this plugin if nothing works", "scope": "resource", "type": "boolean", "default": true}, "flow.useNPMPackagedFlow": {"description": "Support using flow through your node_modules folder, WARNING: Checking this box is a security risk. When you open a project we will immediately run code contained within it.", "scope": "resource", "type": "boolean", "default": true}, "flow.showUncovered": {"description": "If true will show uncovered code by default", "scope": "resource", "type": "boolean", "default": false}, "flow.stopFlowOnExit": {"description": "Stop Flow on Exit", "scope": "resource", "type": "boolean", "default": true}}, "description": "Flow support for VS Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/fsautocomplete.json b/schemas/fsautocomplete.json index e3916d5..6b7d3cb 100644 --- a/schemas/fsautocomplete.json +++ b/schemas/fsautocomplete.json @@ -1 +1 @@ -{"properties": {"FSharp.codeLenses.signature.enabled": {"description": "If enabled, code lenses for type signatures on methods and functions will be shown.", "type": "boolean", "default": true}, "FSharp.suggestGitignore": {"description": "Allow Ionide to prompt whenever internal data files aren't included in your project's .gitignore", "type": "boolean", "default": true}, "FSharp.infoPanelShowOnStartup": {"description": "Controls whether the info panel should be displayed at startup", "type": "boolean", "default": false}, "FSharp.showExplorerOnStartup": {"description": "Automatically shows solution explorer on plugin startup", "type": "boolean", "default": true}, "FSharp.unionCaseStubGeneration": {"description": "Enables a codefix that generates missing union cases when in a match expression", "type": "boolean", "default": true}, "FSharp.enableReferenceCodeLens": {"deprecationMessage": "This setting is deprecated. Use FSharp.codeLenses.references.enabled instead.", "description": "Enables additional code lenses showing number of references of a function or value. Requires background services to be enabled.", "type": "boolean", "default": true, "markdownDeprecationMessage": "This setting is **deprecated**. Use `#FSharp.codeLenses.references.enabled#` instead."}, "FSharp.generateBinlog": {"type": "boolean", "markdownDescription": "Enables generation of `msbuild.binlog` files for project loading. It works only for fresh, non-cached project loading. Run `F#: Clear Project Cache` and reload window to force fresh loading of all projects. These files can be loaded and inspected using the [MSBuild Structured Logger](https://github.com/KirillOsenkov/MSBuildStructuredLog)", "default": false}, "FSharp.abstractClassStubGeneration": {"description": "Enables a codefix that generates missing members for an abstract class when in an type inheriting from that abstract class.", "type": "boolean", "default": true}, "FSharp.enableAnalyzers": {"description": "EXPERIMENTAL. Enables F# analyzers for custom code diagnostics. Requires restart.", "type": "boolean", "default": false}, "FSharp.analyzersPath": {"description": "Directories in the array are used as a source of custom analyzers. Requires restart.", "scope": "machine-overridable", "type": "array", "default": ["packages/Analyzers", "analyzers"]}, "FSharp.dotnetRoot": {"description": "Sets the root path for finding locating the dotnet CLI binary. Defaults to the `dotnet` binary found on your system PATH.", "type": "string"}, "FSharp.interfaceStubGeneration": {"description": "Enables a codefix that generates missing interface members when inside of an interface implementation expression", "type": "boolean", "default": true}, "FSharp.inlayHints.typeAnnotations": {"description": "Controls if type-annotation inlay hints will be displayed for bindings.", "type": "boolean", "default": true}, "FSharp.inlayHints.enabled": {"description": "Controls if the inlay hints feature is enabled", "type": "boolean", "default": true}, "FSharp.recordStubGeneration": {"description": "Enables a codefix that will generate missing record fields when inside a record construction expression", "type": "boolean", "default": true}, "FSharp.msbuildAutoshow": {"description": "Automatically shows the MSBuild output panel when MSBuild functionality is invoked", "type": "boolean", "default": false}, "FSharp.unusedDeclarationsAnalyzer": {"description": "Enables detection of unused declarations", "type": "boolean", "default": true}, "FSharp.abstractClassStubGenerationObjectIdentifier": {"description": "The name of the 'self' identifier in an inherited member. For example, `this` in the expression `this.Member(x: int) = ()`", "type": "string", "default": "this"}, "FSharp.fsac.attachDebugger": {"description": "Appends the '--attachdebugger' argument to fsac, this will allow you to attach a debugger.", "type": "boolean", "default": false}, "FSharp.disableFailedProjectNotifications": {"description": "Disables popup notifications for failed project loading", "type": "boolean", "default": false}, "FSharp.infoPanelReplaceHover": {"description": "Controls whether the info panel replaces tooltips", "type": "boolean", "default": false}, "FSharp.fsiExtraParameters": {"type": "array", "markdownDescription": "An array of additional command line parameters to pass to FSI when it is started. See [the Microsoft documentation](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/fsharp-interactive-options) for an exhaustive list.", "default": []}, "FSharp.recordStubGenerationBody": {"description": "The expression to fill in the right-hand side of record fields when generating missing fields for a record construction expression", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.fsac.dotnetArgs": {"description": "additional CLI arguments to be provided to the dotnet runner for FSAC", "type": "array", "default": [], "items": {"type": "string"}}, "FSharp.fsiSdkFilePath": {"description": "The path to the F# Interactive tool used by Ionide-FSharp (When using .NET SDK scripts)", "scope": "machine-overridable", "type": "string", "default": ""}, "FSharp.infoPanelUpdate": {"description": "Controls when the info panel is updated", "enum": ["onCursorMove", "onHover", "both", "none"], "type": "string", "default": "onCursorMove"}, "FSharp.interfaceStubGenerationMethodBody": {"description": "The expression to fill in the right-hand side of interface members when generating missing members for an interface implementation expression", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.fsiFilePath": {"description": "The path to the F# Interactive tool used by Ionide-FSharp (.NET Framework only, on .NET Core `FSharp.fsiSdkFilePath` is used)", "scope": "machine-overridable", "type": "string", "default": ""}, "FSharp.fsac.netCoreDllPath": {"description": "The path to the 'fsautocomplete.dll', useful for debugging a self-built fsac.", "scope": "machine-overridable", "type": "string", "default": ""}, "FSharp.enableTouchBar": {"description": "Enables TouchBar integration of build/run/debug buttons", "type": "boolean", "default": true}, "FSharp.enableBackgroundServices": {"description": "Enables background services responsible for creating symbol cache and typechecking files in the background. Requires restart.", "type": "boolean", "default": true}, "FSharp.unusedOpensAnalyzer": {"description": "Enables detection of unused opens", "type": "boolean", "default": true}, "FSharp.smartIndent": {"description": "Enables smart indent feature", "type": "boolean", "default": false}, "FSharp.excludeProjectDirectories": {"description": "Directories in the array are excluded from project file search. Requires restart.", "type": "array", "default": [".git", "paket-files", ".fable", "packages", "node_modules"]}, "FSharp.useSdkScripts": {"description": "Use 'dotnet fsi' instead of 'fsi.exe'/'fsharpi' to start an FSI session", "type": "boolean", "default": true}, "FSharp.simplifyNameAnalyzer": {"description": "Enables detection of cases when names of functions and values can be simplified", "type": "boolean", "default": true}, "FSharp.linter": {"type": "boolean", "markdownDescription": "Enables integration with [FSharpLint](https://fsprojects.github.io/FSharpLint/) for additional (user-defined) warnings", "default": true}, "FSharp.enableMSBuildProjectGraph": {"description": "EXPERIMENTAL. Enables support for loading workspaces with MsBuild's ProjectGraph. This can improve load times. Requires restart.", "type": "boolean", "default": false}, "FSharp.lineLens.prefix": {"description": "The prefix displayed before the signature in a LineLens", "type": "string", "default": " // "}, "FSharp.resolveNamespaces": {"description": "Enables a codefix that will suggest namespaces or module to open when a name is not recognized", "type": "boolean", "default": true}, "FSharp.addFsiWatcher": {"description": "Enables a panel for FSI that shows the value of all existing bindings in the FSI session", "type": "boolean", "default": false}, "FSharp.infoPanelStartLocked": {"description": "Controls whether the info panel should be locked at startup", "type": "boolean", "default": false}, "FSharp.interfaceStubGenerationObjectIdentifier": {"description": "The name of the 'self' identifier in an interface member. For example, `this` in the expression `this.Member(x: int) = ()`", "type": "string", "default": "this"}, "FSharp.saveOnSendLastSelection": {"description": "If enabled, the current file will be saved before sending the last selection to FSI for evaluation", "type": "boolean", "default": false}, "FSharp.verboseLogging": {"description": "Logs additional information to F# output channel. This is equivalent to passing the `--verbose` flag to FSAC. Requires restart.", "type": "boolean", "default": false}, "FSharp.externalAutocomplete": {"description": "Includes external (from unopened modules and namespaces) symbols in autocomplete", "type": "boolean", "default": false}, "FSharp.trace.server": {"description": "Trace server messages at the LSP protocol level for diagnostics.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "FSharp.enableTreeView": {"description": "Enables the solution explorer view of the current workspace, which shows the workspace as MSBuild sees it", "type": "boolean", "default": true}, "FSharp.autoRevealInExplorer": {"description": "Controls whether the solution explorer should automatically reveal and select files when opening them. If `sameAsFileExplorer` is set, then the value of the `explorer.autoReveal` setting will be used instead.", "enum": ["sameAsFileExplorer", "enabled", "disabled"], "scope": "window", "type": "string", "default": "sameAsFileExplorer"}, "FSharp.unionCaseStubGenerationBody": {"description": "The expression to fill in the right-hand side of match cases when generating missing cases for a match on a discriminated union", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.codeLenses.references.enabled": {"description": "If enabled, code lenses for reference counts for methods and functions will be shown.", "type": "boolean", "default": true}, "FSharp.fsac.silencedLogs": {"description": "An array of log categories for FSAC to filter out. These can be found by viewing your log output and noting the text in between the brackets in the log line. For example, in the log line `[16:07:14.626 INF] [Compiler] done compiling foo.fsx`, the category is 'Compiler'. ", "type": "array", "default": [], "items": {"type": "string"}}, "FSharp.showProjectExplorerIn": {"description": "Set the activity (left bar) where the project explorer view will be displayed. If `explorer`, then the project explorer will be a collapsible tab in the main explorer view, a sibling to the file system explorer. If `fsharp`, a new activity with the F# logo will be added and the project explorer will be rendered in this activity.Requires restart.", "enum": ["explorer", "fsharp"], "scope": "application", "type": "string", "default": "fsharp"}, "FSharp.keywordsAutocomplete": {"description": "Includes keywords in autocomplete", "type": "boolean", "default": true}, "FSharp.workspaceModePeekDeepLevel": {"description": "The deep level of directory hierarchy when searching for sln/projects", "type": "integer", "default": 4}, "FSharp.workspacePath": {"description": "Path to the directory or solution file that should be loaded as a workspace. If set, no workspace probing or discovery is done by Ionide at all.", "scope": "window", "type": "string"}, "FSharp.indentationSize": {"minimum": 1, "description": "The number of spaces used for indentation when generating code, e.g. for interface stubs", "type": "number", "default": 4}, "FSharp.lineLens.enabled": {"description": "Usage mode for LineLens. If `never`, LineLens will never be shown. If `replaceCodeLens`, LineLens will be placed in a decoration on top of the current line.", "enum": ["never", "replaceCodeLens", "always"], "type": "string", "default": "replaceCodeLens"}, "FSharp.inlayHints.disableLongTooltip": {"description": "Hides the explanatory tooltip that appears on InlayHints to describe the different configuration toggles.", "type": "boolean", "default": false}, "FSharp.inlayHints.parameterNames": {"description": "Controls if parameter-name inlay hints will be displayed for functions and methods", "type": "boolean", "default": true}, "FSharp.suggestSdkScripts": {"description": "Allow Ionide to prompt to use SdkScripts", "type": "boolean", "default": true}, "FSharp.pipelineHints.enabled": {"description": "Enables PipeLine hints, which are like LineLenses that appear along each step of a chain of piped expressions", "type": "boolean", "default": true}, "FSharp.abstractClassStubGenerationMethodBody": {"description": "The expression to fill in the right-hand side of inherited members when generating missing members for an abstract base class", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.pipelineHints.prefix": {"description": "The prefix displayed before the signature", "type": "string", "default": " // "}}, "description": "F# Language Support, powered by FsAutoComplete", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"FSharp.codeLenses.signature.enabled": {"description": "If enabled, code lenses for type signatures on methods and functions will be shown.", "type": "boolean", "default": true}, "FSharp.suggestGitignore": {"description": "Allow Ionide to prompt whenever internal data files aren't included in your project's .gitignore", "type": "boolean", "default": true}, "FSharp.infoPanelShowOnStartup": {"description": "Controls whether the info panel should be displayed at startup", "type": "boolean", "default": false}, "FSharp.showExplorerOnStartup": {"description": "Automatically shows solution explorer on plugin startup", "type": "boolean", "default": true}, "FSharp.unionCaseStubGeneration": {"description": "Enables a codefix that generates missing union cases when in a match expression", "type": "boolean", "default": true}, "FSharp.enableReferenceCodeLens": {"deprecationMessage": "This setting is deprecated. Use FSharp.codeLenses.references.enabled instead.", "description": "Enables additional code lenses showing number of references of a function or value. Requires background services to be enabled.", "type": "boolean", "default": true, "markdownDeprecationMessage": "This setting is **deprecated**. Use `#FSharp.codeLenses.references.enabled#` instead."}, "FSharp.generateBinlog": {"type": "boolean", "markdownDescription": "Enables generation of `msbuild.binlog` files for project loading. It works only for fresh, non-cached project loading. Run `F#: Clear Project Cache` and reload window to force fresh loading of all projects. These files can be loaded and inspected using the [MSBuild Structured Logger](https://github.com/KirillOsenkov/MSBuildStructuredLog)", "default": false}, "FSharp.abstractClassStubGeneration": {"description": "Enables a codefix that generates missing members for an abstract class when in an type inheriting from that abstract class.", "type": "boolean", "default": true}, "FSharp.enableAnalyzers": {"description": "EXPERIMENTAL. Enables F# analyzers for custom code diagnostics. Requires restart.", "type": "boolean", "default": false}, "FSharp.analyzersPath": {"description": "Directories in the array are used as a source of custom analyzers. Requires restart.", "scope": "machine-overridable", "type": "array", "default": ["packages/Analyzers", "analyzers"]}, "FSharp.dotnetRoot": {"description": "Sets the root path for finding locating the dotnet CLI binary. Defaults to the `dotnet` binary found on your system PATH.", "type": "string"}, "FSharp.interfaceStubGeneration": {"description": "Enables a codefix that generates missing interface members when inside of an interface implementation expression", "type": "boolean", "default": true}, "FSharp.inlayHints.typeAnnotations": {"description": "Controls if type-annotation inlay hints will be displayed for bindings.", "type": "boolean", "default": true}, "FSharp.inlayHints.enabled": {"description": "Controls if the inlay hints feature is enabled", "type": "boolean", "default": true}, "FSharp.recordStubGeneration": {"description": "Enables a codefix that will generate missing record fields when inside a record construction expression", "type": "boolean", "default": true}, "FSharp.msbuildAutoshow": {"description": "Automatically shows the MSBuild output panel when MSBuild functionality is invoked", "type": "boolean", "default": false}, "FSharp.unusedDeclarationsAnalyzer": {"description": "Enables detection of unused declarations", "type": "boolean", "default": true}, "FSharp.abstractClassStubGenerationObjectIdentifier": {"description": "The name of the 'self' identifier in an inherited member. For example, `this` in the expression `this.Member(x: int) = ()`", "type": "string", "default": "this"}, "FSharp.fsac.attachDebugger": {"description": "Appends the '--attachdebugger' argument to fsac, this will allow you to attach a debugger.", "type": "boolean", "default": false}, "FSharp.disableFailedProjectNotifications": {"description": "Disables popup notifications for failed project loading", "type": "boolean", "default": false}, "FSharp.infoPanelReplaceHover": {"description": "Controls whether the info panel replaces tooltips", "type": "boolean", "default": false}, "FSharp.fsiExtraParameters": {"type": "array", "markdownDescription": "An array of additional command line parameters to pass to FSI when it is started. See [the Microsoft documentation](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/fsharp-interactive-options) for an exhaustive list.", "default": []}, "FSharp.recordStubGenerationBody": {"description": "The expression to fill in the right-hand side of record fields when generating missing fields for a record construction expression", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.fsac.dotnetArgs": {"description": "additional CLI arguments to be provided to the dotnet runner for FSAC", "type": "array", "default": [], "items": {"type": "string"}}, "FSharp.fsiSdkFilePath": {"description": "The path to the F# Interactive tool used by Ionide-FSharp (When using .NET SDK scripts)", "scope": "machine-overridable", "type": "string", "default": ""}, "FSharp.infoPanelUpdate": {"description": "Controls when the info panel is updated", "enum": ["onCursorMove", "onHover", "both", "none"], "type": "string", "default": "onCursorMove"}, "FSharp.interfaceStubGenerationMethodBody": {"description": "The expression to fill in the right-hand side of interface members when generating missing members for an interface implementation expression", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.fsiFilePath": {"description": "The path to the F# Interactive tool used by Ionide-FSharp (.NET Framework only, on .NET Core `FSharp.fsiSdkFilePath` is used)", "scope": "machine-overridable", "type": "string", "default": ""}, "FSharp.fsac.netCoreDllPath": {"description": "The path to the 'fsautocomplete.dll', useful for debugging a self-built fsac.", "scope": "machine-overridable", "type": "string", "default": ""}, "FSharp.enableTouchBar": {"description": "Enables TouchBar integration of build/run/debug buttons", "type": "boolean", "default": true}, "FSharp.enableBackgroundServices": {"description": "Enables background services responsible for creating symbol cache and typechecking files in the background. Requires restart.", "type": "boolean", "default": true}, "FSharp.unusedOpensAnalyzer": {"description": "Enables detection of unused opens", "type": "boolean", "default": true}, "FSharp.externalAutocomplete": {"description": "Includes external (from unopened modules and namespaces) symbols in autocomplete", "type": "boolean", "default": false}, "FSharp.enableTreeView": {"description": "Enables the solution explorer view of the current workspace, which shows the workspace as MSBuild sees it", "type": "boolean", "default": true}, "FSharp.fsac.silencedLogs": {"description": "An array of log categories for FSAC to filter out. These can be found by viewing your log output and noting the text in between the brackets in the log line. For example, in the log line `[16:07:14.626 INF] [Compiler] done compiling foo.fsx`, the category is 'Compiler'. ", "type": "array", "default": [], "items": {"type": "string"}}, "FSharp.showProjectExplorerIn": {"description": "Set the activity (left bar) where the project explorer view will be displayed. If `explorer`, then the project explorer will be a collapsible tab in the main explorer view, a sibling to the file system explorer. If `fsharp`, a new activity with the F# logo will be added and the project explorer will be rendered in this activity.Requires restart.", "enum": ["explorer", "fsharp"], "scope": "application", "type": "string", "default": "fsharp"}, "FSharp.keywordsAutocomplete": {"description": "Includes keywords in autocomplete", "type": "boolean", "default": true}, "FSharp.enableMSBuildProjectGraph": {"description": "EXPERIMENTAL. Enables support for loading workspaces with MsBuild's ProjectGraph. This can improve load times. Requires restart.", "type": "boolean", "default": false}, "FSharp.lineLens.prefix": {"description": "The prefix displayed before the signature in a LineLens", "type": "string", "default": " // "}, "FSharp.resolveNamespaces": {"description": "Enables a codefix that will suggest namespaces or module to open when a name is not recognized", "type": "boolean", "default": true}, "FSharp.addFsiWatcher": {"description": "Enables a panel for FSI that shows the value of all existing bindings in the FSI session", "type": "boolean", "default": false}, "FSharp.infoPanelStartLocked": {"description": "Controls whether the info panel should be locked at startup", "type": "boolean", "default": false}, "FSharp.interfaceStubGenerationObjectIdentifier": {"description": "The name of the 'self' identifier in an interface member. For example, `this` in the expression `this.Member(x: int) = ()`", "type": "string", "default": "this"}, "FSharp.saveOnSendLastSelection": {"description": "If enabled, the current file will be saved before sending the last selection to FSI for evaluation", "type": "boolean", "default": false}, "FSharp.verboseLogging": {"description": "Logs additional information to F# output channel. This is equivalent to passing the `--verbose` flag to FSAC. Requires restart.", "type": "boolean", "default": false}, "FSharp.smartIndent": {"description": "Enables smart indent feature", "type": "boolean", "default": false}, "FSharp.trace.server": {"description": "Trace server messages at the LSP protocol level for diagnostics.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "FSharp.excludeProjectDirectories": {"description": "Directories in the array are excluded from project file search. Requires restart.", "type": "array", "default": [".git", "paket-files", ".fable", "packages", "node_modules"]}, "FSharp.autoRevealInExplorer": {"description": "Controls whether the solution explorer should automatically reveal and select files when opening them. If `sameAsFileExplorer` is set, then the value of the `explorer.autoReveal` setting will be used instead.", "enum": ["sameAsFileExplorer", "enabled", "disabled"], "scope": "window", "type": "string", "default": "sameAsFileExplorer"}, "FSharp.unionCaseStubGenerationBody": {"description": "The expression to fill in the right-hand side of match cases when generating missing cases for a match on a discriminated union", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.codeLenses.references.enabled": {"description": "If enabled, code lenses for reference counts for methods and functions will be shown.", "type": "boolean", "default": true}, "FSharp.useSdkScripts": {"description": "Use 'dotnet fsi' instead of 'fsi.exe'/'fsharpi' to start an FSI session", "type": "boolean", "default": true}, "FSharp.simplifyNameAnalyzer": {"description": "Enables detection of cases when names of functions and values can be simplified", "type": "boolean", "default": true}, "FSharp.linter": {"type": "boolean", "markdownDescription": "Enables integration with [FSharpLint](https://fsprojects.github.io/FSharpLint/) for additional (user-defined) warnings", "default": true}, "FSharp.workspaceModePeekDeepLevel": {"description": "The deep level of directory hierarchy when searching for sln/projects", "type": "integer", "default": 4}, "FSharp.workspacePath": {"description": "Path to the directory or solution file that should be loaded as a workspace. If set, no workspace probing or discovery is done by Ionide at all.", "scope": "window", "type": "string"}, "FSharp.indentationSize": {"minimum": 1, "description": "The number of spaces used for indentation when generating code, e.g. for interface stubs", "type": "number", "default": 4}, "FSharp.lineLens.enabled": {"description": "Usage mode for LineLens. If `never`, LineLens will never be shown. If `replaceCodeLens`, LineLens will be placed in a decoration on top of the current line.", "enum": ["never", "replaceCodeLens", "always"], "type": "string", "default": "replaceCodeLens"}, "FSharp.inlayHints.disableLongTooltip": {"description": "Hides the explanatory tooltip that appears on InlayHints to describe the different configuration toggles.", "type": "boolean", "default": false}, "FSharp.inlayHints.parameterNames": {"description": "Controls if parameter-name inlay hints will be displayed for functions and methods", "type": "boolean", "default": true}, "FSharp.suggestSdkScripts": {"description": "Allow Ionide to prompt to use SdkScripts", "type": "boolean", "default": true}, "FSharp.pipelineHints.enabled": {"description": "Enables PipeLine hints, which are like LineLenses that appear along each step of a chain of piped expressions", "type": "boolean", "default": true}, "FSharp.abstractClassStubGenerationMethodBody": {"description": "The expression to fill in the right-hand side of inherited members when generating missing members for an abstract base class", "type": "string", "default": "failwith \"Not Implemented\""}, "FSharp.pipelineHints.prefix": {"description": "The prefix displayed before the signature", "type": "string", "default": " // "}}, "description": "F# Language Support, powered by FsAutoComplete", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/grammarly.json b/schemas/grammarly.json index a91b540..81fcab1 100644 --- a/schemas/grammarly.json +++ b/schemas/grammarly.json @@ -1 +1 @@ -{"properties": {"grammarly.config.suggestions.ConjunctionAtStartOfSentence": {"description": "Flags use of conjunctions such as 'but' and 'and' at the beginning of sentences.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.PossiblyBiasedLanguageHumanRights": {"description": "Suggests alternatives to language related to human slavery.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.MissingSpaces": {"description": "Suggests adding missing spacing after a numeral when writing times.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.InformalPronounsAcademic": {"description": "Flags use of personal pronouns such as 'I' and 'you' in academic writing.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.files.include": {"required": true, "scope": "window", "order": 1, "type": "array", "markdownDescription": "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for including files and folders.", "default": ["**/readme.md", "**/README.md", "**/*.txt"], "items": {"type": "string"}}, "grammarly.config.suggestions.PassiveVoice": {"description": "Flags use of passive voice.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.PossiblyBiasedLanguageRaceEthnicityRelated": {"description": "Suggests alternatives to potentially biased language related to race and ethnicity.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.OxfordComma": {"description": "Suggests adding the Oxford comma after the second-to-last item in a list of things.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.NumbersZeroThroughTen": {"description": "Suggests spelling out numbers zero through ten.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.NumbersBeginningSentences": {"description": "Suggests spelling out numbers at the beginning of sentences.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.Fluency": {"description": "Suggests ways to sound more natural and fluent.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.documentDomain": {"enum": ["academic", "business", "general", "mail", "casual", "creative"], "scope": "language-overridable", "markdownDescription": "The style or type of writing to be checked. See [What is domain/document type](https://support.grammarly.com/hc/en-us/articles/115000091472-What-is-domain-document-type-)?", "enumDescriptions": ["Academic is the strictest style of writing. On top of catching grammar and punctuation issues, Grammarly will make suggestions around passive voice, contractions, and informal pronouns (I, you), and will point out unclear antecedents (e.g., sentences starting with “This is…”).", "The business style setting checks the text against formal writing criteria. However, unlike the Academic domain, it allows the use of some informal expressions, informal pronouns, and unclear antecedents.", "This is the default style and uses a medium level of strictness.", "The email genre is similar to the General domain and helps ensure that your email communication is engaging. In addition to catching grammar, spelling, and punctuation mistakes, Grammarly also points out the use of overly direct language that may sound harsh to a reader.", "Casual is designed for informal types of writing and ignores most style issues. It does not flag contractions, passive voice, informal pronouns, who-versus-whom usage, split infinitives, or run-on sentences. This style is suitable for personal communication.", "This is the most permissive style. It catches grammar, punctuation, and spelling mistakes but allows some leeway for those who want to intentionally bend grammar rules to achieve certain effects. Creative doesn’t flag sentence fragments (missing subjects or verbs), wordy sentences, colloquialisms, informal pronouns, passive voice, incomplete comparisons, or run-on sentences."], "default": "general"}, "grammarly.config.suggestions.PunctuationWithQuotation": {"description": "Suggests placing punctuation before closing quotation marks.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PrepositionAtTheEndOfSentence": {"description": "Flags use of prepositions such as 'with' and 'in' at the end of sentences.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.SpacesSurroundingSlash": {"description": "Suggests removing extra spaces surrounding a slash.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.selectors": {"description": "Filter documents to be checked with Grammarly.", "required": true, "scope": "window", "order": 99, "type": "array", "default": [], "items": {"properties": {"pattern": {"description": "A glob pattern, like `*.{md,txt}`.", "type": "string"}, "language": {"description": "A language id, like `typescript`.", "type": "string"}, "scheme": {"description": "A Uri scheme, like `file` or `untitled`.", "type": "string"}}, "type": "object"}}, "grammarly.patterns": {"description": "A glob pattern, like `*.{md,txt}` for file scheme.", "required": true, "scope": "window", "order": 0, "markdownDeprecationMessage": "Use [Files: Include](#grammarly.files.include#)", "type": "array", "default": ["**/readme.md", "**/README.md", "**/*.txt"], "items": {"type": "string"}}, "grammarly.config.documentDialect": {"enum": ["american", "australian", "british", "canadian", "auto-text"], "scope": "language-overridable", "markdownDescription": "Specific variety of English being written. See [this article](https://support.grammarly.com/hc/en-us/articles/115000089992-Select-between-British-English-American-English-Canadian-English-and-Australian-English) for differences.", "enumDescriptions": ["", "", "", "", "An appropriate value based on the text."], "default": "auto-text"}, "grammarly.config.suggestions.ReadabilityTransforms": {"description": "Suggests splitting long, complicated sentences that could potentially confuse your reader.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.NounStrings": {"description": "Flags a series of nouns that modify a final noun.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageAgeRelated": {"description": "Suggests alternatives to potentially biased language related to older adults.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.UnnecessaryEllipses": {"description": "Flags unnecessary use of ellipses (...).", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.ReadabilityFillerwords": {"description": "Flags long, complicated sentences that could potentially confuse your reader.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.Vocabulary": {"description": "Suggests alternatives to bland and overused words such as 'good' and 'nice'.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageFamilyRelated": {"description": "Suggests alternatives to potentially biased language related to parenting and family systems.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.StylisticFragments": {"description": "Suggests completing all incomplete sentences, including stylistic sentence fragments that may be intentional.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.Variety": {"description": "Suggests alternatives to words that occur frequently in the same paragraph.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageLgbtqiaRelated": {"description": "Flags LGBTQIA+-related terms that may be seen as biased, outdated, or disrespectful in some contexts.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.SplitInfinitive": {"description": "Suggests rewriting split infinitives so that an adverb doesn't come between 'to' and the verb.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PersonFirstLanguage": {"description": "Suggests using person-first language to refer respectfully to an individual with a disability.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageDisabilityRelated": {"description": "Suggests alternatives to potentially ableist language.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.files.exclude": {"required": true, "scope": "window", "order": 2, "type": "array", "markdownDescription": "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders.", "default": [], "items": {"type": "string"}}, "grammarly.startTextCheckInPausedState": {"description": "Start text checking session in paused state", "type": "boolean", "default": false}, "grammarly.config.suggestions.SentenceVariety": {"description": "Flags series of sentences that follow the same pattern.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyPoliticallyIncorrectLanguage": {"description": "Suggests alternatives to language that may be considered politically incorrect.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageGenderRelated": {"description": "Suggests alternatives to potentially gender-biased and non-inclusive phrasing.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageHumanRightsRelated": {"description": "Suggests alternatives to terms with origins in the institution of slavery.", "scope": "language-overridable", "type": "boolean", "default": true}}, "description": "A grammar checking for Visual Studio Code using Grammarly.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"grammarly.config.suggestions.ConjunctionAtStartOfSentence": {"description": "Flags use of conjunctions such as 'but' and 'and' at the beginning of sentences.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.Variety": {"description": "Suggests alternatives to words that occur frequently in the same paragraph.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.MissingSpaces": {"description": "Suggests adding missing spacing after a numeral when writing times.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.ReadabilityFillerwords": {"description": "Flags long, complicated sentences that could potentially confuse your reader.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.Fluency": {"description": "Suggests ways to sound more natural and fluent.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PassiveVoice": {"description": "Flags use of passive voice.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.startTextCheckInPausedState": {"description": "Start text checking session in paused state", "type": "boolean", "default": false}, "grammarly.config.suggestions.OxfordComma": {"description": "Suggests adding the Oxford comma after the second-to-last item in a list of things.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.patterns": {"description": "A glob pattern, like `*.{md,txt}` for file scheme.", "markdownDeprecationMessage": "Use [Files: Include](#grammarly.files.include#)", "scope": "window", "order": 0, "type": "array", "default": ["**/readme.md", "**/README.md", "**/*.txt"], "items": {"type": "string"}, "required": true}, "grammarly.config.suggestions.NumbersBeginningSentences": {"description": "Suggests spelling out numbers at the beginning of sentences.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageHumanRights": {"description": "Suggests alternatives to language related to human slavery.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.documentDialect": {"enum": ["american", "australian", "british", "canadian", "auto-text"], "scope": "language-overridable", "markdownDescription": "Specific variety of English being written. See [this article](https://support.grammarly.com/hc/en-us/articles/115000089992-Select-between-British-English-American-English-Canadian-English-and-Australian-English) for differences.", "enumDescriptions": ["", "", "", "", "An appropriate value based on the text."], "default": "auto-text"}, "grammarly.config.suggestions.PunctuationWithQuotation": {"description": "Suggests placing punctuation before closing quotation marks.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PrepositionAtTheEndOfSentence": {"description": "Flags use of prepositions such as 'with' and 'in' at the end of sentences.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.PossiblyBiasedLanguageHumanRightsRelated": {"description": "Suggests alternatives to terms with origins in the institution of slavery.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.NumbersZeroThroughTen": {"description": "Suggests spelling out numbers zero through ten.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.ReadabilityTransforms": {"description": "Suggests splitting long, complicated sentences that could potentially confuse your reader.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.NounStrings": {"description": "Flags a series of nouns that modify a final noun.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageAgeRelated": {"description": "Suggests alternatives to potentially biased language related to older adults.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.UnnecessaryEllipses": {"description": "Flags unnecessary use of ellipses (...).", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.InformalPronounsAcademic": {"description": "Flags use of personal pronouns such as 'I' and 'you' in academic writing.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.selectors": {"description": "Filter documents to be checked with Grammarly.", "required": true, "scope": "window", "order": 99, "type": "array", "default": [], "items": {"properties": {"pattern": {"description": "A glob pattern, like `*.{md,txt}`.", "type": "string"}, "language": {"description": "A language id, like `typescript`.", "type": "string"}, "scheme": {"description": "A Uri scheme, like `file` or `untitled`.", "type": "string"}}, "type": "object"}}, "grammarly.config.suggestions.PossiblyBiasedLanguageFamilyRelated": {"description": "Suggests alternatives to potentially biased language related to parenting and family systems.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.StylisticFragments": {"description": "Suggests completing all incomplete sentences, including stylistic sentence fragments that may be intentional.", "scope": "language-overridable", "type": "boolean", "default": false}, "grammarly.config.suggestions.Vocabulary": {"description": "Suggests alternatives to bland and overused words such as 'good' and 'nice'.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.files.include": {"required": true, "scope": "window", "order": 1, "type": "array", "markdownDescription": "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for including files and folders.", "default": ["**/readme.md", "**/README.md", "**/*.txt"], "items": {"type": "string"}}, "grammarly.config.suggestions.PossiblyBiasedLanguageLgbtqiaRelated": {"description": "Flags LGBTQIA+-related terms that may be seen as biased, outdated, or disrespectful in some contexts.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.SplitInfinitive": {"description": "Suggests rewriting split infinitives so that an adverb doesn't come between 'to' and the verb.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PersonFirstLanguage": {"description": "Suggests using person-first language to refer respectfully to an individual with a disability.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageDisabilityRelated": {"description": "Suggests alternatives to potentially ableist language.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.SpacesSurroundingSlash": {"description": "Suggests removing extra spaces surrounding a slash.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageRaceEthnicityRelated": {"description": "Suggests alternatives to potentially biased language related to race and ethnicity.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.SentenceVariety": {"description": "Flags series of sentences that follow the same pattern.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.documentDomain": {"enum": ["academic", "business", "general", "mail", "casual", "creative"], "scope": "language-overridable", "markdownDescription": "The style or type of writing to be checked. See [What is domain/document type](https://support.grammarly.com/hc/en-us/articles/115000091472-What-is-domain-document-type-)?", "enumDescriptions": ["Academic is the strictest style of writing. On top of catching grammar and punctuation issues, Grammarly will make suggestions around passive voice, contractions, and informal pronouns (I, you), and will point out unclear antecedents (e.g., sentences starting with “This is…”).", "The business style setting checks the text against formal writing criteria. However, unlike the Academic domain, it allows the use of some informal expressions, informal pronouns, and unclear antecedents.", "This is the default style and uses a medium level of strictness.", "The email genre is similar to the General domain and helps ensure that your email communication is engaging. In addition to catching grammar, spelling, and punctuation mistakes, Grammarly also points out the use of overly direct language that may sound harsh to a reader.", "Casual is designed for informal types of writing and ignores most style issues. It does not flag contractions, passive voice, informal pronouns, who-versus-whom usage, split infinitives, or run-on sentences. This style is suitable for personal communication.", "This is the most permissive style. It catches grammar, punctuation, and spelling mistakes but allows some leeway for those who want to intentionally bend grammar rules to achieve certain effects. Creative doesn’t flag sentence fragments (missing subjects or verbs), wordy sentences, colloquialisms, informal pronouns, passive voice, incomplete comparisons, or run-on sentences."], "default": "general"}, "grammarly.config.suggestions.PossiblyPoliticallyIncorrectLanguage": {"description": "Suggests alternatives to language that may be considered politically incorrect.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.config.suggestions.PossiblyBiasedLanguageGenderRelated": {"description": "Suggests alternatives to potentially gender-biased and non-inclusive phrasing.", "scope": "language-overridable", "type": "boolean", "default": true}, "grammarly.files.exclude": {"required": true, "scope": "window", "order": 2, "type": "array", "markdownDescription": "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders.", "default": [], "items": {"type": "string"}}}, "description": "A grammar checking for Visual Studio Code using Grammarly.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/haxe_language_server.json b/schemas/haxe_language_server.json index 7035c61..e8db55f 100644 --- a/schemas/haxe_language_server.json +++ b/schemas/haxe_language_server.json @@ -1 +1 @@ -{"properties": {"haxe.useLegacyCompletion": {"type": "boolean", "markdownDescription": "Whether to revert to a Haxe 3 style completion where only toplevel packages and imported types are shown (effectively making it incompatible with auto-imports). *Note:* this setting has no effect with Haxe versions earlier than 4.0.0-rc.4.", "default": false}, "haxe.enableExtendedIndentation": {"type": "boolean", "markdownDescription": "Align new line brackets with Allman style. Can have typing overhead and is incompatible with the Vim extension.", "default": false}, "haxe.enableCompletionCacheWarning": {"type": "boolean", "markdownDescription": "Whether a warning popup should be shown if the completion cache build has failed.", "default": true}, "haxelib.executable": {"scope": "resource", "anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxelib executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxelib executable", "default": "auto"}, "haxe.enableMethodsView": {"deprecationMessage": "Use \"haxe.enableServerView\" instead", "type": "boolean", "default": false}, "haxe.codeGeneration": {"properties": {"switch": {"properties": {"parentheses": {"type": "boolean", "markdownDescription": "Whether to wrap the switch subject in parentheses", "default": false}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating switch expressions", "default": {}}, "functions": {"properties": {"field": {"properties": {"explicitPublic": {"type": "boolean", "markdownDescription": "Whether to include the public visibility modifier even if it can be omitted", "default": false}, "explicitNull": {"type": "boolean", "markdownDescription": "Whether to wrap types in `Null` even if it can be omitted (for optional arguments with `?`)", "default": false}, "placeOpenBraceOnNewLine": {"type": "boolean", "markdownDescription": "Whether to place `{` in a new line", "default": false}, "returnTypeHint": {"enum": ["always", "never", "non-void"], "type": "string", "markdownDescription": "In which case to include return type hints", "default": "non-void"}, "argumentTypeHints": {"type": "boolean", "markdownDescription": "Whether to include type hints for arguments", "default": true}, "explicitPrivate": {"type": "boolean", "markdownDescription": "Whether to include the private visibility modifier even if it can be omitted", "default": false}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating field-level functions", "default": {}}, "anonymous": {"properties": {"explicitNull": {"type": "boolean", "markdownDescription": "Whether to wrap types in `Null` even if it can be omitted (for optional arguments with `?`)", "default": false}, "useArrowSyntax": {"type": "boolean", "markdownDescription": "Whether to use arrow function syntax (Haxe 4+)", "default": true}, "returnTypeHint": {"enum": ["always", "never", "non-void"], "type": "string", "markdownDescription": "In which case to include return type hints", "default": "never"}, "argumentTypeHints": {"type": "boolean", "markdownDescription": "Whether to include type hints for arguments", "default": false}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating anonymous functions", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating functions", "default": {}}, "imports": {"properties": {"enableAutoImports": {"type": "boolean", "markdownDescription": "Whether to insert an import automatically when selecting a not-yet-imported type from completion. If `false`, the fully qualified name is inserted instead.", "default": true}, "style": {"enum": ["type", "module"], "type": "string", "markdownDescription": "How to deal with module subtypes when generating imports.", "default": "type", "markdownEnumDescriptions": ["Import only the specific sub-type (`import pack.Foo.Type`).", "Import the entire module the sub-type lives in (`import pack.Foo`)."]}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating imports", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for code generation", "default": {}}, "haxe.enableSignatureHelpDocumentation": {"type": "boolean", "markdownDescription": "Whether signature help should include documentation or not.", "default": true}, "haxe.maxCompletionItems": {"type": "integer", "markdownDescription": "Upper limit for the number of completion items that can be shown at once.", "default": 1000}, "haxe.enableBraceBodyWrapping": {"type": "boolean", "markdownDescription": "Add closing brace at the end of one-line `if/for/while` body expressions", "default": false}, "haxe.enableDiagnostics": {"type": "boolean", "markdownDescription": "Enable automatic diagnostics of Haxe files, run automatically on open and save.", "default": true}, "haxe.enableServerView": {"type": "boolean", "markdownDescription": "Enable the \"Haxe Server\" view container for performance and cache debugging.", "default": false}, "haxe.configurations": {"type": "array", "markdownDescription": "Array of switchable configurations for the Haxe completion server. Each configuration is an array of command-line arguments, see item documentation for more details.", "default": [], "items": {"oneOf": [{"type": "array", "items": {"type": "string"}}, {"properties": {"label": {"type": "string", "markdownDescription": "The label to use for displaying this configuration in the UI."}, "args": {"type": "array", "markdownDescription": "The Haxe command-line arguments.", "items": {"type": "string"}}}, "additionalProperties": false, "type": "object"}], "markdownDescription": "Command-line arguments passed to the Haxe completion server. Can contain HXML files. Relative paths will be resolved against workspace root."}}, "haxe.exclude": {"type": "array", "markdownDescription": "A list of dot paths (packages, modules, types) to exclude from classpath parsing, completion and workspace symbols. Can be useful to improve performance.", "default": ["zpp_nape"]}, "haxe.enableCompilationServer": {"type": "boolean", "markdownDescription": "Use the extension's Haxe server to compile auto-generated tasks. Requires `\"haxe.displayPort\"` to be set.", "default": true}, "haxe.buildCompletionCache": {"type": "boolean", "markdownDescription": "Speed up completion by building the project once on startup to initialize the cache.", "default": true}, "haxe.displayServer": {"properties": {"print": {"properties": {"defines": {"type": "boolean"}, "addedDirectory": {"type": "boolean"}, "reusing": {"type": "boolean"}, "completion": {"type": "boolean"}, "newContext": {"type": "boolean"}, "foundDirectories": {"type": "boolean"}, "changedDirectories": {"type": "boolean"}, "signature": {"type": "boolean"}, "notCached": {"type": "boolean"}, "parsed": {"type": "boolean"}, "stats": {"type": "boolean"}, "skippingDep": {"type": "boolean"}, "displayPosition": {"type": "boolean"}, "uncaughtError": {"type": "boolean"}, "modulePathChanged": {"type": "boolean"}, "cachedModules": {"type": "boolean"}, "socketMessage": {"type": "boolean"}, "unchangedContent": {"type": "boolean"}, "arguments": {"type": "boolean"}, "message": {"type": "boolean"}, "removedDirectory": {"type": "boolean"}}, "additionalProperties": false, "type": "object", "markdownDescription": "Which debug output to print to the Haxe output channel. With `-v`, all flags default to `true`, and without it to `false`. Setting a flag here overrides the default. Only works with Haxe 4.0.0-preview.4 or newer.", "default": {"reusing": false, "completion": false}}, "arguments": {"type": "array", "markdownDescription": "Array of arguments passed to the Haxe completion server at start. Can be used for debugging completion server issues, for example by adding the `\"-v\"` argument.", "default": [], "items": {"type": "string"}}, "useSocket": {"type": "boolean", "markdownDescription": "If possible, use a socket for communication with Haxe rather than stdio.", "default": true}}, "additionalProperties": false, "type": "object", "markdownDescription": "Haxe completion server configuration", "default": {}}, "haxe.renameSourceFolders": {"deprecationMessage": "Folders to look for renamable identifiers. Rename will not see or touch files outside of those folders.", "type": "array", "default": ["src", "source", "Source", "test", "tests"]}, "haxe.displayPort": {"oneOf": [{"type": "integer"}, {"enum": ["auto"], "type": "string"}], "markdownDescription": "Integer value for the port to open on the display server, or `\"auto\"`. Can be used to `--connect` Haxe build commands.", "default": "auto"}, "haxe.taskPresentation": {"properties": {"panel": {"enum": ["shared", "dedicated", "new"], "type": "string", "markdownDescription": "Controls if the panel is shared between tasks, dedicated to this task or a new one is created on every run.", "default": "shared"}, "focus": {"type": "boolean", "markdownDescription": "Controls whether the panel takes focus. Default is `false`. If set to `true` the panel is revealed as well.", "default": false}, "echo": {"type": "boolean", "markdownDescription": "Controls whether the executed command is echoed to the panel. Default is `true`.", "default": true}, "clear": {"type": "boolean", "markdownDescription": "Controls whether the terminal is cleared before executing the task.", "default": false}, "reveal": {"enum": ["always", "silent", "never"], "type": "string", "markdownDescription": "Controls whether the panel running the task is revealed or not. Default is `\"always\"`.", "default": "always", "markdownEnumDescriptions": ["Always reveals the terminal when this task is executed.", "Only reveals the terminal if no problem matcher is associated with the task and an errors occurs executing it.", "Never reveals the terminal when this task is executed."]}, "showReuseMessage": {"type": "boolean", "markdownDescription": "Controls whether to show the `Terminal will be reused by tasks, press any key to close it` message.", "default": true}}, "additionalProperties": false, "type": "object", "markdownDescription": "Configures which presentation options to use for generated tasks by default (see `presentation` in `tasks.json`).", "default": {"panel": "shared", "focus": false, "echo": true, "clear": false, "reveal": "always", "showReuseMessage": true}}, "haxe.executable": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"linux": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Overrides for Linux", "default": {}}], "markdownDescription": "Linux-specific path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}, "path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}, "windows": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Overrides for Windows", "default": {}}], "markdownDescription": "Windows-specific path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}, "osx": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Overrides for Mac", "default": {}}], "markdownDescription": "Mac-specific path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}}, "additionalProperties": false, "type": "object", "markdownDescription": "Haxe executable configuration"}], "scope": "resource", "markdownDescription": "Path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}, "haxe.displayConfigurations": {"deprecationMessage": "Use \"haxe.configurations\" instead", "type": "array", "default": []}, "haxe.diagnosticsPathFilter": {"type": "string", "markdownDescription": "A regex that paths of source files have to match to be included in diagnostics. Defaults to `\"${workspaceRoot}\"` so only files within your workspace are included. You can use `\"${haxelibPath}/\"` to only show results for a specific haxelib. Use `\".*?\"` to see all results, including haxelibs.", "default": "${workspaceRoot}"}, "haxe.enableCodeLens": {"type": "boolean", "markdownDescription": "Enable code lens to show some statistics", "default": false}, "haxe.postfixCompletion": {"properties": {"level": {"enum": ["full", "filtered", "off"], "type": "string", "markdownDescription": "Which kinds of postfix completions to include", "default": "full", "markdownEnumDescriptions": ["Show all postfix completion items.", "Only show items that apply to specific types like `for` and `switch`.", "Disable postfix completion."]}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for postfix completion", "default": {}}}, "description": "Haxe language support", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"haxe.useLegacyCompletion": {"type": "boolean", "markdownDescription": "Whether to revert to a Haxe 3 style completion where only toplevel packages and imported types are shown (effectively making it incompatible with auto-imports). *Note:* this setting has no effect with Haxe versions earlier than 4.0.0-rc.4.", "default": false}, "haxe.enableExtendedIndentation": {"type": "boolean", "markdownDescription": "Align new line brackets with Allman style. Can have typing overhead and is incompatible with the Vim extension.", "default": false}, "haxe.enableCompletionCacheWarning": {"type": "boolean", "markdownDescription": "Whether a warning popup should be shown if the completion cache build has failed.", "default": true}, "haxelib.executable": {"scope": "resource", "anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxelib executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxelib executable", "default": "auto"}, "haxe.enableMethodsView": {"deprecationMessage": "Use \"haxe.enableServerView\" instead", "type": "boolean", "default": false}, "haxe.codeGeneration": {"properties": {"switch": {"properties": {"parentheses": {"type": "boolean", "markdownDescription": "Whether to wrap the switch subject in parentheses", "default": false}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating switch expressions", "default": {}}, "functions": {"properties": {"field": {"properties": {"explicitPrivate": {"type": "boolean", "markdownDescription": "Whether to include the private visibility modifier even if it can be omitted", "default": false}, "explicitNull": {"type": "boolean", "markdownDescription": "Whether to wrap types in `Null` even if it can be omitted (for optional arguments with `?`)", "default": false}, "placeOpenBraceOnNewLine": {"type": "boolean", "markdownDescription": "Whether to place `{` in a new line", "default": false}, "returnTypeHint": {"enum": ["always", "never", "non-void"], "type": "string", "markdownDescription": "In which case to include return type hints", "default": "non-void"}, "explicitPublic": {"type": "boolean", "markdownDescription": "Whether to include the public visibility modifier even if it can be omitted", "default": false}, "argumentTypeHints": {"type": "boolean", "markdownDescription": "Whether to include type hints for arguments", "default": true}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating field-level functions", "default": {}}, "anonymous": {"properties": {"explicitNull": {"type": "boolean", "markdownDescription": "Whether to wrap types in `Null` even if it can be omitted (for optional arguments with `?`)", "default": false}, "useArrowSyntax": {"type": "boolean", "markdownDescription": "Whether to use arrow function syntax (Haxe 4+)", "default": true}, "returnTypeHint": {"enum": ["always", "never", "non-void"], "type": "string", "markdownDescription": "In which case to include return type hints", "default": "never"}, "argumentTypeHints": {"type": "boolean", "markdownDescription": "Whether to include type hints for arguments", "default": false}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating anonymous functions", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating functions", "default": {}}, "imports": {"properties": {"enableAutoImports": {"type": "boolean", "markdownDescription": "Whether to insert an import automatically when selecting a not-yet-imported type from completion. If `false`, the fully qualified name is inserted instead.", "default": true}, "style": {"enum": ["type", "module"], "type": "string", "markdownDescription": "How to deal with module subtypes when generating imports.", "default": "type", "markdownEnumDescriptions": ["Import only the specific sub-type (`import pack.Foo.Type`).", "Import the entire module the sub-type lives in (`import pack.Foo`)."]}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for generating imports", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for code generation", "default": {}}, "haxe.enableSignatureHelpDocumentation": {"type": "boolean", "markdownDescription": "Whether signature help should include documentation or not.", "default": true}, "haxe.maxCompletionItems": {"type": "integer", "markdownDescription": "Upper limit for the number of completion items that can be shown at once.", "default": 1000}, "haxe.enableBraceBodyWrapping": {"type": "boolean", "markdownDescription": "Add closing brace at the end of one-line `if/for/while` body expressions", "default": false}, "haxe.enableDiagnostics": {"type": "boolean", "markdownDescription": "Enable automatic diagnostics of Haxe files, run automatically on open and save.", "default": true}, "haxe.enableServerView": {"type": "boolean", "markdownDescription": "Enable the \"Haxe Server\" view container for performance and cache debugging.", "default": false}, "haxe.configurations": {"type": "array", "markdownDescription": "Array of switchable configurations for the Haxe completion server. Each configuration is an array of command-line arguments, see item documentation for more details.", "default": [], "items": {"oneOf": [{"type": "array", "items": {"type": "string"}}, {"properties": {"label": {"type": "string", "markdownDescription": "The label to use for displaying this configuration in the UI."}, "args": {"type": "array", "markdownDescription": "The Haxe command-line arguments.", "items": {"type": "string"}}}, "additionalProperties": false, "type": "object"}], "markdownDescription": "Command-line arguments passed to the Haxe completion server. Can contain HXML files. Relative paths will be resolved against workspace root."}}, "haxe.exclude": {"type": "array", "markdownDescription": "A list of dot paths (packages, modules, types) to exclude from classpath parsing, completion and workspace symbols. Can be useful to improve performance.", "default": ["zpp_nape"]}, "haxe.enableCompilationServer": {"type": "boolean", "markdownDescription": "Use the extension's Haxe server to compile auto-generated tasks. Requires `\"haxe.displayPort\"` to be set.", "default": true}, "haxe.buildCompletionCache": {"type": "boolean", "markdownDescription": "Speed up completion by building the project once on startup to initialize the cache.", "default": true}, "haxe.displayServer": {"properties": {"print": {"properties": {"defines": {"type": "boolean"}, "addedDirectory": {"type": "boolean"}, "reusing": {"type": "boolean"}, "completion": {"type": "boolean"}, "newContext": {"type": "boolean"}, "foundDirectories": {"type": "boolean"}, "changedDirectories": {"type": "boolean"}, "signature": {"type": "boolean"}, "notCached": {"type": "boolean"}, "parsed": {"type": "boolean"}, "stats": {"type": "boolean"}, "skippingDep": {"type": "boolean"}, "displayPosition": {"type": "boolean"}, "uncaughtError": {"type": "boolean"}, "modulePathChanged": {"type": "boolean"}, "cachedModules": {"type": "boolean"}, "socketMessage": {"type": "boolean"}, "unchangedContent": {"type": "boolean"}, "arguments": {"type": "boolean"}, "message": {"type": "boolean"}, "removedDirectory": {"type": "boolean"}}, "additionalProperties": false, "type": "object", "markdownDescription": "Which debug output to print to the Haxe output channel. With `-v`, all flags default to `true`, and without it to `false`. Setting a flag here overrides the default. Only works with Haxe 4.0.0-preview.4 or newer.", "default": {"reusing": false, "completion": false}}, "arguments": {"type": "array", "markdownDescription": "Array of arguments passed to the Haxe completion server at start. Can be used for debugging completion server issues, for example by adding the `\"-v\"` argument.", "default": [], "items": {"type": "string"}}, "useSocket": {"type": "boolean", "markdownDescription": "If possible, use a socket for communication with Haxe rather than stdio.", "default": true}}, "additionalProperties": false, "type": "object", "markdownDescription": "Haxe completion server configuration", "default": {}}, "haxe.renameSourceFolders": {"deprecationMessage": "Folders to look for renamable identifiers. Rename will not see or touch files outside of those folders.", "type": "array", "default": ["src", "source", "Source", "test", "tests"]}, "haxe.displayPort": {"oneOf": [{"type": "integer"}, {"enum": ["auto"], "type": "string"}], "markdownDescription": "Integer value for the port to open on the display server, or `\"auto\"`. Can be used to `--connect` Haxe build commands.", "default": "auto"}, "haxe.taskPresentation": {"properties": {"panel": {"enum": ["shared", "dedicated", "new"], "type": "string", "markdownDescription": "Controls if the panel is shared between tasks, dedicated to this task or a new one is created on every run.", "default": "shared"}, "focus": {"type": "boolean", "markdownDescription": "Controls whether the panel takes focus. Default is `false`. If set to `true` the panel is revealed as well.", "default": false}, "echo": {"type": "boolean", "markdownDescription": "Controls whether the executed command is echoed to the panel. Default is `true`.", "default": true}, "clear": {"type": "boolean", "markdownDescription": "Controls whether the terminal is cleared before executing the task.", "default": false}, "reveal": {"enum": ["always", "silent", "never"], "type": "string", "markdownDescription": "Controls whether the panel running the task is revealed or not. Default is `\"always\"`.", "default": "always", "markdownEnumDescriptions": ["Always reveals the terminal when this task is executed.", "Only reveals the terminal if no problem matcher is associated with the task and an errors occurs executing it.", "Never reveals the terminal when this task is executed."]}, "showReuseMessage": {"type": "boolean", "markdownDescription": "Controls whether to show the `Terminal will be reused by tasks, press any key to close it` message.", "default": true}}, "additionalProperties": false, "type": "object", "markdownDescription": "Configures which presentation options to use for generated tasks by default (see `presentation` in `tasks.json`).", "default": {"panel": "shared", "focus": false, "echo": true, "clear": false, "reveal": "always", "showReuseMessage": true}}, "haxe.executable": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"linux": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Overrides for Linux", "default": {}}], "markdownDescription": "Linux-specific path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}, "path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}, "windows": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Overrides for Windows", "default": {}}], "markdownDescription": "Windows-specific path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}, "osx": {"oneOf": [{"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, {"properties": {"path": {"anyOf": [{"enum": ["auto"], "type": "string", "markdownEnumDescriptions": ["Auto-detect the Haxe executable."]}, {"type": "string"}], "type": "string", "markdownDescription": "Path to the Haxe executable", "default": "auto"}, "env": {"additionalProperties": {"type": "string"}, "type": "object", "markdownDescription": "Additional environment variables used for running Haxe executable", "default": {}}}, "additionalProperties": false, "type": "object", "markdownDescription": "Overrides for Mac", "default": {}}], "markdownDescription": "Mac-specific path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}}, "additionalProperties": false, "type": "object", "markdownDescription": "Haxe executable configuration"}], "scope": "resource", "markdownDescription": "Path to the Haxe executable or an object containing a Haxe executable configuration", "default": "auto"}, "haxe.displayConfigurations": {"deprecationMessage": "Use \"haxe.configurations\" instead", "type": "array", "default": []}, "haxe.diagnosticsPathFilter": {"type": "string", "markdownDescription": "A regex that paths of source files have to match to be included in diagnostics. Defaults to `\"${workspaceRoot}\"` so only files within your workspace are included. You can use `\"${haxelibPath}/\"` to only show results for a specific haxelib. Use `\".*?\"` to see all results, including haxelibs.", "default": "${workspaceRoot}"}, "haxe.enableCodeLens": {"type": "boolean", "markdownDescription": "Enable code lens to show some statistics", "default": false}, "haxe.postfixCompletion": {"properties": {"level": {"enum": ["full", "filtered", "off"], "type": "string", "markdownDescription": "Which kinds of postfix completions to include", "default": "full", "markdownEnumDescriptions": ["Show all postfix completion items.", "Only show items that apply to specific types like `for` and `switch`.", "Disable postfix completion."]}}, "additionalProperties": false, "type": "object", "markdownDescription": "Options for postfix completion", "default": {}}}, "description": "Haxe language support", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/hhvm.json b/schemas/hhvm.json index 0633f47..3017c51 100644 --- a/schemas/hhvm.json +++ b/schemas/hhvm.json @@ -1 +1 @@ -{"properties": {"hack.workspaceRootPath": {"deprecationMessage": "Use hack.remote.workspacePath instead", "description": "Absolute path to the workspace root directory. This will be the VS Code workspace root by default, but can be changed if the project is in a subdirectory or mounted in a Docker container.", "type": "string", "default": null}, "hack.useLanguageServer": {"description": "Start hh_client in Language Server mode. Only works for HHVM version 3.23 and above.", "type": "boolean", "default": true}, "hack.remote.ssh.flags": {"description": "Additional command line options to pass when establishing the SSH connection", "type": "array"}, "hack.remote.docker.containerName": {"description": "Name of the local Docker container to run the language tools in", "type": "string"}, "hack.hhastArgs": {"description": "Optional list of arguments passed to hhast-lint executable", "type": "array", "default": [], "items": {"type": "string"}}, "hack.remote.workspacePath": {"description": "Absolute location of workspace root in the remote file system", "type": "string"}, "hack.remote.type": {"description": "The remote connection method", "enum": ["ssh", "docker"], "type": "string", "enumDescriptions": ["Run typechecker on a remote server via SSH", "Run typechecker in a Docker container"]}, "hack.remote.enabled": {"description": "Run the Hack language tools on an external host", "type": "boolean", "default": false}, "hack.hhastLintMode": {"description": "Whether to lint the entire project or just the open files", "enum": ["whole-project", "open-files"], "type": "string", "enumDescriptions": ["Lint the entire project and show all errors", "Only lint the currently open files"], "default": null}, "hack.remote.ssh.host": {"description": "Address for the remote development server to connect to (in the format `[user@]hostname`)", "type": "string"}, "hack.trace.server": {"description": "Traces the communication between VS Code and the Hack & HHAST language servers", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "hack.enableCoverageCheck": {"description": "Enable calculation of Hack type coverage percentage for every file and display in status bar.", "type": "boolean", "default": false}, "hack.useHhast": {"description": "Enable linting (needs HHAST library set up and configured in project)", "type": "boolean", "markdownDescription": "Enable linting (needs [HHAST](https://github.com/hhvm/hhast) library set up and configured in project)", "default": true}, "hack.clientPath": {"description": "Absolute path to the hh_client executable. This can be left empty if hh_client is already in your environment $PATH.", "type": "string", "default": "hh_client"}, "hack.hhastPath": {"description": "Use an alternate hhast-lint path. Can be abolute or relative to workspace root.", "type": "string", "markdownDescription": "Use an alternate `hhast-lint` path. Can be abolute or relative to workspace root.", "default": "vendor/bin/hhast-lint"}}, "description": "Hack language & HHVM debugger support for Visual Studio Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"hack.workspaceRootPath": {"deprecationMessage": "Use hack.remote.workspacePath instead", "description": "Absolute path to the workspace root directory. This will be the VS Code workspace root by default, but can be changed if the project is in a subdirectory or mounted in a Docker container.", "type": "string", "default": null}, "hack.useLanguageServer": {"description": "Start hh_client in Language Server mode. Only works for HHVM version 3.23 and above.", "type": "boolean", "default": true}, "hack.remote.ssh.flags": {"description": "Additional command line options to pass when establishing the SSH connection", "type": "array"}, "hack.remote.ssh.host": {"description": "Address for the remote development server to connect to (in the format `[user@]hostname`)", "type": "string"}, "hack.hhastArgs": {"description": "Optional list of arguments passed to hhast-lint executable", "type": "array", "default": [], "items": {"type": "string"}}, "hack.remote.workspacePath": {"description": "Absolute location of workspace root in the remote file system", "type": "string"}, "hack.remote.type": {"description": "The remote connection method", "enum": ["ssh", "docker"], "type": "string", "enumDescriptions": ["Run typechecker on a remote server via SSH", "Run typechecker in a Docker container"]}, "hack.remote.enabled": {"description": "Run the Hack language tools on an external host", "type": "boolean", "default": false}, "hack.hhastLintMode": {"description": "Whether to lint the entire project or just the open files", "enum": ["whole-project", "open-files"], "type": "string", "enumDescriptions": ["Lint the entire project and show all errors", "Only lint the currently open files"], "default": null}, "hack.remote.docker.containerName": {"description": "Name of the local Docker container to run the language tools in", "type": "string"}, "hack.trace.server": {"description": "Traces the communication between VS Code and the Hack & HHAST language servers", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "hack.enableCoverageCheck": {"description": "Enable calculation of Hack type coverage percentage for every file and display in status bar.", "type": "boolean", "default": false}, "hack.useHhast": {"description": "Enable linting (needs HHAST library set up and configured in project)", "type": "boolean", "markdownDescription": "Enable linting (needs [HHAST](https://github.com/hhvm/hhast) library set up and configured in project)", "default": true}, "hack.clientPath": {"description": "Absolute path to the hh_client executable. This can be left empty if hh_client is already in your environment $PATH.", "type": "string", "default": "hh_client"}, "hack.hhastPath": {"description": "Use an alternate hhast-lint path. Can be abolute or relative to workspace root.", "type": "string", "markdownDescription": "Use an alternate `hhast-lint` path. Can be abolute or relative to workspace root.", "default": "vendor/bin/hhast-lint"}}, "description": "Hack language & HHVM debugger support for Visual Studio Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/hie.json b/schemas/hie.json index 471c94b..85d95c6 100644 --- a/schemas/hie.json +++ b/schemas/hie.json @@ -1 +1 @@ -{"properties": {"haskell.plugin.ghcide-completions.globalOn": {"description": "Enables ghcide-completions plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.auto_gas": {"scope": "resource", "type": "integer", "markdownDescription": "The depth of the search tree when performing \"Attempt to fill hole\". Bigger values will be able to derive more solutions, but will take exponentially more time.", "default": 4}, "haskell.plugin.ghcide-type-lenses.globalOn": {"description": "Enables ghcide-type-lenses plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.eval.config.diff": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable the diff output (WAS/NOW) of eval lenses", "default": true}, "haskell.plugin.splice.globalOn": {"description": "Enables splice plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.rename.config.crossModule": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable experimental cross-module renaming", "default": false}, "haskell.plugin.hlint.codeActionsOn": {"description": "Enables hlint code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.timeout_duration": {"scope": "resource", "type": "integer", "markdownDescription": "The timeout for Wingman actions, in seconds", "default": 2}, "haskell.releasesURL": {"description": "An optional URL to override where ghcup checks for HLS-GHC compatibility list (usually at: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/hls-metadata-0.0.1.json)", "scope": "resource", "type": "string", "default": ""}, "haskell.ghcupExecutablePath": {"scope": "resource", "type": "string", "markdownDescription": "Manually set a ghcup executable path.", "default": ""}, "haskell.checkProject": {"description": "Whether to typecheck the entire project on load. It could drive to bad performance in large projects.", "scope": "resource", "type": "boolean", "default": true}, "haskell.serverExecutablePath": {"scope": "resource", "type": "string", "markdownDescription": "Manually set a language server executable. Can be something on the $PATH or the full path to the executable itself. Works with `~,` `${HOME}` and `${workspaceFolder}`. **Deprecated scope**: This option will be set to `machine` scope in a future release, so it can be changed only globally, not per workspace.", "default": ""}, "haskell.plugin.ghcide-hover-and-symbols.symbolsOn": {"description": "Enables ghcide-hover-and-symbols symbols", "scope": "resource", "type": "boolean", "default": true}, "haskell.maxCompletions": {"description": "Maximum number of completions sent to the editor.", "scope": "resource", "type": "integer", "default": 40}, "haskell.plugin.eval.config.exception": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable marking exceptions with `*** Exception:` similarly to doctest and GHCi.", "default": false}, "haskell.serverExtraArgs": {"scope": "resource", "type": "string", "markdownDescription": "Pass additional arguments to the language server.", "default": ""}, "haskell.logFile": {"description": "If set, redirects the logs to a file.", "scope": "resource", "type": "string", "default": ""}, "haskell.plugin.qualifyImportedNames.globalOn": {"description": "Enables qualifyImportedNames plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.proofstate_styling": {"scope": "resource", "type": "boolean", "markdownDescription": "Should Wingman emit styling markup when showing metaprogram proof states?", "default": true}, "haskell.plugin.tactics.config.max_use_ctor_actions": {"scope": "resource", "type": "integer", "markdownDescription": "Maximum number of `Use constructor ` code actions that can appear", "default": 5}, "haskell.trace.client": {"description": "Sets the log level in the client side.", "enum": ["off", "error", "info", "debug"], "scope": "resource", "type": "string", "default": "info"}, "haskell.plugin.changeTypeSignature.globalOn": {"description": "Enables changeTypeSignature plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-bindings.globalOn": {"description": "Enables ghcide-code-actions-bindings plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.openDocumentationInHackage": {"description": "When opening 'Documentation' for external libraries, open in hackage by default. Set to false to instead open in vscode.", "scope": "resource", "type": "boolean", "default": true}, "haskell.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "resource", "type": "string", "default": "off"}, "haskell.formattingProvider": {"description": "The formatter to use when formatting a document or range. Ensure the plugin is enabled.", "enum": ["brittany", "floskell", "fourmolu", "ormolu", "stylish-haskell", "none"], "scope": "resource", "type": "string", "default": "ormolu"}, "haskell.plugin.alternateNumberFormat.globalOn": {"description": "Enables alternateNumberFormat plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.refineImports.codeActionsOn": {"description": "Enables refineImports code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.manageHLS": {"description": "How to manage/find HLS installations.", "enum": ["GHCup", "PATH"], "scope": "resource", "type": "string", "enumDescriptions": ["Will use ghcup and manage Haskell toolchain in the default location (usually '~/.ghcup')", "Discovers HLS and other executables in system PATH"], "default": "PATH"}, "haskell.plugin.class.globalOn": {"description": "Enables class plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.releasesDownloadStoragePath": {"scope": "resource", "type": "string", "markdownDescription": "An optional path where downloaded metadata will be stored. Check the default value [here](https://github.com/haskell/vscode-haskell#downloaded-binaries)", "default": ""}, "haskell.plugin.callHierarchy.globalOn": {"description": "Enables callHierarchy plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.haddockComments.globalOn": {"description": "Enables haddockComments plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.refineImports.codeLensOn": {"description": "Enables refineImports code lenses", "scope": "resource", "type": "boolean", "default": true}, "haskell.promptBeforeDownloads": {"scope": "machine", "type": "boolean", "markdownDescription": "Prompt before performing any downloads.", "default": "true"}, "haskell.plugin.eval.globalOn": {"description": "Enables eval plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.retrie.globalOn": {"description": "Enables retrie plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-fill-holes.globalOn": {"description": "Enables ghcide-code-actions-fill-holes plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.serverEnvironment": {"scope": "resource", "type": "object", "markdownDescription": "Define environment variables for the language server.", "default": {}}, "haskell.plugin.ghcide-completions.config.snippetsOn": {"scope": "resource", "type": "boolean", "markdownDescription": "Inserts snippets when using code completions", "default": true}, "haskell.plugin.ghcide-completions.config.autoExtendOn": {"scope": "resource", "type": "boolean", "markdownDescription": "Extends the import list automatically when completing a out-of-scope identifier", "default": true}, "haskell.plugin.tactics.codeLensOn": {"description": "Enables tactics code lenses", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.hlint.diagnosticsOn": {"description": "Enables hlint diagnostics", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.hole_severity": {"description": "The severity to use when showing hole diagnostics. These are noisy, but some editors don't allow jumping to all severities.", "enum": [1, 2, 3, 4, null], "scope": "resource", "type": "string", "enumDescriptions": ["error", "warning", "info", "hint", "none"], "default": null}, "haskell.plugin.importLens.codeLensOn": {"description": "Enables importLens code lenses", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.pragmas.codeActionsOn": {"description": "Enables pragmas code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.codeActionsOn": {"description": "Enables tactics code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-hover-and-symbols.hoverOn": {"description": "Enables ghcide-hover-and-symbols hover", "scope": "resource", "type": "boolean", "default": true}, "haskell.toolchain": {"description": "When manageHLS is set to GHCup, this can overwrite the automatic toolchain configuration with a more specific one. When a tool is omitted, the extension will manage the version (for 'ghc' we try to figure out the version the project requires). The format is '{\"tool\": \"version\", ...}'. 'version' accepts all identifiers that 'ghcup' accepts.", "scope": "resource", "type": "object", "default": {}}, "haskell.metadataURL": {"description": "An optional URL to override where ghcup checks for tool download info (usually at: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.7.yaml)", "scope": "resource", "type": "string", "default": ""}, "haskell.plugin.rename.globalOn": {"description": "Enables rename plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-type-signatures.globalOn": {"description": "Enables ghcide-code-actions-type-signatures plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.openSourceInHackage": {"description": "When opening 'Source' for external libraries, open in hackage by default. Set to false to instead open in vscode.", "scope": "resource", "type": "boolean", "default": true}, "haskell.upgradeGHCup": {"description": "Whether to upgrade GHCup automatically when 'manageHLS' is set to 'GHCup'.", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-imports-exports.globalOn": {"description": "Enables ghcide-code-actions-imports-exports plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.hoverOn": {"description": "Enables tactics hover", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.importLens.codeActionsOn": {"description": "Enables importLens code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-type-lenses.config.mode": {"description": "Control how type lenses are shown", "enum": ["always", "exported", "diagnostics"], "scope": "resource", "type": "string", "enumDescriptions": ["Always displays type lenses of global bindings", "Only display type lenses of exported global bindings", "Follows error messages produced by GHC about missing signatures"], "default": "always"}, "haskell.plugin.hlint.config.flags": {"scope": "resource", "type": "array", "markdownDescription": "Flags used by hlint", "default": []}, "haskell.plugin.moduleName.globalOn": {"description": "Enables moduleName plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.pragmas.completionOn": {"description": "Enables pragmas completions", "scope": "resource", "type": "boolean", "default": true}}, "description": "Haskell language support powered by the Haskell Language Server", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"haskell.plugin.ghcide-completions.globalOn": {"description": "Enables ghcide-completions plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.auto_gas": {"scope": "resource", "type": "integer", "markdownDescription": "The depth of the search tree when performing \"Attempt to fill hole\". Bigger values will be able to derive more solutions, but will take exponentially more time.", "default": 4}, "haskell.plugin.ghcide-type-lenses.globalOn": {"description": "Enables ghcide-type-lenses plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.eval.config.diff": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable the diff output (WAS/NOW) of eval lenses", "default": true}, "haskell.plugin.rename.globalOn": {"description": "Enables rename plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.splice.globalOn": {"description": "Enables splice plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.rename.config.crossModule": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable experimental cross-module renaming", "default": false}, "haskell.plugin.hlint.codeActionsOn": {"description": "Enables hlint code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.timeout_duration": {"scope": "resource", "type": "integer", "markdownDescription": "The timeout for Wingman actions, in seconds", "default": 2}, "haskell.releasesURL": {"description": "An optional URL to override where ghcup checks for HLS-GHC compatibility list (usually at: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/hls-metadata-0.0.1.json)", "scope": "resource", "type": "string", "default": ""}, "haskell.ghcupExecutablePath": {"scope": "resource", "type": "string", "markdownDescription": "Manually set a ghcup executable path.", "default": ""}, "haskell.checkProject": {"description": "Whether to typecheck the entire project on load. It could drive to bad performance in large projects.", "scope": "resource", "type": "boolean", "default": true}, "haskell.serverExecutablePath": {"scope": "resource", "type": "string", "markdownDescription": "Manually set a language server executable. Can be something on the $PATH or the full path to the executable itself. Works with `~,` `${HOME}` and `${workspaceFolder}`. **Deprecated scope**: This option will be set to `machine` scope in a future release, so it can be changed only globally, not per workspace.", "default": ""}, "haskell.plugin.ghcide-hover-and-symbols.symbolsOn": {"description": "Enables ghcide-hover-and-symbols symbols", "scope": "resource", "type": "boolean", "default": true}, "haskell.maxCompletions": {"description": "Maximum number of completions sent to the editor.", "scope": "resource", "type": "integer", "default": 40}, "haskell.plugin.eval.config.exception": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable marking exceptions with `*** Exception:` similarly to doctest and GHCi.", "default": false}, "haskell.serverExtraArgs": {"scope": "resource", "type": "string", "markdownDescription": "Pass additional arguments to the language server.", "default": ""}, "haskell.logFile": {"description": "If set, redirects the logs to a file.", "scope": "resource", "type": "string", "default": ""}, "haskell.plugin.qualifyImportedNames.globalOn": {"description": "Enables qualifyImportedNames plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.proofstate_styling": {"scope": "resource", "type": "boolean", "markdownDescription": "Should Wingman emit styling markup when showing metaprogram proof states?", "default": true}, "haskell.plugin.tactics.config.max_use_ctor_actions": {"scope": "resource", "type": "integer", "markdownDescription": "Maximum number of `Use constructor ` code actions that can appear", "default": 5}, "haskell.trace.client": {"description": "Sets the log level in the client side.", "enum": ["off", "error", "info", "debug"], "scope": "resource", "type": "string", "default": "info"}, "haskell.plugin.changeTypeSignature.globalOn": {"description": "Enables changeTypeSignature plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-bindings.globalOn": {"description": "Enables ghcide-code-actions-bindings plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.openDocumentationInHackage": {"description": "When opening 'Documentation' for external libraries, open in hackage by default. Set to false to instead open in vscode.", "scope": "resource", "type": "boolean", "default": true}, "haskell.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "resource", "type": "string", "default": "off"}, "haskell.formattingProvider": {"description": "The formatter to use when formatting a document or range. Ensure the plugin is enabled.", "enum": ["brittany", "floskell", "fourmolu", "ormolu", "stylish-haskell", "none"], "scope": "resource", "type": "string", "default": "ormolu"}, "haskell.plugin.alternateNumberFormat.globalOn": {"description": "Enables alternateNumberFormat plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-completions.config.autoExtendOn": {"scope": "resource", "type": "boolean", "markdownDescription": "Extends the import list automatically when completing a out-of-scope identifier", "default": true}, "haskell.manageHLS": {"description": "How to manage/find HLS installations.", "enum": ["GHCup", "PATH"], "scope": "resource", "type": "string", "enumDescriptions": ["Will use ghcup and manage Haskell toolchain in the default location (usually '~/.ghcup')", "Discovers HLS and other executables in system PATH"], "default": "PATH"}, "haskell.plugin.ghcide-hover-and-symbols.hoverOn": {"description": "Enables ghcide-hover-and-symbols hover", "scope": "resource", "type": "boolean", "default": true}, "haskell.releasesDownloadStoragePath": {"scope": "resource", "type": "string", "markdownDescription": "An optional path where downloaded metadata will be stored. Check the default value [here](https://github.com/haskell/vscode-haskell#downloaded-binaries)", "default": ""}, "haskell.plugin.callHierarchy.globalOn": {"description": "Enables callHierarchy plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.haddockComments.globalOn": {"description": "Enables haddockComments plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.refineImports.codeLensOn": {"description": "Enables refineImports code lenses", "scope": "resource", "type": "boolean", "default": true}, "haskell.promptBeforeDownloads": {"scope": "machine", "type": "boolean", "markdownDescription": "Prompt before performing any downloads.", "default": "true"}, "haskell.plugin.eval.globalOn": {"description": "Enables eval plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.retrie.globalOn": {"description": "Enables retrie plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-fill-holes.globalOn": {"description": "Enables ghcide-code-actions-fill-holes plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.serverEnvironment": {"scope": "resource", "type": "object", "markdownDescription": "Define environment variables for the language server.", "default": {}}, "haskell.plugin.ghcide-completions.config.snippetsOn": {"scope": "resource", "type": "boolean", "markdownDescription": "Inserts snippets when using code completions", "default": true}, "haskell.plugin.refineImports.codeActionsOn": {"description": "Enables refineImports code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.codeLensOn": {"description": "Enables tactics code lenses", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.hlint.diagnosticsOn": {"description": "Enables hlint diagnostics", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.config.hole_severity": {"description": "The severity to use when showing hole diagnostics. These are noisy, but some editors don't allow jumping to all severities.", "enum": [1, 2, 3, 4, null], "scope": "resource", "type": "string", "enumDescriptions": ["error", "warning", "info", "hint", "none"], "default": null}, "haskell.plugin.importLens.codeLensOn": {"description": "Enables importLens code lenses", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.codeActionsOn": {"description": "Enables tactics code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.pragmas.codeActionsOn": {"description": "Enables pragmas code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.toolchain": {"description": "When manageHLS is set to GHCup, this can overwrite the automatic toolchain configuration with a more specific one. When a tool is omitted, the extension will manage the version (for 'ghc' we try to figure out the version the project requires). The format is '{\"tool\": \"version\", ...}'. 'version' accepts all identifiers that 'ghcup' accepts.", "scope": "resource", "type": "object", "default": {}}, "haskell.metadataURL": {"description": "An optional URL to override where ghcup checks for tool download info (usually at: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.7.yaml)", "scope": "resource", "type": "string", "default": ""}, "haskell.plugin.class.globalOn": {"description": "Enables class plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-type-signatures.globalOn": {"description": "Enables ghcide-code-actions-type-signatures plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.openSourceInHackage": {"description": "When opening 'Source' for external libraries, open in hackage by default. Set to false to instead open in vscode.", "scope": "resource", "type": "boolean", "default": true}, "haskell.upgradeGHCup": {"description": "Whether to upgrade GHCup automatically when 'manageHLS' is set to 'GHCup'.", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-code-actions-imports-exports.globalOn": {"description": "Enables ghcide-code-actions-imports-exports plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.tactics.hoverOn": {"description": "Enables tactics hover", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.importLens.codeActionsOn": {"description": "Enables importLens code actions", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.ghcide-type-lenses.config.mode": {"description": "Control how type lenses are shown", "enum": ["always", "exported", "diagnostics"], "scope": "resource", "type": "string", "enumDescriptions": ["Always displays type lenses of global bindings", "Only display type lenses of exported global bindings", "Follows error messages produced by GHC about missing signatures"], "default": "always"}, "haskell.plugin.hlint.config.flags": {"scope": "resource", "type": "array", "markdownDescription": "Flags used by hlint", "default": []}, "haskell.plugin.moduleName.globalOn": {"description": "Enables moduleName plugin", "scope": "resource", "type": "boolean", "default": true}, "haskell.plugin.pragmas.completionOn": {"description": "Enables pragmas completions", "scope": "resource", "type": "boolean", "default": true}}, "description": "Haskell language support powered by the Haskell Language Server", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/html.json b/schemas/html.json index 79b3c73..7f8323f 100644 --- a/schemas/html.json +++ b/schemas/html.json @@ -1 +1 @@ -{"properties": {"html.format.indentHandlebars": {"scope": "resource", "type": "boolean", "markdownDescription": "%html.format.indentHandlebars.desc%", "default": false}, "html.hover.documentation": {"description": "%html.hover.documentation%", "scope": "resource", "type": "boolean", "default": true}, "html.format.wrapAttributesIndentSize": {"scope": "resource", "type": ["number", "null"], "markdownDescription": "%html.format.wrapAttributesIndentSize.desc%", "default": null}, "html.format.preserveNewLines": {"description": "%html.format.preserveNewLines.desc%", "scope": "resource", "type": "boolean", "default": true}, "html.completion.attributeDefaultValue": {"description": "%html.completion.attributeDefaultValue%", "enum": ["doublequotes", "singlequotes", "empty"], "scope": "resource", "type": "string", "enumDescriptions": ["%html.completion.attributeDefaultValue.doublequotes%", "%html.completion.attributeDefaultValue.singlequotes%", "%html.completion.attributeDefaultValue.empty%"], "default": "doublequotes"}, "html.validate.scripts": {"description": "%html.validate.scripts%", "scope": "resource", "type": "boolean", "default": true}, "html.trace.server": {"description": "%html.trace.server.desc%", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "html.customData": {"scope": "resource", "type": "array", "markdownDescription": "%html.customData.desc%", "default": [], "items": {"type": "string"}}, "html.format.enable": {"description": "%html.format.enable.desc%", "scope": "window", "type": "boolean", "default": true}, "html.format.wrapLineLength": {"description": "%html.format.wrapLineLength.desc%", "scope": "resource", "type": "integer", "default": 120}, "html.format.unformatted": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "%html.format.unformatted.desc%", "default": "wbr"}, "html.mirrorCursorOnMatchingTag": {"deprecationMessage": "%html.mirrorCursorOnMatchingTagDeprecationMessage%", "description": "%html.mirrorCursorOnMatchingTag%", "scope": "resource", "type": "boolean", "default": false}, "html.suggest.html5": {"description": "%html.suggest.html5.desc%", "scope": "resource", "type": "boolean", "default": true}, "html.autoCreateQuotes": {"description": "%html.autoCreateQuotes%", "scope": "resource", "type": "boolean", "default": true}, "html.hover.references": {"description": "%html.hover.references%", "scope": "resource", "type": "boolean", "default": true}, "html.format.unformattedContentDelimiter": {"scope": "resource", "type": "string", "markdownDescription": "%html.format.unformattedContentDelimiter.desc%", "default": ""}, "html.format.contentUnformatted": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "%html.format.contentUnformatted.desc%", "default": "pre,code,textarea"}, "html.validate.styles": {"description": "%html.validate.styles%", "scope": "resource", "type": "boolean", "default": true}, "html.format.maxPreserveNewLines": {"scope": "resource", "type": ["number", "null"], "markdownDescription": "%html.format.maxPreserveNewLines.desc%", "default": null}, "html.autoClosingTags": {"description": "%html.autoClosingTags%", "scope": "resource", "type": "boolean", "default": true}, "html.format.templating": {"description": "%html.format.templating.desc%", "scope": "resource", "type": "boolean", "default": false}, "html.format.wrapAttributes": {"description": "%html.format.wrapAttributes.desc%", "enum": ["auto", "force", "force-aligned", "force-expand-multiline", "aligned-multiple", "preserve", "preserve-aligned"], "scope": "resource", "type": "string", "enumDescriptions": ["%html.format.wrapAttributes.auto%", "%html.format.wrapAttributes.force%", "%html.format.wrapAttributes.forcealign%", "%html.format.wrapAttributes.forcemultiline%", "%html.format.wrapAttributes.alignedmultiple%", "%html.format.wrapAttributes.preserve%", "%html.format.wrapAttributes.preservealigned%"], "default": "auto"}, "html.format.indentInnerHtml": {"scope": "resource", "type": "boolean", "markdownDescription": "%html.format.indentInnerHtml.desc%", "default": false}, "html.format.extraLiners": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "%html.format.extraLiners.desc%", "default": "head, body, /html"}}, "description": "%description%", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"html.format.indentHandlebars": {"scope": "resource", "type": "boolean", "markdownDescription": "%html.format.indentHandlebars.desc%", "default": false}, "html.format.preserveNewLines": {"description": "%html.format.preserveNewLines.desc%", "scope": "resource", "type": "boolean", "default": true}, "html.format.wrapAttributesIndentSize": {"scope": "resource", "type": ["number", "null"], "markdownDescription": "%html.format.wrapAttributesIndentSize.desc%", "default": null}, "html.hover.documentation": {"description": "%html.hover.documentation%", "scope": "resource", "type": "boolean", "default": true}, "html.completion.attributeDefaultValue": {"description": "%html.completion.attributeDefaultValue%", "enum": ["doublequotes", "singlequotes", "empty"], "scope": "resource", "type": "string", "enumDescriptions": ["%html.completion.attributeDefaultValue.doublequotes%", "%html.completion.attributeDefaultValue.singlequotes%", "%html.completion.attributeDefaultValue.empty%"], "default": "doublequotes"}, "html.trace.server": {"description": "%html.trace.server.desc%", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "html.validate.scripts": {"description": "%html.validate.scripts%", "scope": "resource", "type": "boolean", "default": true}, "html.validate.styles": {"description": "%html.validate.styles%", "scope": "resource", "type": "boolean", "default": true}, "html.customData": {"scope": "resource", "type": "array", "markdownDescription": "%html.customData.desc%", "default": [], "items": {"type": "string"}}, "html.format.enable": {"description": "%html.format.enable.desc%", "scope": "window", "type": "boolean", "default": true}, "html.format.wrapLineLength": {"description": "%html.format.wrapLineLength.desc%", "scope": "resource", "type": "integer", "default": 120}, "html.format.unformatted": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "%html.format.unformatted.desc%", "default": "wbr"}, "html.mirrorCursorOnMatchingTag": {"deprecationMessage": "%html.mirrorCursorOnMatchingTagDeprecationMessage%", "description": "%html.mirrorCursorOnMatchingTag%", "scope": "resource", "type": "boolean", "default": false}, "html.suggest.html5": {"description": "%html.suggest.html5.desc%", "scope": "resource", "type": "boolean", "default": true}, "html.autoCreateQuotes": {"description": "%html.autoCreateQuotes%", "scope": "resource", "type": "boolean", "default": true}, "html.hover.references": {"description": "%html.hover.references%", "scope": "resource", "type": "boolean", "default": true}, "html.format.unformattedContentDelimiter": {"scope": "resource", "type": "string", "markdownDescription": "%html.format.unformattedContentDelimiter.desc%", "default": ""}, "html.format.contentUnformatted": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "%html.format.contentUnformatted.desc%", "default": "pre,code,textarea"}, "html.format.maxPreserveNewLines": {"scope": "resource", "type": ["number", "null"], "markdownDescription": "%html.format.maxPreserveNewLines.desc%", "default": null}, "html.autoClosingTags": {"description": "%html.autoClosingTags%", "scope": "resource", "type": "boolean", "default": true}, "html.format.templating": {"description": "%html.format.templating.desc%", "scope": "resource", "type": "boolean", "default": false}, "html.format.wrapAttributes": {"description": "%html.format.wrapAttributes.desc%", "enum": ["auto", "force", "force-aligned", "force-expand-multiline", "aligned-multiple", "preserve", "preserve-aligned"], "scope": "resource", "type": "string", "enumDescriptions": ["%html.format.wrapAttributes.auto%", "%html.format.wrapAttributes.force%", "%html.format.wrapAttributes.forcealign%", "%html.format.wrapAttributes.forcemultiline%", "%html.format.wrapAttributes.alignedmultiple%", "%html.format.wrapAttributes.preserve%", "%html.format.wrapAttributes.preservealigned%"], "default": "auto"}, "html.format.indentInnerHtml": {"scope": "resource", "type": "boolean", "markdownDescription": "%html.format.indentInnerHtml.desc%", "default": false}, "html.format.extraLiners": {"scope": "resource", "type": ["string", "null"], "markdownDescription": "%html.format.extraLiners.desc%", "default": "head, body, /html"}}, "description": "%description%", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/intelephense.json b/schemas/intelephense.json index 1f4a219..feaa8ce 100644 --- a/schemas/intelephense.json +++ b/schemas/intelephense.json @@ -1 +1 @@ -{"properties": {"intelephense.phpdoc.classTemplate": {"properties": {"tags": {"description": "An array of snippet strings representing phpdoc tags.", "type": "array", "items": {"type": "string"}}, "description": {"description": "A snippet string representing a phpdoc description.", "type": "string"}, "summary": {"description": "A snippet string representing a phpdoc summary.", "type": "string"}}, "description": "An object that describes the format of generated class/interface/trait phpdoc. The following snippet variables are available: SYMBOL_NAME; SYMBOL_KIND; SYMBOL_TYPE; SYMBOL_NAMESPACE.", "scope": "window", "type": "object", "default": {"tags": ["@package ${1:$SYMBOL_NAMESPACE}"], "summary": "$1"}}, "intelephense.rename.namespaceMode": {"description": "Controls the scope of a namespace rename operation.", "enum": ["single", "all"], "scope": "window", "type": "string", "enumDescriptions": ["Only symbols defined in the current file are affected. For example, this makes a rename of a namespace the equivalent of a single move class operation.", "All symbols that share this namespace, not necessarily defined in the current file will be affected. For example it would move all classes that share this namespace to the new namespace."], "default": "single"}, "intelephense.diagnostics.implementationErrors": {"description": "Enables reporting of problems associated with method and class implementations. For example, unimplemented methods or method signature incompatibilities.", "scope": "window", "type": "boolean", "default": true}, "intelephense.stubs": {"description": "Configure stub files for built in symbols and common extensions. The default setting includes PHP core and all bundled extensions.", "scope": "window", "type": "array", "default": ["apache", "bcmath", "bz2", "calendar", "com_dotnet", "Core", "ctype", "curl", "date", "dba", "dom", "enchant", "exif", "FFI", "fileinfo", "filter", "fpm", "ftp", "gd", "gettext", "gmp", "hash", "iconv", "imap", "intl", "json", "ldap", "libxml", "mbstring", "meta", "mysqli", "oci8", "odbc", "openssl", "pcntl", "pcre", "PDO", "pdo_ibm", "pdo_mysql", "pdo_pgsql", "pdo_sqlite", "pgsql", "Phar", "posix", "pspell", "readline", "Reflection", "session", "shmop", "SimpleXML", "snmp", "soap", "sockets", "sodium", "SPL", "sqlite3", "standard", "superglobals", "sysvmsg", "sysvsem", "sysvshm", "tidy", "tokenizer", "xml", "xmlreader", "xmlrpc", "xmlwriter", "xsl", "Zend OPcache", "zip", "zlib"], "items": {"enum": ["aerospike", "amqp", "apache", "apcu", "ast", "bcmath", "blackfire", "bz2", "calendar", "cassandra", "com_dotnet", "Core", "couchbase", "couchbase_v2", "crypto", "ctype", "cubrid", "curl", "date", "dba", "decimal", "dio", "dom", "ds", "enchant", "Ev", "event", "exif", "fann", "FFI", "ffmpeg", "fileinfo", "filter", "fpm", "ftp", "gd", "gearman", "geoip", "geos", "gettext", "gmagick", "gmp", "gnupg", "grpc", "hash", "http", "ibm_db2", "iconv", "igbinary", "imagick", "imap", "inotify", "interbase", "intl", "json", "judy", "ldap", "leveldb", "libevent", "libsodium", "libvirt-php", "libxml", "lua", "LuaSandbox", "lzf", "mailparse", "mapscript", "mbstring", "mcrypt", "memcache", "memcached", "meminfo", "meta", "ming", "mongo", "mongodb", "mosquitto-php", "mqseries", "msgpack", "mssql", "mysql", "mysql_xdevapi", "mysqli", "ncurses", "newrelic", "oauth", "oci8", "odbc", "openssl", "parallel", "Parle", "pcntl", "pcov", "pcre", "pdflib", "PDO", "pdo_ibm", "pdo_mysql", "pdo_pgsql", "pdo_sqlite", "pgsql", "Phar", "phpdbg", "posix", "pspell", "pthreads", "radius", "rar", "rdkafka", "readline", "recode", "redis", "Reflection", "regex", "rpminfo", "rrd", "SaxonC", "session", "shmop", "SimpleXML", "snmp", "soap", "sockets", "sodium", "solr", "SPL", "SplType", "SQLite", "sqlite3", "sqlsrv", "ssh2", "standard", "stats", "stomp", "suhosin", "superglobals", "svm", "svn", "sybase", "sync", "sysvmsg", "sysvsem", "sysvshm", "tidy", "tokenizer", "uopz", "uuid", "uv", "v8js", "wddx", "win32service", "winbinder", "wincache", "wordpress", "xcache", "xdebug", "xhprof", "xlswriter", "xml", "xmlreader", "xmlrpc", "xmlwriter", "xsl", "xxtea", "yaf", "yaml", "yar", "zend", "Zend OPcache", "ZendCache", "ZendDebugger", "ZendUtils", "zip", "zlib", "zmq", "zookeeper", "zstd"], "type": "string"}}, "intelephense.environment.documentRoot": {"description": "The directory of the entry point to the application (directory of index.php). Can be absolute or relative to the workspace folder. Used for resolving script inclusion and path suggestions.", "scope": "resource", "type": "string"}, "intelephense.trace.server": {"description": "Traces the communication between VSCode and the intelephense language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "intelephense.completion.insertUseDeclaration": {"description": "Use declarations will be automatically inserted for namespaced classes, traits, interfaces, functions, and constants.", "scope": "window", "type": "boolean", "default": true}, "intelephense.diagnostics.undefinedVariables": {"description": "Enables undefined variable diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.completion.fullyQualifyGlobalConstantsAndFunctions": {"description": "Global namespace constants and functions will be fully qualified (prefixed with a backslash).", "scope": "window", "type": "boolean", "default": false}, "intelephense.diagnostics.undefinedTypes": {"description": "Enables undefined class, interface and trait diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.format.braces": {"description": "Controls formatting style of braces", "enum": ["psr12", "allman", "k&r"], "scope": "window", "type": "string", "enumDescriptions": ["PHP-FIG PSR-2 and PSR-12 style. A mix of Allman and K&R", "Allman. Opening brace on the next line.", "K&R (1TBS). Opening brace on the same line."], "default": "psr12"}, "intelephense.diagnostics.undefinedConstants": {"description": "Enables undefined constant diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.compatibility.correctForArrayAccessArrayAndTraversableArrayUnionTypes": {"description": "Resolves `ArrayAccess` and `Traversable` implementations that are unioned with a typed array to generic syntax. eg `ArrayAccessOrTraversable|ElementType[]` => `ArrayAccessOrTraversable`.", "scope": "window", "type": "boolean", "default": true}, "intelephense.diagnostics.deprecated": {"description": "Enables deprecated diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.diagnostics.argumentCount": {"description": "Enables argument count diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.diagnostics.run": {"description": "Controls when diagnostics are run.", "enum": ["onType", "onSave"], "scope": "window", "type": "string", "enumDescriptions": ["Diagnostics will run as changes are made to the document.", "Diagnostics will run when the document is saved."], "default": "onType"}, "intelephense.diagnostics.languageConstraints": {"description": "Enables reporting of various language constraint errors.", "scope": "window", "type": "boolean", "default": true}, "intelephense.completion.maxItems": {"description": "The maximum number of completion items returned per request.", "scope": "window", "type": "number", "default": 100}, "intelephense.environment.phpVersion": {"description": "A semver compatible string that represents the target PHP version. Used for providing version appropriate suggestions and diagnostics. PHP 5.3.0 and greater supported.", "scope": "window", "type": "string", "default": "8.1.0"}, "intelephense.rename.exclude": {"description": "Glob patterns matching files and folders that should be excluded when renaming symbols. Rename operation will fail if the symbol definition is found in the excluded files/folders.", "scope": "resource", "type": "array", "default": ["**/vendor/**"], "items": {"type": "string"}}, "intelephense.files.exclude": {"description": "Configure glob patterns to exclude certain files and folders from all language server features. Inherits from files.exclude.", "scope": "resource", "type": "array", "default": ["**/.git/**", "**/.svn/**", "**/.hg/**", "**/CVS/**", "**/.DS_Store/**", "**/node_modules/**", "**/bower_components/**", "**/vendor/**/{Tests,tests}/**", "**/.history/**", "**/vendor/**/vendor/**"], "items": {"type": "string"}}, "intelephense.compatibility.correctForBaseClassStaticUnionTypes": {"description": "Resolves `BaseClass|static` union types to `static` instead of `BaseClass`.", "scope": "window", "type": "boolean", "default": true}, "intelephense.maxMemory": {"description": "Maximum memory (in MB) that the server should use. On some systems this may only have effect when runtime has been set. Minimum 256.", "scope": "window", "type": "number"}, "intelephense.telemetry.enabled": {"description": "Anonymous usage and crash data will be sent to Azure Application Insights. Inherits from telemetry.enableTelemetry.", "scope": "window", "type": ["boolean", "null"], "default": null}, "intelephense.phpdoc.propertyTemplate": {"properties": {"tags": {"description": "An array of snippet strings representing phpdoc tags.", "type": "array", "items": {"type": "string"}}, "description": {"description": "A snippet string representing a phpdoc description.", "type": "string"}, "summary": {"description": "A snippet string representing a phpdoc summary.", "type": "string"}}, "description": "An object that describes the format of generated property phpdoc. The following snippet variables are available: SYMBOL_NAME; SYMBOL_KIND; SYMBOL_TYPE; SYMBOL_NAMESPACE.", "scope": "window", "type": "object", "default": {"tags": ["@var ${1:$SYMBOL_TYPE}"], "summary": "$1"}}, "intelephense.files.associations": {"description": "Configure glob patterns to make files available for language server features. Inherits from files.associations.", "scope": "window", "type": "array", "default": ["*.php", "*.phtml"]}, "intelephense.diagnostics.undefinedMethods": {"description": "Enables undefined method diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.environment.shortOpenTag": {"description": "When enabled ' `ArrayAccessOrTraversable`.", "scope": "window", "type": "boolean", "default": true}, "intelephense.diagnostics.deprecated": {"description": "Enables deprecated diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.diagnostics.argumentCount": {"description": "Enables argument count diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.diagnostics.run": {"description": "Controls when diagnostics are run.", "enum": ["onType", "onSave"], "scope": "window", "type": "string", "enumDescriptions": ["Diagnostics will run as changes are made to the document.", "Diagnostics will run when the document is saved."], "default": "onType"}, "intelephense.diagnostics.languageConstraints": {"description": "Enables reporting of various language constraint errors.", "scope": "window", "type": "boolean", "default": true}, "intelephense.completion.maxItems": {"description": "The maximum number of completion items returned per request.", "scope": "window", "type": "number", "default": 100}, "intelephense.environment.phpVersion": {"description": "A semver compatible string that represents the target PHP version. Used for providing version appropriate suggestions and diagnostics. PHP 5.3.0 and greater supported.", "scope": "window", "type": "string", "default": "8.1.0"}, "intelephense.rename.exclude": {"description": "Glob patterns matching files and folders that should be excluded when renaming symbols. Rename operation will fail if the symbol definition is found in the excluded files/folders.", "scope": "resource", "type": "array", "default": ["**/vendor/**"], "items": {"type": "string"}}, "intelephense.files.exclude": {"description": "Configure glob patterns to exclude certain files and folders from all language server features. Inherits from files.exclude.", "scope": "resource", "type": "array", "default": ["**/.git/**", "**/.svn/**", "**/.hg/**", "**/CVS/**", "**/.DS_Store/**", "**/node_modules/**", "**/bower_components/**", "**/vendor/**/{Tests,tests}/**", "**/.history/**", "**/vendor/**/vendor/**"], "items": {"type": "string"}}, "intelephense.compatibility.correctForBaseClassStaticUnionTypes": {"description": "Resolves `BaseClass|static` union types to `static` instead of `BaseClass`.", "scope": "window", "type": "boolean", "default": true}, "intelephense.maxMemory": {"description": "Maximum memory (in MB) that the server should use. On some systems this may only have effect when runtime has been set. Minimum 256.", "scope": "window", "type": "number"}, "intelephense.telemetry.enabled": {"description": "Anonymous usage and crash data will be sent to Azure Application Insights. Inherits from telemetry.enableTelemetry.", "scope": "window", "type": ["boolean", "null"], "default": null}, "intelephense.phpdoc.propertyTemplate": {"properties": {"tags": {"description": "An array of snippet strings representing phpdoc tags.", "type": "array", "items": {"type": "string"}}, "description": {"description": "A snippet string representing a phpdoc description.", "type": "string"}, "summary": {"description": "A snippet string representing a phpdoc summary.", "type": "string"}}, "description": "An object that describes the format of generated property phpdoc. The following snippet variables are available: SYMBOL_NAME; SYMBOL_KIND; SYMBOL_TYPE; SYMBOL_NAMESPACE.", "scope": "window", "type": "object", "default": {"tags": ["@var ${1:$SYMBOL_TYPE}"], "summary": "$1"}}, "intelephense.files.associations": {"description": "Configure glob patterns to make files available for language server features. Inherits from files.associations.", "scope": "window", "type": "array", "default": ["*.php", "*.phtml"]}, "intelephense.diagnostics.undefinedMethods": {"description": "Enables undefined method diagnostics.", "scope": "window", "type": "boolean", "default": true}, "intelephense.environment.shortOpenTag": {"description": "When enabled '` or `}`", "scope": "window", "type": "boolean", "default": true}, "java.completion.guessMethodArguments": {"description": "When set to true, method arguments are guessed when a method is selected from as list of code assist proposals.", "scope": "window", "type": "boolean", "default": true}, "java.codeAction.sortMembers.avoidVolatileChanges": {"description": "Reordering of fields, enum constants, and initializers can result in semantic and runtime changes due to different initialization and persistence order. This setting prevents this from occurring.", "scope": "window", "type": "boolean", "default": true}, "java.import.maven.offline.enabled": {"description": "Enable/disable the Maven offline mode.", "scope": "window", "type": "boolean", "default": false}, "java.signatureHelp.enabled": {"description": "Enable/disable the signature help.", "scope": "window", "type": "boolean", "default": true}, "java.inlayHints.parameterNames.exclusions": {"scope": "window", "type": "array", "markdownDescription": "The patterns for the methods that will be disabled to show the inlay hints. Supported pattern examples:\n - `java.lang.Math.*` - All the methods from java.lang.Math.\n - `*.Arrays.asList` - Methods named as 'asList' in the types named as 'Arrays'.\n - `*.println(*)` - Methods named as 'println'.\n - `(from, to)` - Methods with two parameters named as 'from' and 'to'.\n - `(arg*)` - Methods with one parameter whose name starts with 'arg'.", "default": [], "items": {"type": "string"}}, "java.showBuildStatusOnStart.enabled": {"description": "Automatically show build status on startup.", "scope": "window", "anyOf": [{"enum": ["notification", "terminal", "off"], "enumDescriptions": ["Show the build status via progress notification on start", "Show the build status via terminal on start", "Do not show any build status on start"]}, "boolean"], "default": "notification"}, "java.codeGeneration.insertionLocation": {"description": "Specifies the insertion location of the code generated by source actions.", "enum": ["afterCursor", "beforeCursor", "lastMember"], "scope": "window", "type": "string", "enumDescriptions": ["Insert the generated code after the member where the cursor is located.", "Insert the generated code before the member where the cursor is located.", "Insert the generated code as the last member of the target type."], "default": "afterCursor"}, "java.completion.favoriteStaticMembers": {"description": "Defines a list of static members or types with static members. Content assist will propose those static members even if the import is missing.", "scope": "window", "type": "array", "default": ["org.junit.Assert.*", "org.junit.Assume.*", "org.junit.jupiter.api.Assertions.*", "org.junit.jupiter.api.Assumptions.*", "org.junit.jupiter.api.DynamicContainer.*", "org.junit.jupiter.api.DynamicTest.*", "org.mockito.Mockito.*", "org.mockito.ArgumentMatchers.*", "org.mockito.Answers.*"]}, "java.saveActions.organizeImports": {"description": "Enable/disable auto organize imports on save action", "scope": "window", "type": "boolean", "default": false}, "java.format.enabled": {"description": "Enable/disable default Java formatter", "scope": "window", "type": "boolean", "default": true}, "java.selectionRange.enabled": {"description": "Enable/disable Smart Selection support for Java. Disabling this option will not affect the VS Code built-in word-based and bracket-based smart selection.", "scope": "window", "type": "boolean", "default": true}, "java.imports.gradle.wrapper.checksums": {"description": "Defines allowed/disallowed SHA-256 checksums of Gradle Wrappers", "scope": "application", "type": "array", "default": [], "items": {"properties": {"allowed": {"label": "Is allowed?", "type": "boolean", "default": true}, "sha256": {"label": "SHA-256 checksum.", "type": "string"}}, "required": ["sha256"], "additionalProperties": false, "type": "object", "uniqueItems": true, "default": {}}}, "java.progressReports.enabled": {"description": "[Experimental] Enable/disable progress reports from background processes on the server.", "scope": "window", "type": "boolean", "default": true}, "java.codeGeneration.hashCodeEquals.useInstanceof": {"description": "Use 'instanceof' to compare types when generating the hashCode and equals methods.", "scope": "window", "type": "boolean", "default": false}, "java.project.importOnFirstTimeStartup": {"description": "Specifies whether to import the Java projects, when opening the folder in Hybrid mode for the first time.", "enum": ["disabled", "interactive", "automatic"], "scope": "application", "type": "string", "default": "automatic"}, "java.configuration.maven.notCoveredPluginExecutionSeverity": {"description": "Specifies severity if the plugin execution is not covered by Maven build lifecycle.", "enum": ["ignore", "warning", "error"], "scope": "window", "type": "string", "default": "warning"}, "java.format.settings.profile": {"description": "Optional formatter profile name from the Eclipse formatter settings.", "scope": "window", "type": "string", "default": null}, "java.import.gradle.offline.enabled": {"description": "Enable/disable the Gradle offline mode.", "scope": "window", "type": "boolean", "default": false}, "java.inlayHints.parameterNames.enabled": {"enum": ["none", "literals", "all"], "scope": "window", "type": "string", "markdownDescription": "Enable/disable inlay hints for parameter names:\n```java\n\nInteger.valueOf(/* s: */ '123', /* radix: */ 10)\n \n```\n `#java.inlayHints.parameterNames.exclusions#` can be used to disable the inlay hints for methods.", "enumDescriptions": ["Disable parameter name hints", "Enable parameter name hints only for literal arguments", "Enable parameter name hints for literal and non-literal arguments"], "default": "literals"}, "java.jdt.ls.protobufSupport.enabled": {"scope": "window", "type": "boolean", "markdownDescription": "Specify whether to automatically add Protobuf output source directories to the classpath.\n\n**Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher.", "default": true}, "java.quickfix.showAt": {"description": "Show quickfixes at the problem or line level.", "enum": ["line", "problem"], "scope": "window", "type": "string", "default": "line"}, "java.codeGeneration.toString.skipNullValues": {"description": "Skip null values when generating the toString method.", "scope": "window", "type": "boolean", "default": false}, "java.foldingRange.enabled": {"description": "Enable/disable smart folding range support. If disabled, it will use the default indentation-based folding range provided by VS Code.", "scope": "window", "type": "boolean", "default": true}, "java.configuration.runtimes": {"description": "Map Java Execution Environments to local JDKs.", "scope": "machine-overridable", "type": "array", "default": [], "items": {"properties": {"javadoc": {"description": "JDK javadoc path.", "type": "string"}, "name": {"description": "Java Execution Environment name. Must be unique.", "enum": ["J2SE-1.5", "JavaSE-1.6", "JavaSE-1.7", "JavaSE-1.8", "JavaSE-9", "JavaSE-10", "JavaSE-11", "JavaSE-12", "JavaSE-13", "JavaSE-14", "JavaSE-15", "JavaSE-16", "JavaSE-17", "JavaSE-18", "JavaSE-19"], "type": "string"}, "sources": {"description": "JDK sources path.", "type": "string"}, "default": {"description": "Is default runtime? Only one runtime can be default.", "type": "boolean"}, "path": {"pattern": ".*(?` or `}`", "scope": "window", "type": "boolean", "default": true}, "java.maxConcurrentBuilds": {"minimum": 1, "description": "Max simultaneous project builds", "scope": "window", "type": "integer", "default": 1}, "java.symbols.includeSourceMethodDeclarations": {"scope": "window", "type": "boolean", "markdownDescription": "Include method declarations from source files in symbol search.", "default": false}, "java.errors.incompleteClasspath.severity": {"description": "Specifies the severity of the message when the classpath is incomplete for a Java file", "enum": ["ignore", "info", "warning", "error"], "scope": "window", "type": ["string"], "default": "warning"}, "java.autobuild.enabled": {"description": "Enable/disable the 'auto build'", "scope": "window", "type": "boolean", "default": true}, "java.completion.enabled": {"description": "Enable/disable code completion support", "scope": "window", "type": "boolean", "default": true}, "java.import.exclusions": {"description": "Configure glob patterns for excluding folders. Use `!` to negate patterns to allow subfolders imports. You have to include a parent directory. The order is important.", "scope": "window", "type": "array", "default": ["**/node_modules/**", "**/.metadata/**", "**/archetype-resources/**", "**/META-INF/maven/**"]}, "java.import.generatesMetadataFilesAtProjectRoot": {"scope": "window", "type": "boolean", "markdownDescription": "Specify whether the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated at the project root. Click [HERE](command:_java.metadataFilesGeneration) to learn how to change the setting to make it take effect.", "default": false}, "java.configuration.checkProjectSettingsExclusions": {"deprecationMessage": "Please use 'java.import.generatesMetadataFilesAtProjectRoot' to control whether to generate the project metadata files at the project root. And use 'files.exclude' to control whether to hide the project metadata files from the file explorer.", "description": "Controls whether to exclude extension-generated project settings files (.project, .classpath, .factorypath, .settings/) from the file explorer.", "scope": "window", "type": "boolean", "default": false}, "java.configuration.workspaceCacheLimit": {"minimum": 1, "description": "The number of days (if enabled) to keep unused workspace cache data. Beyond this limit, cached workspace data may be removed.", "scope": "application", "type": ["null", "integer"], "default": 90}, "java.configuration.maven.globalSettings": {"description": "Path to Maven's global settings.xml", "scope": "window", "type": "string", "default": null}, "java.progressReports.enabled": {"description": "[Experimental] Enable/disable progress reports from background processes on the server.", "scope": "window", "type": "boolean", "default": true}, "java.completion.guessMethodArguments": {"description": "When set to true, method arguments are guessed when a method is selected from as list of code assist proposals.", "scope": "window", "type": "boolean", "default": true}, "java.codeAction.sortMembers.avoidVolatileChanges": {"description": "Reordering of fields, enum constants, and initializers can result in semantic and runtime changes due to different initialization and persistence order. This setting prevents this from occurring.", "scope": "window", "type": "boolean", "default": true}, "java.project.referencedLibraries": {"properties": {"include": {"type": "array"}, "exclude": {"type": "array"}, "sources": {"type": "object"}}, "description": "Configure glob patterns for referencing local libraries to a Java project.", "required": ["include"], "additionalProperties": false, "scope": "window", "type": ["array", "object"], "default": ["lib/**/*.jar"]}, "java.jdt.ls.java.home": {"description": "Specifies the folder path to the JDK (17 or more recent) used to launch the Java Language Server. This setting will replace the Java extension's embedded JRE to start the Java Language Server. \n\nOn Windows, backslashes must be escaped, i.e.\n\"java.jdt.ls.java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk-17.0_3\"", "scope": "machine-overridable", "type": ["string", "null"], "default": null}, "java.signatureHelp.enabled": {"description": "Enable/disable the signature help.", "scope": "window", "type": "boolean", "default": true}, "java.inlayHints.parameterNames.exclusions": {"scope": "window", "type": "array", "markdownDescription": "The patterns for the methods that will be disabled to show the inlay hints. Supported pattern examples:\n - `java.lang.Math.*` - All the methods from java.lang.Math.\n - `*.Arrays.asList` - Methods named as 'asList' in the types named as 'Arrays'.\n - `*.println(*)` - Methods named as 'println'.\n - `(from, to)` - Methods with two parameters named as 'from' and 'to'.\n - `(arg*)` - Methods with one parameter whose name starts with 'arg'.", "default": [], "items": {"type": "string"}}, "java.codeGeneration.insertionLocation": {"description": "Specifies the insertion location of the code generated by source actions.", "enum": ["afterCursor", "beforeCursor", "lastMember"], "scope": "window", "type": "string", "enumDescriptions": ["Insert the generated code after the member where the cursor is located.", "Insert the generated code before the member where the cursor is located.", "Insert the generated code as the last member of the target type."], "default": "afterCursor"}, "java.completion.favoriteStaticMembers": {"description": "Defines a list of static members or types with static members. Content assist will propose those static members even if the import is missing.", "scope": "window", "type": "array", "default": ["org.junit.Assert.*", "org.junit.Assume.*", "org.junit.jupiter.api.Assertions.*", "org.junit.jupiter.api.Assumptions.*", "org.junit.jupiter.api.DynamicContainer.*", "org.junit.jupiter.api.DynamicTest.*", "org.mockito.Mockito.*", "org.mockito.ArgumentMatchers.*", "org.mockito.Answers.*"]}, "java.configuration.maven.userSettings": {"description": "Path to Maven's user settings.xml", "scope": "window", "type": "string", "default": null}, "java.references.includeDecompiledSources": {"description": "Include the decompiled sources when finding references.", "scope": "window", "type": "boolean", "default": true}, "java.codeGeneration.hashCodeEquals.useInstanceof": {"description": "Use 'instanceof' to compare types when generating the hashCode and equals methods.", "scope": "window", "type": "boolean", "default": false}, "java.imports.gradle.wrapper.checksums": {"description": "Defines allowed/disallowed SHA-256 checksums of Gradle Wrappers", "scope": "application", "type": "array", "default": [], "items": {"properties": {"allowed": {"label": "Is allowed?", "type": "boolean", "default": true}, "sha256": {"label": "SHA-256 checksum.", "type": "string"}}, "required": ["sha256"], "additionalProperties": false, "type": "object", "default": {}, "uniqueItems": true}}, "java.server.launchMode": {"description": "The launch mode for the Java extension", "enum": ["Standard", "LightWeight", "Hybrid"], "scope": "window", "type": "string", "enumDescriptions": ["Provides full features such as intellisense, refactoring, building, Maven/Gradle support etc.", "Starts a syntax server with lower start-up cost. Only provides syntax features such as outline, navigation, javadoc, syntax errors.", "Provides full features with better responsiveness. It starts a standard language server and a secondary syntax server. The syntax server provides syntax features until the standard server is ready."], "default": "Hybrid"}, "java.eclipse.downloadSources": {"description": "Enable/disable download of Maven source artifacts for Eclipse projects.", "scope": "window", "type": "boolean", "default": false}, "java.configuration.maven.notCoveredPluginExecutionSeverity": {"description": "Specifies severity if the plugin execution is not covered by Maven build lifecycle.", "enum": ["ignore", "warning", "error"], "scope": "window", "type": "string", "default": "warning"}, "java.referencesCodeLens.enabled": {"description": "Enable/disable the references code lens.", "scope": "window", "type": "boolean", "default": false}, "java.format.settings.profile": {"description": "Optional formatter profile name from the Eclipse formatter settings.", "scope": "window", "type": "string", "default": null}, "java.import.gradle.offline.enabled": {"description": "Enable/disable the Gradle offline mode.", "scope": "window", "type": "boolean", "default": false}, "java.inlayHints.parameterNames.enabled": {"enum": ["none", "literals", "all"], "scope": "window", "type": "string", "markdownDescription": "Enable/disable inlay hints for parameter names:\n```java\n\nInteger.valueOf(/* s: */ '123', /* radix: */ 10)\n \n```\n `#java.inlayHints.parameterNames.exclusions#` can be used to disable the inlay hints for methods.", "enumDescriptions": ["Disable parameter name hints", "Enable parameter name hints only for literal arguments", "Enable parameter name hints for literal and non-literal arguments"], "default": "literals"}, "java.import.gradle.arguments": {"description": "Arguments to pass to Gradle.", "scope": "machine", "type": "string", "default": null}, "java.import.gradle.user.home": {"description": "Setting for GRADLE_USER_HOME.", "scope": "window", "type": "string", "default": null}, "java.codeGeneration.toString.skipNullValues": {"description": "Skip null values when generating the toString method.", "scope": "window", "type": "boolean", "default": false}, "java.foldingRange.enabled": {"description": "Enable/disable smart folding range support. If disabled, it will use the default indentation-based folding range provided by VS Code.", "scope": "window", "type": "boolean", "default": true}, "java.configuration.runtimes": {"description": "Map Java Execution Environments to local JDKs.", "scope": "machine-overridable", "type": "array", "default": [], "items": {"properties": {"javadoc": {"description": "JDK javadoc path.", "type": "string"}, "name": {"description": "Java Execution Environment name. Must be unique.", "enum": ["J2SE-1.5", "JavaSE-1.6", "JavaSE-1.7", "JavaSE-1.8", "JavaSE-9", "JavaSE-10", "JavaSE-11", "JavaSE-12", "JavaSE-13", "JavaSE-14", "JavaSE-15", "JavaSE-16", "JavaSE-17", "JavaSE-18", "JavaSE-19"], "type": "string"}, "sources": {"description": "JDK sources path.", "type": "string"}, "default": {"description": "Is default runtime? Only one runtime can be default.", "type": "boolean"}, "path": {"pattern": ".*(?": ""}}, "symbolOptions": {"properties": {"searchMicrosoftSymbolServer": {"description": "If 'true' the Microsoft Symbol server (https\u200B://msdl.microsoft.com\u200B/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "type": "boolean", "default": false}, "moduleFilter": {"properties": {"includeSymbolsNextToModules": {"description": "If true, for any module NOT in the 'includedModules' array, the debugger will still check next to the module itself and the launching executable, but it will not check paths on the symbol search list. This option defaults to 'true'.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.", "type": "boolean", "default": true}, "mode": {"description": "Controls which of the two basic operating modes the module filter operates in.", "enum": ["loadAllButExcluded", "loadOnlyIncluded"], "type": "string", "enumDescriptions": ["Load symbols for all modules unless the module is in the 'excludedModules' array.", "Do not attempt to load symbols for ANY module unless it is in the 'includedModules' array, or it is included through the 'includeSymbolsNextToModules' setting."], "default": "loadAllButExcluded"}, "excludedModules": {"description": "Array of modules that the debugger should NOT load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadAllButExcluded'.", "type": "array", "default": [], "items": {"type": "string"}}, "includedModules": {"description": "Array of modules that the debugger should load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.", "type": "array", "default": ["MyExampleModule.dll"], "items": {"type": "string"}}}, "description": "Provides options to control which modules (.dll files) the debugger will attempt to load symbols (.pdb files) for.", "required": ["mode"], "type": "object", "default": {"mode": "loadAllButExcluded", "excludedModules": []}}, "searchNuGetOrgSymbolServer": {"description": "If 'true' the NuGet.org symbol server (https\u200B://symbols.nuget.org\u200B/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "type": "boolean", "default": false}, "cachePath": {"description": "Directory where symbols downloaded from symbol servers should be cached. If unspecified, on Windows the debugger will default to %TEMP%\\SymbolCache, and on Linux and macOS the debugger will default to ~/.dotnet/symbolcache.", "type": "string", "default": "~/.dotnet/symbolcache"}, "searchPaths": {"description": "Array of symbol server URLs (example: http\u200B://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", "type": "array", "default": [], "items": {"type": "string"}}}, "description": "Options to control how symbols (.pdb files) are found and loaded.", "type": "object", "default": {"searchMicrosoftSymbolServer": false, "searchNuGetOrgSymbolServer": false, "searchPaths": []}}, "justMyCode": {"description": "Optional flag to only show user code.", "type": "boolean", "default": true}, "suppressJITOptimizations": {"description": "If true, when an optimized module (.dll compiled in the Release configuration) loads in the target process, the debugger will ask the Just-In-Time compiler to generate code with optimizations disabled. For more information: https://aka.ms/VSCode-CS-LaunchJson#suppress-jit-optimizations", "type": "boolean", "default": false}, "targetArchitecture": {"description": "[Only supported in local macOS debugging] The architecture of the debuggee. This will automatically be detected unless this parameter is set. Allowed values are x86_64 or arm64.", "type": "string"}, "sourceLinkOptions": {"description": "Options to control how Source Link connects to web servers. For more information: https://aka.ms/VSCode-CS-LaunchJson#source-link-options", "type": "object", "default": {"*": {"enabled": true}}, "additionalItems": {"properties": {"enabled": {"description": "Is Source Link enabled for this URL? If unspecified, this option defaults to 'true'.", "default": "true", "title": "boolean"}}, "type": "object"}}, "logging": {"properties": {"programOutput": {"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.", "type": "boolean", "default": true}, "moduleLoad": {"description": "Optional flag to determine whether module load events should be logged to the output window.", "type": "boolean", "default": true}, "threadExit": {"description": "Controls if a message is logged when a thread in the target process exits. Default: `false`.", "type": "boolean", "default": false}, "browserStdOut": {"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.", "type": "boolean", "default": true}, "processExit": {"description": "Controls if a message is logged when the target process exits, or debugging is stopped. Default: `true`.", "type": "boolean", "default": true}, "elapsedTiming": {"description": "If true, engine logging will include `adapterElapsedTime` and `engineElapsedTime` properties to indicate the amount of time, in microseconds, that a request took.", "type": "boolean", "default": false}, "engineLogging": {"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.", "type": "boolean", "default": false}, "exceptions": {"description": "Optional flag to determine whether exception messages should be logged to the output window.", "type": "boolean", "default": true}}, "description": "Optional flags to determine what types of messages should be logged to the output window.", "required": [], "type": "object", "default": {}}, "type": {"description": "Type type of code to debug. Can be either 'coreclr' for .NET Core debugging, or 'clr' for Desktop .NET Framework. 'clr' only works on Windows as the Desktop framework is Windows-only.", "enum": ["coreclr", "clr"], "type": "string", "default": "coreclr"}, "enableStepFiltering": {"description": "Optional flag to enable stepping over Properties and Operators.", "type": "boolean", "default": true}, "debugServer": {"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", "type": "number", "default": 4711}, "requireExactSource": {"description": "Optional flag to require current source code to match the pdb.", "type": "boolean", "default": true}}, "description": "Options to use with the debugger when launching for unit test debugging.", "type": "object", "default": {}}, "omnisharp.analyzeOpenDocumentsOnly": {"description": "Only run analyzers against open files when 'enableRoslynAnalyzers' is true", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.suppressForParametersThatMatchArgumentName": {"description": "Suppress hints when argument matches parameter name", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.forLiteralParameters": {"description": "Show hints for literals", "type": "boolean", "default": false}, "razor.trace": {"description": "Specifies whether to output all messages [Verbose], some messages [Messages] or not at all [Off].", "enum": ["Off", "Messages", "Verbose"], "type": "string", "enumDescriptions": ["Does not log messages from the Razor extension", "Logs only some messages from the Razor extension", "Logs all messages from the Razor extension"], "default": "Off"}, "razor.devmode": {"description": "Forces the omnisharp-vscode extension to run in a mode that enables local Razor.VSCode deving.", "type": "boolean", "default": false}, "razor.languageServer.debug": {"description": "Specifies whether to wait for debug attach when launching the language server.", "type": "boolean", "default": false}, "csharp.suppressHiddenDiagnostics": {"description": "Suppress 'hidden' diagnostics (such as 'unnecessary using directives') from appearing in the editor or the Problems pane.", "type": "boolean", "default": true}, "omnisharp.testRunSettings": {"description": "Path to the .runsettings file which should be used when running unit tests.", "type": "string"}, "csharp.maxProjectFileCountForDiagnosticAnalysis": {"description": "Specifies the maximum number of files for which diagnostics are reported for the whole workspace. If this limit is exceeded, diagnostics will be shown for currently opened files only. Specify 0 or less to disable the limit completely.", "type": "number", "default": 1000}, "omnisharp.sdkIncludePrereleases": {"description": "Specifies whether to include preview versions of the .NET SDK when determining which version to use for project loading. Applies when \"useModernNet\" is set to true.", "scope": "window", "type": "boolean", "default": true}, "omnisharp.minFindSymbolsFilterLength": {"description": "The minimum number of characters to enter before 'Go to Symbol in Workspace' operation shows any results.", "type": "number", "default": 0}, "omnisharp.enableImportCompletion": {"description": "Enables support for showing unimported types and unimported extension methods in completion lists. When committed, the appropriate using directive will be added at the top of the current file. This option can have a negative impact on initial completion responsiveness, particularly for the first few completion sessions after opening a solution.", "type": "boolean", "default": false}, "omnisharp.sdkPath": {"description": "Specifies the path to a .NET SDK installation to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: /home/username/dotnet/sdks/6.0.300.", "scope": "window", "type": "string"}, "csharp.inlayHints.parameters.forIndexerParameters": {"description": "Show hints for indexers", "type": "boolean", "default": false}, "omnisharp.dotnetPath": {"description": "Specified the path to a dotnet installation to use when \"useModernNet\" is set to true, instead of the default system one. This only influences the dotnet installation to use for hosting Omnisharp itself. Example: \"/home/username/mycustomdotnetdirectory\".", "scope": "window", "type": "string"}, "omnisharp.enableEditorConfigSupport": {"description": "Enables support for reading code style, naming convention and analyzer settings from .editorconfig.", "type": "boolean", "default": true}, "omnisharp.waitForDebugger": {"description": "Pass the --debug flag when launching the OmniSharp server to allow a debugger to be attached.", "type": "boolean", "default": false}, "razor.plugin.path": {"description": "Overrides the path to the Razor plugin dll.", "scope": "machine", "type": "string"}, "omnisharp.defaultLaunchSolution": {"description": "The name of the default solution used at start up if the repo has multiple solutions. e.g.'MyAwesomeSolution.sln'. Default value is `null` which will cause the first in alphabetical order to be chosen.", "type": "string"}, "omnisharp.useModernNet": {"description": "Use OmniSharp build for .NET 6. This version _does not_ support non-SDK-style .NET Framework projects, including Unity. SDK-style Framework, .NET Core, and .NET 5+ projects should see significant performance improvements.", "scope": "window", "type": "boolean", "default": true, "title": "Use .NET 6 build of OmniSharp"}, "omnisharp.enableDecompilationSupport": {"description": "Enables support for decompiling external references instead of viewing metadata.", "scope": "machine", "type": "boolean", "default": false}, "omnisharp.enableAsyncCompletion": {"description": "(EXPERIMENTAL) Enables support for resolving completion edits asynchronously. This can speed up time to show the completion list, particularly override and partial method completion lists, at the cost of slight delays after inserting a completion item. Most completion items will have no noticeable impact with this feature, but typing immediately after inserting an override or partial method completion, before the insert is completed, can have unpredictable results.", "type": "boolean", "default": false}, "omnisharp.organizeImportsOnFormat": {"description": "Specifies whether 'using' directives should be grouped and sorted during document formatting.", "type": "boolean", "default": false}, "omnisharp.maxFindSymbolsItems": {"description": "The maximum number of items that 'Go to Symbol in Workspace' operation can show. The limit is applied only when a positive number is specified here.", "type": "number", "default": 1000}, "csharp.inlayHints.types.forImplicitVariableTypes": {"description": "Show hints for variables with inferred types", "type": "boolean", "default": false}, "omnisharp.monoPath": {"description": "Specifies the path to a mono installation to use when \"useModernNet\" is set to false, instead of the default system one. Example: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "scope": "machine", "type": "string"}, "omnisharp.enableMsBuildLoadProjectsOnDemand": {"description": "If true, MSBuild project system will only load projects for files that were opened in the editor. This setting is useful for big C# codebases and allows for faster initialization of code navigation features only for projects that are relevant to code that is being edited. With this setting enabled OmniSharp may load fewer projects and may thus display incomplete reference lists for symbols.", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.forObjectCreationParameters": {"description": "Show hints for 'new' expressions", "type": "boolean", "default": false}, "omnisharp.maxProjectResults": {"description": "The maximum number of projects to be shown in the 'Select Project' dropdown (maximum 250).", "type": "number", "default": 250}, "omnisharp.projectLoadTimeout": {"description": "The time Visual Studio Code will wait for the OmniSharp server to start. Time is expressed in seconds.", "type": "number", "default": 60}, "omnisharp.disableMSBuildDiagnosticWarning": {"description": "Specifies whether notifications should be shown if OmniSharp encounters warnings or errors loading a project. Note that these warnings/errors are always emitted to the OmniSharp log", "type": "boolean", "default": false}, "omnisharp.autoStart": {"description": "Specifies whether the OmniSharp server will be automatically started or not. If false, OmniSharp can be started with the 'Restart OmniSharp' command", "type": "boolean", "default": true}, "omnisharp.sdkVersion": {"description": "Specifies the version of the .NET SDK to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: 6.0.300.", "scope": "window", "type": "string"}, "csharp.referencesCodeLens.filteredSymbols": {"description": "Array of custom symbol names for which CodeLens should be disabled.", "type": "array", "default": [], "items": {"type": "string"}}, "csharp.inlayHints.parameters.suppressForParametersThatDifferOnlyBySuffix": {"description": "Suppress hints when parameter names differ only by suffix", "type": "boolean", "default": false}, "omnisharp.dotNetCliPaths": {"description": "Paths to a local download of the .NET CLI to use for running any user code.", "type": "array", "uniqueItems": true, "items": {"type": "string"}}, "csharp.showOmnisharpLogOnError": {"description": "Shows the OmniSharp log in the Output pane when OmniSharp reports an error.", "type": "boolean", "default": true}, "csharp.format.enable": {"description": "Enable/disable default C# formatter (requires restart).", "type": "boolean", "default": true}, "csharp.semanticHighlighting.enabled": {"description": "Enable/disable Semantic Highlighting for C# files (Razor files currently unsupported). Defaults to false. Close open files for changes to take effect.", "scope": "window", "type": "boolean", "default": true}, "omnisharp.path": {"description": "Specifies the path to OmniSharp. When left empty the OmniSharp version pinned to the C# Extension is used. This can be the absolute path to an OmniSharp executable, a specific version number, or \"latest\". If a version number or \"latest\" is specified, the appropriate version of OmniSharp will be downloaded on your behalf. Setting \"latest\" is an opt-in into latest beta releases of OmniSharp.", "scope": "machine", "type": "string"}, "razor.languageServer.directory": {"description": "Overrides the path to the Razor Language Server directory.", "scope": "machine", "type": "string"}, "csharp.suppressProjectJsonWarning": {"description": "Suppress the warning that project.json is no longer a supported project format for .NET Core applications", "type": "boolean", "default": false}, "csharp.suppressDotnetRestoreNotification": {"description": "Suppress the notification window to perform a 'dotnet restore' when dependencies can't be resolved.", "type": "boolean", "default": false}, "csharp.suppressBuildAssetsNotification": {"description": "Suppress the notification window to add missing assets to build or debug the application.", "type": "boolean", "default": false}, "csharp.inlayHints.types.enabled": {"description": "Display inline type hints", "type": "boolean", "default": false}, "omnisharp.useEditorFormattingSettings": {"description": "Specifes whether OmniSharp should use VS Code editor settings for C# code formatting (use of tabs, indentation size).", "type": "boolean", "default": true}, "razor.disabled": {"description": "Specifies whether to disable Razor language features.", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.forOtherParameters": {"description": "Show hints for everything else", "type": "boolean", "default": false}, "csharp.inlayHints.types.forLambdaParameterTypes": {"description": "Show hints for lambda parameter types", "type": "boolean", "default": false}, "razor.format.enable": {"description": "Enable/disable default Razor formatter.", "scope": "window", "type": "boolean", "default": true}, "omnisharp.loggingLevel": {"description": "Specifies the level of logging output from the OmniSharp server.", "enum": ["trace", "debug", "information", "warning", "error", "critical"], "type": "string", "default": "information"}, "csharp.testsCodeLens.enabled": {"description": "Specifies whether the run and debug test CodeLens should be shown.", "type": "boolean", "default": true}, "csharp.suppressDotnetInstallWarning": {"description": "Suppress the warning that the .NET Core SDK is not on the path.", "type": "boolean", "default": false}, "omnisharp.enableRoslynAnalyzers": {"description": "Enables support for roslyn analyzers, code fixes and rulesets.", "type": "boolean", "default": false}}, "description": "C# for Visual Studio Code (powered by OmniSharp).", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"csharp.inlayHints.parameters.suppressForParametersThatMatchMethodIntent": {"description": "Suppress hints when parameter name matches the method's intent", "type": "boolean", "default": false}, "csharp.referencesCodeLens.enabled": {"description": "Specifies whether the references CodeLens should be shown.", "type": "boolean", "default": true}, "csharp.inlayHints.types.forImplicitObjectCreation": {"description": "Show hints for implicit object creation", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.enabled": {"description": "Display inline parameter name hints", "type": "boolean", "default": false}, "csharp.unitTestDebuggingOptions": {"properties": {"allowFastEvaluate": {"description": "When true (the default state), the debugger will attempt faster evaluation by simulating execution of simple properties and methods.", "type": "boolean", "default": true}, "sourceFileMap": {"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'", "additionalProperties": {"type": "string"}, "type": "object", "default": {"": ""}}, "symbolOptions": {"properties": {"searchMicrosoftSymbolServer": {"description": "If 'true' the Microsoft Symbol server (https\u200B://msdl.microsoft.com\u200B/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "type": "boolean", "default": false}, "moduleFilter": {"properties": {"includeSymbolsNextToModules": {"description": "If true, for any module NOT in the 'includedModules' array, the debugger will still check next to the module itself and the launching executable, but it will not check paths on the symbol search list. This option defaults to 'true'.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.", "type": "boolean", "default": true}, "mode": {"description": "Controls which of the two basic operating modes the module filter operates in.", "enum": ["loadAllButExcluded", "loadOnlyIncluded"], "type": "string", "enumDescriptions": ["Load symbols for all modules unless the module is in the 'excludedModules' array.", "Do not attempt to load symbols for ANY module unless it is in the 'includedModules' array, or it is included through the 'includeSymbolsNextToModules' setting."], "default": "loadAllButExcluded"}, "excludedModules": {"description": "Array of modules that the debugger should NOT load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadAllButExcluded'.", "type": "array", "default": [], "items": {"type": "string"}}, "includedModules": {"description": "Array of modules that the debugger should load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.", "type": "array", "default": ["MyExampleModule.dll"], "items": {"type": "string"}}}, "description": "Provides options to control which modules (.dll files) the debugger will attempt to load symbols (.pdb files) for.", "required": ["mode"], "type": "object", "default": {"mode": "loadAllButExcluded", "excludedModules": []}}, "searchNuGetOrgSymbolServer": {"description": "If 'true' the NuGet.org symbol server (https\u200B://symbols.nuget.org\u200B/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "type": "boolean", "default": false}, "cachePath": {"description": "Directory where symbols downloaded from symbol servers should be cached. If unspecified, on Windows the debugger will default to %TEMP%\\SymbolCache, and on Linux and macOS the debugger will default to ~/.dotnet/symbolcache.", "type": "string", "default": "~/.dotnet/symbolcache"}, "searchPaths": {"description": "Array of symbol server URLs (example: http\u200B://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", "type": "array", "default": [], "items": {"type": "string"}}}, "description": "Options to control how symbols (.pdb files) are found and loaded.", "type": "object", "default": {"searchMicrosoftSymbolServer": false, "searchNuGetOrgSymbolServer": false, "searchPaths": []}}, "justMyCode": {"description": "Optional flag to only show user code.", "type": "boolean", "default": true}, "suppressJITOptimizations": {"description": "If true, when an optimized module (.dll compiled in the Release configuration) loads in the target process, the debugger will ask the Just-In-Time compiler to generate code with optimizations disabled. For more information: https://aka.ms/VSCode-CS-LaunchJson#suppress-jit-optimizations", "type": "boolean", "default": false}, "targetArchitecture": {"description": "[Only supported in local macOS debugging] The architecture of the debuggee. This will automatically be detected unless this parameter is set. Allowed values are x86_64 or arm64.", "type": "string"}, "sourceLinkOptions": {"description": "Options to control how Source Link connects to web servers. For more information: https://aka.ms/VSCode-CS-LaunchJson#source-link-options", "type": "object", "default": {"*": {"enabled": true}}, "additionalItems": {"properties": {"enabled": {"description": "Is Source Link enabled for this URL? If unspecified, this option defaults to 'true'.", "default": "true", "title": "boolean"}}, "type": "object"}}, "logging": {"properties": {"threadExit": {"description": "Controls if a message is logged when a thread in the target process exits. Default: `false`.", "type": "boolean", "default": false}, "programOutput": {"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.", "type": "boolean", "default": true}, "moduleLoad": {"description": "Optional flag to determine whether module load events should be logged to the output window.", "type": "boolean", "default": true}, "elapsedTiming": {"description": "If true, engine logging will include `adapterElapsedTime` and `engineElapsedTime` properties to indicate the amount of time, in microseconds, that a request took.", "type": "boolean", "default": false}, "browserStdOut": {"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.", "type": "boolean", "default": true}, "processExit": {"description": "Controls if a message is logged when the target process exits, or debugging is stopped. Default: `true`.", "type": "boolean", "default": true}, "engineLogging": {"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.", "type": "boolean", "default": false}, "exceptions": {"description": "Optional flag to determine whether exception messages should be logged to the output window.", "type": "boolean", "default": true}}, "description": "Optional flags to determine what types of messages should be logged to the output window.", "required": [], "type": "object", "default": {}}, "type": {"description": "Type type of code to debug. Can be either 'coreclr' for .NET Core debugging, or 'clr' for Desktop .NET Framework. 'clr' only works on Windows as the Desktop framework is Windows-only.", "enum": ["coreclr", "clr"], "type": "string", "default": "coreclr"}, "enableStepFiltering": {"description": "Optional flag to enable stepping over Properties and Operators.", "type": "boolean", "default": true}, "debugServer": {"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", "type": "number", "default": 4711}, "requireExactSource": {"description": "Optional flag to require current source code to match the pdb.", "type": "boolean", "default": true}}, "description": "Options to use with the debugger when launching for unit test debugging.", "type": "object", "default": {}}, "omnisharp.analyzeOpenDocumentsOnly": {"description": "Only run analyzers against open files when 'enableRoslynAnalyzers' is true", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.suppressForParametersThatMatchArgumentName": {"description": "Suppress hints when argument matches parameter name", "type": "boolean", "default": false}, "omnisharp.maxProjectResults": {"description": "The maximum number of projects to be shown in the 'Select Project' dropdown (maximum 250).", "type": "number", "default": 250}, "razor.trace": {"description": "Specifies whether to output all messages [Verbose], some messages [Messages] or not at all [Off].", "enum": ["Off", "Messages", "Verbose"], "type": "string", "enumDescriptions": ["Does not log messages from the Razor extension", "Logs only some messages from the Razor extension", "Logs all messages from the Razor extension"], "default": "Off"}, "razor.devmode": {"description": "Forces the omnisharp-vscode extension to run in a mode that enables local Razor.VSCode deving.", "type": "boolean", "default": false}, "razor.languageServer.debug": {"description": "Specifies whether to wait for debug attach when launching the language server.", "type": "boolean", "default": false}, "csharp.suppressHiddenDiagnostics": {"description": "Suppress 'hidden' diagnostics (such as 'unnecessary using directives') from appearing in the editor or the Problems pane.", "type": "boolean", "default": true}, "omnisharp.testRunSettings": {"description": "Path to the .runsettings file which should be used when running unit tests.", "type": "string"}, "csharp.maxProjectFileCountForDiagnosticAnalysis": {"description": "Specifies the maximum number of files for which diagnostics are reported for the whole workspace. If this limit is exceeded, diagnostics will be shown for currently opened files only. Specify 0 or less to disable the limit completely.", "type": "number", "default": 1000}, "omnisharp.sdkIncludePrereleases": {"description": "Specifies whether to include preview versions of the .NET SDK when determining which version to use for project loading. Applies when \"useModernNet\" is set to true.", "scope": "window", "type": "boolean", "default": true}, "omnisharp.minFindSymbolsFilterLength": {"description": "The minimum number of characters to enter before 'Go to Symbol in Workspace' operation shows any results.", "type": "number", "default": 0}, "omnisharp.enableImportCompletion": {"description": "Enables support for showing unimported types and unimported extension methods in completion lists. When committed, the appropriate using directive will be added at the top of the current file. This option can have a negative impact on initial completion responsiveness, particularly for the first few completion sessions after opening a solution.", "type": "boolean", "default": false}, "omnisharp.sdkPath": {"description": "Specifies the path to a .NET SDK installation to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: /home/username/dotnet/sdks/6.0.300.", "scope": "window", "type": "string"}, "csharp.inlayHints.parameters.forIndexerParameters": {"description": "Show hints for indexers", "type": "boolean", "default": false}, "omnisharp.disableMSBuildDiagnosticWarning": {"description": "Specifies whether notifications should be shown if OmniSharp encounters warnings or errors loading a project. Note that these warnings/errors are always emitted to the OmniSharp log", "type": "boolean", "default": false}, "omnisharp.enableEditorConfigSupport": {"description": "Enables support for reading code style, naming convention and analyzer settings from .editorconfig.", "type": "boolean", "default": true}, "omnisharp.maxFindSymbolsItems": {"description": "The maximum number of items that 'Go to Symbol in Workspace' operation can show. The limit is applied only when a positive number is specified here.", "type": "number", "default": 1000}, "omnisharp.waitForDebugger": {"description": "Pass the --debug flag when launching the OmniSharp server to allow a debugger to be attached.", "type": "boolean", "default": false}, "razor.plugin.path": {"description": "Overrides the path to the Razor plugin dll.", "scope": "machine", "type": "string"}, "omnisharp.defaultLaunchSolution": {"description": "The name of the default solution used at start up if the repo has multiple solutions. e.g.'MyAwesomeSolution.sln'. Default value is `null` which will cause the first in alphabetical order to be chosen.", "type": "string"}, "omnisharp.useModernNet": {"description": "Use OmniSharp build for .NET 6. This version _does not_ support non-SDK-style .NET Framework projects, including Unity. SDK-style Framework, .NET Core, and .NET 5+ projects should see significant performance improvements.", "scope": "window", "type": "boolean", "default": true, "title": "Use .NET 6 build of OmniSharp"}, "omnisharp.enableDecompilationSupport": {"description": "Enables support for decompiling external references instead of viewing metadata.", "scope": "machine", "type": "boolean", "default": false}, "omnisharp.enableAsyncCompletion": {"description": "(EXPERIMENTAL) Enables support for resolving completion edits asynchronously. This can speed up time to show the completion list, particularly override and partial method completion lists, at the cost of slight delays after inserting a completion item. Most completion items will have no noticeable impact with this feature, but typing immediately after inserting an override or partial method completion, before the insert is completed, can have unpredictable results.", "type": "boolean", "default": false}, "omnisharp.organizeImportsOnFormat": {"description": "Specifies whether 'using' directives should be grouped and sorted during document formatting.", "type": "boolean", "default": false}, "omnisharp.projectLoadTimeout": {"description": "The time Visual Studio Code will wait for the OmniSharp server to start. Time is expressed in seconds.", "type": "number", "default": 60}, "csharp.inlayHints.types.forImplicitVariableTypes": {"description": "Show hints for variables with inferred types", "type": "boolean", "default": false}, "omnisharp.monoPath": {"description": "Specifies the path to a mono installation to use when \"useModernNet\" is set to false, instead of the default system one. Example: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "scope": "machine", "type": "string"}, "omnisharp.enableMsBuildLoadProjectsOnDemand": {"description": "If true, MSBuild project system will only load projects for files that were opened in the editor. This setting is useful for big C# codebases and allows for faster initialization of code navigation features only for projects that are relevant to code that is being edited. With this setting enabled OmniSharp may load fewer projects and may thus display incomplete reference lists for symbols.", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.forObjectCreationParameters": {"description": "Show hints for 'new' expressions", "type": "boolean", "default": false}, "omnisharp.dotnetPath": {"description": "Specified the path to a dotnet installation to use when \"useModernNet\" is set to true, instead of the default system one. This only influences the dotnet installation to use for hosting Omnisharp itself. Example: \"/home/username/mycustomdotnetdirectory\".", "scope": "window", "type": "string"}, "omnisharp.autoStart": {"description": "Specifies whether the OmniSharp server will be automatically started or not. If false, OmniSharp can be started with the 'Restart OmniSharp' command", "type": "boolean", "default": true}, "omnisharp.sdkVersion": {"description": "Specifies the version of the .NET SDK to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: 6.0.300.", "scope": "window", "type": "string"}, "csharp.referencesCodeLens.filteredSymbols": {"description": "Array of custom symbol names for which CodeLens should be disabled.", "type": "array", "default": [], "items": {"type": "string"}}, "csharp.inlayHints.parameters.suppressForParametersThatDifferOnlyBySuffix": {"description": "Suppress hints when parameter names differ only by suffix", "type": "boolean", "default": false}, "omnisharp.dotNetCliPaths": {"description": "Paths to a local download of the .NET CLI to use for running any user code.", "type": "array", "uniqueItems": true, "items": {"type": "string"}}, "csharp.showOmnisharpLogOnError": {"description": "Shows the OmniSharp log in the Output pane when OmniSharp reports an error.", "type": "boolean", "default": true}, "csharp.format.enable": {"description": "Enable/disable default C# formatter (requires restart).", "type": "boolean", "default": true}, "csharp.semanticHighlighting.enabled": {"description": "Enable/disable Semantic Highlighting for C# files (Razor files currently unsupported). Defaults to false. Close open files for changes to take effect.", "scope": "window", "type": "boolean", "default": true}, "omnisharp.path": {"description": "Specifies the path to OmniSharp. When left empty the OmniSharp version pinned to the C# Extension is used. This can be the absolute path to an OmniSharp executable, a specific version number, or \"latest\". If a version number or \"latest\" is specified, the appropriate version of OmniSharp will be downloaded on your behalf. Setting \"latest\" is an opt-in into latest beta releases of OmniSharp.", "scope": "machine", "type": "string"}, "razor.languageServer.directory": {"description": "Overrides the path to the Razor Language Server directory.", "scope": "machine", "type": "string"}, "csharp.suppressProjectJsonWarning": {"description": "Suppress the warning that project.json is no longer a supported project format for .NET Core applications", "type": "boolean", "default": false}, "csharp.suppressDotnetRestoreNotification": {"description": "Suppress the notification window to perform a 'dotnet restore' when dependencies can't be resolved.", "type": "boolean", "default": false}, "csharp.suppressBuildAssetsNotification": {"description": "Suppress the notification window to add missing assets to build or debug the application.", "type": "boolean", "default": false}, "csharp.inlayHints.types.enabled": {"description": "Display inline type hints", "type": "boolean", "default": false}, "omnisharp.useEditorFormattingSettings": {"description": "Specifes whether OmniSharp should use VS Code editor settings for C# code formatting (use of tabs, indentation size).", "type": "boolean", "default": true}, "razor.disabled": {"description": "Specifies whether to disable Razor language features.", "type": "boolean", "default": false}, "csharp.inlayHints.parameters.forOtherParameters": {"description": "Show hints for everything else", "type": "boolean", "default": false}, "csharp.inlayHints.types.forLambdaParameterTypes": {"description": "Show hints for lambda parameter types", "type": "boolean", "default": false}, "razor.format.enable": {"description": "Enable/disable default Razor formatter.", "scope": "window", "type": "boolean", "default": true}, "omnisharp.loggingLevel": {"description": "Specifies the level of logging output from the OmniSharp server.", "enum": ["trace", "debug", "information", "warning", "error", "critical"], "type": "string", "default": "information"}, "csharp.inlayHints.parameters.forLiteralParameters": {"description": "Show hints for literals", "type": "boolean", "default": false}, "csharp.testsCodeLens.enabled": {"description": "Specifies whether the run and debug test CodeLens should be shown.", "type": "boolean", "default": true}, "csharp.suppressDotnetInstallWarning": {"description": "Suppress the warning that the .NET Core SDK is not on the path.", "type": "boolean", "default": false}, "omnisharp.enableRoslynAnalyzers": {"description": "Enables support for roslyn analyzers, code fixes and rulesets.", "type": "boolean", "default": false}}, "description": "C# for Visual Studio Code (powered by OmniSharp).", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/perlls.json b/schemas/perlls.json index aa2c929..02e23b8 100644 --- a/schemas/perlls.json +++ b/schemas/perlls.json @@ -1 +1 @@ -{"properties": {"perl.sshArgs": {"description": "optional arguments for ssh", "type": "array", "default": null}, "perl.pathMap": {"description": "mapping of local to remote paths", "type": "array", "default": null}, "perl.debugAdapterPortRange": {"description": "if debugAdapterPort is in use try ports from debugAdapterPort to debugAdapterPort + debugAdapterPortRange. Default 100.", "type": "integer", "default": 100}, "perl.disableCache": {"description": "if true, the LanguageServer will not cache the result of parsing source files on disk, so it can be used within readonly directories", "type": "boolean", "default": false}, "perl.debugAdapterPort": {"description": "port to use for connection between vscode and debug adapter inside Perl::LanguageServer. On a multi user system every user must use a different port.", "type": "integer", "default": 13603}, "perl.logLevel": {"description": "Log level 0-2", "type": "integer", "default": 0}, "perl.perlCmd": {"description": "defaults to perl", "type": "string", "default": null}, "perl.containerCmd": {"description": "If set Perl::LanguageServer can run inside a container. Options are: 'docker', 'docker-compose', 'kubectl'", "type": "string", "default": null}, "perl.sshAddr": {"description": "ip address of remote system", "type": "string", "default": null}, "perl.showLocalVars": {"description": "if true, show also local variables in symbol view", "type": "boolean", "default": false}, "perl.cacheDir": {"description": "directory for caching of parsed symbols, if the directory does not exists, it will be created, defaults to ${workspace}/.vscode/perl-lang. This should be one unqiue directory per project and an absolute path.", "type": "string", "default": null}, "perl.perlInc": {"description": "array with paths to add to perl library path. This setting is used by the syntax checker and for the debuggee and also for the LanguageServer itself. perl.perlInc should be absolute paths.", "type": "array", "default": null}, "perl.enable": {"description": "enable/disable this extension", "type": "boolean", "default": true}, "perl.containerArgs": {"description": "arguments for containerCmd. Varies depending on containerCmd.", "type": "array", "default": null}, "perl.sshCmd": {"description": "defaults to ssh on unix and plink on windows", "type": "string", "default": null}, "perl.sshPort": {"description": "optional, port for ssh to remote system", "type": "string", "default": null}, "perl.fileFilter": {"description": "array for filtering perl file, defaults to *.pm|*.pl", "type": "array", "default": null}, "perl.sshWorkspaceRoot": {"description": "path of the workspace root on remote system", "type": "string", "default": null}, "perl.ignoreDirs": {"description": "directories to ignore, defaults to .vscode, .git, .svn", "type": "array", "default": null}, "perl.sshUser": {"description": "user for ssh login", "type": "string", "default": null}, "perl.containerMode": {"description": "To start a new container, set to 'run', to execute inside an existing container set to 'exec'. Note: kubectl only supports 'exec'", "type": "string", "default": "exec"}, "perl.env": {"description": "object with environment settings for command that starts the LanguageServer, e.g. can be used to set KUBECONFIG.", "type": "object", "default": null}, "perl.logFile": {"description": "If set, log output is written to the given logfile, instead of displaying it in the vscode output pane. Log output is always appended so you are responsible for rotating the file.", "type": "string", "default": null}, "perl.containerName": {"description": "Image to start or container to exec inside or pod to use", "type": "string", "default": null}}, "description": "Language Server and Debugger for Perl", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"perl.sshArgs": {"description": "optional arguments for ssh", "type": "array", "default": null}, "perl.pathMap": {"description": "mapping of local to remote paths", "type": "array", "default": null}, "perl.ignoreDirs": {"description": "directories to ignore, defaults to .vscode, .git, .svn", "type": "array", "default": null}, "perl.disableCache": {"description": "if true, the LanguageServer will not cache the result of parsing source files on disk, so it can be used within readonly directories", "type": "boolean", "default": false}, "perl.debugAdapterPort": {"description": "port to use for connection between vscode and debug adapter inside Perl::LanguageServer. On a multi user system every user must use a different port.", "type": "integer", "default": 13603}, "perl.logLevel": {"description": "Log level 0-2", "type": "integer", "default": 0}, "perl.perlCmd": {"description": "defaults to perl", "type": "string", "default": null}, "perl.cacheDir": {"description": "directory for caching of parsed symbols, if the directory does not exists, it will be created, defaults to ${workspace}/.vscode/perl-lang. This should be one unqiue directory per project and an absolute path.", "type": "string", "default": null}, "perl.sshAddr": {"description": "ip address of remote system", "type": "string", "default": null}, "perl.showLocalVars": {"description": "if true, show also local variables in symbol view", "type": "boolean", "default": false}, "perl.containerCmd": {"description": "If set Perl::LanguageServer can run inside a container. Options are: 'docker', 'docker-compose', 'kubectl'", "type": "string", "default": null}, "perl.perlInc": {"description": "array with paths to add to perl library path. This setting is used by the syntax checker and for the debuggee and also for the LanguageServer itself. perl.perlInc should be absolute paths.", "type": "array", "default": null}, "perl.enable": {"description": "enable/disable this extension", "type": "boolean", "default": true}, "perl.containerArgs": {"description": "arguments for containerCmd. Varies depending on containerCmd.", "type": "array", "default": null}, "perl.sshCmd": {"description": "defaults to ssh on unix and plink on windows", "type": "string", "default": null}, "perl.sshPort": {"description": "optional, port for ssh to remote system", "type": "string", "default": null}, "perl.fileFilter": {"description": "array for filtering perl file, defaults to *.pm|*.pl", "type": "array", "default": null}, "perl.sshWorkspaceRoot": {"description": "path of the workspace root on remote system", "type": "string", "default": null}, "perl.debugAdapterPortRange": {"description": "if debugAdapterPort is in use try ports from debugAdapterPort to debugAdapterPort + debugAdapterPortRange. Default 100.", "type": "integer", "default": 100}, "perl.sshUser": {"description": "user for ssh login", "type": "string", "default": null}, "perl.containerMode": {"description": "To start a new container, set to 'run', to execute inside an existing container set to 'exec'. Note: kubectl only supports 'exec'", "type": "string", "default": "exec"}, "perl.env": {"description": "object with environment settings for command that starts the LanguageServer, e.g. can be used to set KUBECONFIG.", "type": "object", "default": null}, "perl.logFile": {"description": "If set, log output is written to the given logfile, instead of displaying it in the vscode output pane. Log output is always appended so you are responsible for rotating the file.", "type": "string", "default": null}, "perl.containerName": {"description": "Image to start or container to exec inside or pod to use", "type": "string", "default": null}}, "description": "Language Server and Debugger for Perl", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/perlnavigator.json b/schemas/perlnavigator.json index a7cf29e..22a1356 100644 --- a/schemas/perlnavigator.json +++ b/schemas/perlnavigator.json @@ -1 +1 @@ -{"properties": {"perlnavigator.perltidyProfile": {"description": "Path to perl tidy profile (no aliases, .bat files or ~/)", "scope": "resource", "type": "string", "default": ""}, "perlnavigator.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "messages"}, "perlnavigator.logging": {"description": "Log to stdout from the navigator. Viewable in the Perl Navigator LSP log", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.perlPath": {"description": "Full path to the perl executable (no aliases, .bat files or ~/)", "scope": "resource", "type": "string", "default": "perl"}, "perlnavigator.severity1": {"description": "Editor Diagnostic severity level for Critic severity 1", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "hint"}, "perlnavigator.severity2": {"description": "Editor Diagnostic severity level for Critic severity 2", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "hint"}, "perlnavigator.severity3": {"description": "Editor Diagnostic severity level for Critic severity 3", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "hint"}, "perlnavigator.severity4": {"description": "Editor Diagnostic severity level for Critic severity 4", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "info"}, "perlnavigator.severity5": {"description": "Editor Diagnostic severity level for Critic severity 5", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "warning"}, "perlnavigator.includeLib": {"description": "Boolean to indicate if $project/lib should be added to the path by default", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.perlcriticEnabled": {"description": "Enable perl critic.", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.includePaths": {"description": "Array of paths added to @INC. You can use $workspaceFolder as a placeholder.", "scope": "resource", "type": "array", "default": []}, "perlnavigator.perltidyEnabled": {"description": "Enable perl tidy.", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.perlcriticProfile": {"description": "Path to perl critic profile. Otherwise perlcritic itself will default to ~/.perlcriticrc. (no aliases, .bat files or ~/)", "scope": "resource", "type": "string", "default": ""}, "perlnavigator.enableWarnings": {"description": "Enable warnings using -Mwarnings command switch", "scope": "resource", "type": "boolean", "default": true}}, "description": "Code navigation, autocompletion, syntax checking, and linting for Perl", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"perlnavigator.perltidyProfile": {"description": "Path to perl tidy profile (no aliases, .bat files or ~/)", "scope": "resource", "type": "string", "default": ""}, "perlnavigator.trace.server": {"description": "Traces the communication between VS Code and the language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "messages"}, "perlnavigator.includeLib": {"description": "Boolean to indicate if $project/lib should be added to the path by default", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.perlPath": {"description": "Full path to the perl executable (no aliases, .bat files or ~/)", "scope": "resource", "type": "string", "default": "perl"}, "perlnavigator.enableWarnings": {"description": "Enable warnings using -Mwarnings command switch", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.severity2": {"description": "Editor Diagnostic severity level for Critic severity 2", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "hint"}, "perlnavigator.severity3": {"description": "Editor Diagnostic severity level for Critic severity 3", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "hint"}, "perlnavigator.severity4": {"description": "Editor Diagnostic severity level for Critic severity 4", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "info"}, "perlnavigator.severity5": {"description": "Editor Diagnostic severity level for Critic severity 5", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "warning"}, "perlnavigator.logging": {"description": "Log to stdout from the navigator. Viewable in the Perl Navigator LSP log", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.perlcriticEnabled": {"description": "Enable perl critic.", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.includePaths": {"description": "Array of paths added to @INC. You can use $workspaceFolder as a placeholder.", "scope": "resource", "type": "array", "default": []}, "perlnavigator.perltidyEnabled": {"description": "Enable perl tidy.", "scope": "resource", "type": "boolean", "default": true}, "perlnavigator.perlcriticProfile": {"description": "Path to perl critic profile. Otherwise perlcritic itself will default to ~/.perlcriticrc. (no aliases, .bat files or ~/)", "scope": "resource", "type": "string", "default": ""}, "perlnavigator.severity1": {"description": "Editor Diagnostic severity level for Critic severity 1", "enum": ["error", "warning", "info", "hint", "none"], "scope": "resource", "type": "string", "default": "hint"}}, "description": "Code navigation, autocompletion, syntax checking, and linting for Perl", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/perlpls.json b/schemas/perlpls.json index c116601..6e682b7 100644 --- a/schemas/perlpls.json +++ b/schemas/perlpls.json @@ -1 +1 @@ -{"properties": {"perl.inc": {"deprecationMessage": "Deprecated: Please use pls.inc instead.", "description": "Paths to add to @INC.", "type": "array", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.inc` instead."}, "pls.cwd": {"description": "Current working directory to use", "type": "string", "default": "."}, "pls.syntax.enabled": {"description": "Enable syntax checking", "type": "boolean", "default": true}, "pls.inc": {"description": "Paths to add to @INC.", "type": "array", "default": []}, "pls.perltidy.perltidyrc": {"description": "Path to .perltidyrc", "type": "string", "default": "~/.perltidyrc"}, "perl.perlcritic.perlcriticrc": {"deprecationMessage": "Deprecated: Please use pls.perlcritic.perlcriticrc instead.", "description": "Path to .perlcriticrc", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.perlcritic.perlcriticrc` instead."}, "perl.perltidyrc": {"deprecationMessage": "Deprecated: Please use pls.perltidy.perltidyrc iarknstead.", "description": "Path to .perltidyrc", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.perltidy.perltidyrc` instead."}, "pls.perlcritic.enabled": {"description": "Enable perlcritic", "type": "boolean", "default": true}, "perl.syntax.perl": {"deprecationMessage": "Deprecated: Please use pls.syntax.perl instead.", "description": "Path to the perl binary to use for syntax checking", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.syntax.perl` instead."}, "pls.perlcritic.perlcriticrc": {"description": "Path to .perlcriticrc", "type": "string", "default": "~/.perlcriticrc"}, "perl.syntax.enabled": {"deprecationMessage": "Deprecated: Please use pls.syntax.enabled instead.", "description": "Enable syntax checking", "type": "boolean", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.syntax.enabled` instead."}, "perl.perlcritic.enabled": {"deprecationMessage": "Deprecated: Please use pls.perlcritic.enabled instead.", "description": "Enable perlcritic", "type": "boolean", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.perlcritic.enabled` instead."}, "perl.plsargs": {"deprecationMessage": "Deprecated: Please use pls.args instead.", "description": "Arguments to pass to the pls command", "type": "array", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.args` instead."}, "pls.args": {"description": "Arguments to pass to the pls command", "type": "array", "default": []}, "pls.syntax.perl": {"description": "Path to the perl binary to use for syntax checking", "type": "string", "default": ""}, "pls.syntax.args": {"description": "Additional arguments to pass when syntax checking. This is useful if there is a BEGIN block in your code that changes behavior depending on the contents of @ARGV.", "type": "array", "default": []}, "perl.pls": {"deprecationMessage": "Deprecated: Please use pls.cmd instead.", "description": "Path to the pls executable script", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.cmd` instead."}, "perl.cwd": {"deprecationMessage": "Deprecated: Please use pls.cwd instead.", "description": "Current working directory to use", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.cwd` instead."}, "pls.cmd": {"description": "Path to the pls executable script", "type": "string", "default": "pls"}}, "description": "Perl Language Server", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"perl.inc": {"deprecationMessage": "Deprecated: Please use pls.inc instead.", "description": "Paths to add to @INC.", "type": "array", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.inc` instead."}, "pls.cwd": {"description": "Current working directory to use", "type": "string", "default": "."}, "pls.perltidy.perltidyrc": {"description": "Path to .perltidyrc", "type": "string", "default": "~/.perltidyrc"}, "pls.syntax.enabled": {"description": "Enable syntax checking", "type": "boolean", "default": true}, "pls.inc": {"description": "Paths to add to @INC.", "type": "array", "default": []}, "pls.cmd": {"description": "Path to the pls executable script", "type": "string", "default": "pls"}, "perl.perlcritic.perlcriticrc": {"deprecationMessage": "Deprecated: Please use pls.perlcritic.perlcriticrc instead.", "description": "Path to .perlcriticrc", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.perlcritic.perlcriticrc` instead."}, "perl.perltidyrc": {"deprecationMessage": "Deprecated: Please use pls.perltidy.perltidyrc iarknstead.", "description": "Path to .perltidyrc", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.perltidy.perltidyrc` instead."}, "pls.perlcritic.enabled": {"description": "Enable perlcritic", "type": "boolean", "default": true}, "perl.syntax.perl": {"deprecationMessage": "Deprecated: Please use pls.syntax.perl instead.", "description": "Path to the perl binary to use for syntax checking", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.syntax.perl` instead."}, "pls.perlcritic.perlcriticrc": {"description": "Path to .perlcriticrc", "type": "string", "default": "~/.perlcriticrc"}, "perl.syntax.enabled": {"deprecationMessage": "Deprecated: Please use pls.syntax.enabled instead.", "description": "Enable syntax checking", "type": "boolean", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.syntax.enabled` instead."}, "perl.perlcritic.enabled": {"deprecationMessage": "Deprecated: Please use pls.perlcritic.enabled instead.", "description": "Enable perlcritic", "type": "boolean", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.perlcritic.enabled` instead."}, "perl.plsargs": {"deprecationMessage": "Deprecated: Please use pls.args instead.", "description": "Arguments to pass to the pls command", "type": "array", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.args` instead."}, "pls.args": {"description": "Arguments to pass to the pls command", "type": "array", "default": []}, "pls.syntax.perl": {"description": "Path to the perl binary to use for syntax checking", "type": "string", "default": ""}, "pls.syntax.args": {"description": "Additional arguments to pass when syntax checking. This is useful if there is a BEGIN block in your code that changes behavior depending on the contents of @ARGV.", "type": "array", "default": []}, "perl.pls": {"deprecationMessage": "Deprecated: Please use pls.cmd instead.", "description": "Path to the pls executable script", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.cmd` instead."}, "perl.cwd": {"deprecationMessage": "Deprecated: Please use pls.cwd instead.", "description": "Current working directory to use", "type": "string", "markdownDeprecationMessage": "**Deprecated**: Please use `pls.cwd` instead."}}, "description": "Perl Language Server", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/powershell_es.json b/schemas/powershell_es.json index 5b8756e..bfd50fb 100644 --- a/schemas/powershell_es.json +++ b/schemas/powershell_es.json @@ -1 +1 @@ -{"properties": {"powershell.integratedConsole.useLegacyReadLine": {"description": "Falls back to the legacy ReadLine experience. This will disable the use of PSReadLine in the PowerShell Extension Terminal.", "type": "boolean", "default": false}, "powershell.pester.debugOutputVerbosity": {"description": "Defines the verbosity of output to be used when debugging a test or a block. For Pester 5 and newer the default value Diagnostic will print additional information about discovery, skipped and filtered tests, mocking and more.", "enum": ["None", "Minimal", "Normal", "Detailed", "Diagnostic"], "type": "string", "default": "Diagnostic"}, "powershell.powerShellAdditionalExePaths": {"description": "Specifies a list of versionName / exePath pairs where exePath points to a non-standard install location for PowerShell and versionName can be used to reference this path with the powershell.powerShellDefaultVersion setting.", "additionalProperties": {"type": "string"}, "type": "object"}, "powershell.pester.outputVerbosity": {"description": "Defines the verbosity of output to be used. For Pester 5 and newer the default value FromPreference, will use the Output settings from the $PesterPreference defined in the caller context, and will default to Normal if there is none. For Pester 4 the FromPreference and Normal options map to All, and Minimal option maps to Fails.", "enum": ["FromPreference", "None", "Minimal", "Normal", "Detailed", "Diagnostic"], "type": "string", "default": "FromPreference"}, "powershell.startAutomatically": {"description": "Starts PowerShell extension features automatically when a PowerShell file opens. If false, to start the extension, use the 'PowerShell: Restart Current Session' command. IntelliSense, code navigation, Extension Terminal, code formatting, and other features are not enabled until the extension starts.", "type": "boolean", "default": true}, "powershell.codeFolding.enable": {"description": "Enables syntax based code folding. When disabled, the default indentation based code folding is used.", "type": "boolean", "default": true}, "powershell.sideBar.CommandExplorerVisibility": {"description": "Specifies the visibility of the Command Explorer in the PowerShell Side Bar.", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceBetweenParameters": {"description": "Removes redundant whitespace between parameters.", "type": "boolean", "default": false}, "powershell.useX86Host": {"deprecationMessage": "This setting was removed when the PowerShell installation searcher was added. Please use the \"powershell.powerShellAdditionalExePaths\" setting instead.", "description": "REMOVED: Uses the 32-bit language service on 64-bit Windows. This setting has no effect on 32-bit Windows or on the PowerShell extension debugger, which has its own architecture configuration.", "type": "boolean", "default": false}, "powershell.codeFolding.showLastLine": {"description": "Shows the last line of a folded section similar to the default VSCode folding style. When disabled, the entire folded region is hidden.", "type": "boolean", "default": true}, "powershell.developer.bundledModulesPath": {"description": "Specifies an alternate path to the folder containing modules that are bundled with the PowerShell extension (i.e. PowerShell Editor Services, PSScriptAnalyzer, Plaster)", "type": "string"}, "powershell.codeFormatting.autoCorrectAliases": {"description": "Replaces aliases with their aliased name.", "type": "boolean", "default": false}, "powershell.bugReporting.project": {"description": "Specifies the URL of the GitHub project in which to generate bug reports.", "type": "string", "default": "https://github.com/PowerShell/vscode-powershell"}, "powershell.developer.waitForSessionFileTimeoutSeconds": {"description": "When the PowerShell extension is starting up, it checks for a session file in order to connect to the language server. This setting determines how long until checking for the session file times out. (default is 240 seconds or 4 minutes)", "type": "number", "default": 240}, "powershell.helpCompletion": {"description": "Controls the comment-based help completion behavior triggered by typing '##'. Set the generated help style with 'BlockComment' or 'LineComment'. Disable the feature with 'Disabled'.", "enum": ["Disabled", "BlockComment", "LineComment"], "type": "string", "default": "BlockComment"}, "powershell.scriptAnalysis.enable": {"description": "Enables real-time script analysis from PowerShell Script Analyzer. Uses the newest installed version of the PSScriptAnalyzer module or the version bundled with this extension, if it is newer.", "type": "boolean", "default": true}, "powershell.codeFormatting.useCorrectCasing": {"description": "Use correct casing for cmdlets.", "type": "boolean", "default": false}, "powershell.codeFormatting.addWhitespaceAroundPipe": {"description": "Adds a space before and after the pipeline operator ('|') if it is missing.", "type": "boolean", "default": true}, "powershell.cwd": {"description": "An explicit start path where the PowerShell Extension Terminal will be launched. Both the PowerShell process and the shell's location will be set to this directory. Predefined variables can be used (i.e. ${fileDirname} to use the current opened file's directory).", "type": "string", "default": null}, "powershell.pester.useLegacyCodeLens": {"description": "Use a CodeLens that is compatible with Pester 4. Disabling this will show 'Run Tests' on all It, Describe and Context blocks, and will correctly work only with Pester 5 and newer.", "type": "boolean", "default": true}, "powershell.integratedConsole.showOnStartup": {"description": "Shows the Extension Terminal when the PowerShell extension is initialized. When disabled, the pane is not opened on startup, but the Extension Terminal is still created in order to power the extension's features.", "type": "boolean", "default": true}, "powershell.codeFormatting.newLineAfterOpenBrace": {"description": "Adds a newline (line break) after an open brace.", "type": "boolean", "default": true}, "powershell.sideBar.CommandExplorerExcludeFilter": {"description": "Specify array of Modules to exclude from Command Explorer listing.", "type": "array", "default": [], "items": {"type": "string"}}, "powershell.enableProfileLoading": {"description": "Loads user and system-wide PowerShell profiles (profile.ps1 and Microsoft.VSCode_profile.ps1) into the PowerShell session. This affects IntelliSense and interactive script execution, but it does not affect the debugger.", "type": "boolean", "default": true}, "powershell.powerShellExePath": {"deprecationMessage": "Please use the \"powershell.powerShellAdditionalExePaths\" setting instead.", "description": "REMOVED: Please use the \"powershell.powerShellAdditionalExePaths\" setting instead.", "scope": "machine", "type": "string", "default": ""}, "powershell.codeFormatting.whitespaceAroundOperator": {"description": "Adds spaces before and after an operator ('=', '+', '-', etc.).", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceAfterSeparator": {"description": "Adds a space after a separator (',' and ';').", "type": "boolean", "default": true}, "powershell.scriptAnalysis.settingsPath": {"description": "Specifies the path to a PowerShell Script Analyzer settings file. To override the default settings for all projects, enter an absolute path, or enter a path relative to your workspace.", "type": "string", "default": "PSScriptAnalyzerSettings.psd1"}, "powershell.integratedConsole.startInBackground": {"description": "Starts the Extension Terminal in the background. WARNING: If this is enabled, to access the terminal you must run the 'Show Extension Terminal' command, and once shown it cannot be put back into the background. This option completely hides the Extension Terminal from the terminals pane. You are probably looking for the 'showOnStartup' option instead.", "type": "boolean", "default": false}, "powershell.codeFormatting.alignPropertyValuePairs": {"description": "Align assignment statements in a hashtable or a DSC Configuration.", "type": "boolean", "default": true}, "powershell.developer.editorServicesLogLevel": {"description": "Sets the logging verbosity level for the PowerShell Editor Services host executable. Valid values are 'Diagnostic', 'Verbose', 'Normal', 'Warning', 'Error', and 'None'", "enum": ["Diagnostic", "Verbose", "Normal", "Warning", "Error", "None"], "type": "string", "default": "Normal"}, "powershell.developer.editorServicesWaitForDebugger": {"description": "Launches the language service with the /waitForDebugger flag to force it to wait for a .NET debugger to attach before proceeding.", "type": "boolean", "default": false}, "powershell.codeFormatting.ignoreOneLineBlock": {"description": "Does not reformat one-line code blocks, such as \"if (...) {...} else {...}\".", "type": "boolean", "default": true}, "powershell.codeFormatting.pipelineIndentationStyle": {"description": "Multi-line pipeline style settings (default: NoIndentation).", "enum": ["IncreaseIndentationForFirstPipeline", "IncreaseIndentationAfterEveryPipeline", "NoIndentation", "None"], "type": "string", "default": "NoIndentation"}, "powershell.integratedConsole.focusConsoleOnExecute": {"description": "Switches focus to the console when a script selection is run or a script file is debugged. This is an accessibility feature. To disable it, set to false.", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceBeforeOpenParen": {"description": "Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression.", "type": "boolean", "default": true}, "powershell.codeFormatting.openBraceOnSameLine": {"description": "Places open brace on the same line as its associated statement.", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceBeforeOpenBrace": {"description": "Adds a space between a keyword and its associated scriptblock expression.", "type": "boolean", "default": true}, "powershell.integratedConsole.forceClearScrollbackBuffer": {"description": "Use the vscode API to clear the terminal since that's the only reliable way to clear the scrollback buffer. Turn this on if you're used to 'Clear-Host' clearing scroll history as well as clear-terminal-via-lsp.", "type": "boolean"}, "powershell.codeFormatting.preset": {"description": "Sets the codeformatting options to follow the given indent style in a way that is compatible with PowerShell syntax. For more information about the brace styles please refer to https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/81.", "enum": ["Custom", "Allman", "OTBS", "Stroustrup"], "type": "string", "default": "Custom"}, "powershell.promptToUpdatePowerShell": {"description": "Specifies whether you should be prompted to update your version of PowerShell.", "type": "boolean", "default": true}, "powershell.buttons.showPanelMovementButtons": {"description": "Show buttons in the editor title-bar for moving the panel around.", "type": "boolean", "default": false}, "powershell.promptToUpdatePackageManagement": {"deprecationMessage": "This prompt has been removed as it's no longer strictly necessary to upgrade the PackageManagement module.", "description": "REMOVED: Specifies whether you should be prompted to update your version of PackageManagement if it's under 1.4.6.", "type": "boolean", "default": false}, "powershell.startAsLoginShell.linux": {"description": "Starts the PowerShell extension's underlying PowerShell process as a login shell, if applicable.", "type": "boolean", "default": false}, "powershell.codeFormatting.trimWhitespaceAroundPipe": {"description": "Trims extraneous whitespace (more than 1 character) before and after the pipeline operator ('|').", "type": "boolean", "default": false}, "powershell.codeFormatting.whitespaceInsideBrace": {"description": "Adds a space after an opening brace ('{') and before a closing brace ('}').", "type": "boolean", "default": true}, "powershell.enableReferencesCodeLens": {"description": "Displays a code lens above function definitions showing the number of times the function is referenced in the workspace. Large workspaces should disable this setting due to high performance impact.", "type": "boolean", "default": true}, "powershell.pester.codeLens": {"description": "This setting controls the appearance of the 'Run Tests' and 'Debug Tests' CodeLenses that appears above Pester tests.", "type": "boolean", "default": true}, "powershell.codeFormatting.newLineAfterCloseBrace": {"description": "Adds a newline (line break) after a closing brace.", "type": "boolean", "default": true}, "powershell.debugging.createTemporaryIntegratedConsole": {"description": "Determines whether a temporary PowerShell Extension Terminal is created for each debugging session. Useful for debugging PowerShell classes and binary modules.", "type": "boolean", "default": false}, "powershell.codeFormatting.whitespaceAroundPipe": {"deprecationMessage": "Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically.", "description": "REMOVED. Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically.", "type": "boolean", "default": true}, "powershell.buttons.showRunButtons": {"description": "Show the Run and Run Selection buttons in the editor title-bar.", "type": "boolean", "default": true}, "powershell.powerShellDefaultVersion": {"description": "Specifies the PowerShell version name, as displayed by the 'PowerShell: Show Session Menu' command, used when the extension loads e.g \"Windows PowerShell (x86)\" or \"PowerShell Core 7 (x64)\". You can specify additional PowerShell executables by using the \"powershell.powerShellAdditionalExePaths\" setting.", "type": "string"}, "powershell.codeFormatting.useConstantStrings": {"description": "Use single quotes if a string is not interpolated and its value does not contain a single quote.", "type": "boolean", "default": false}, "powershell.developer.featureFlags": {"description": "An array of strings that enable experimental features in the PowerShell extension.", "type": "array", "default": [], "items": {"type": "string"}}, "powershell.startAsLoginShell.osx": {"description": "Starts the PowerShell extension's underlying PowerShell process as a login shell, if applicable.", "type": "boolean", "default": true}, "powershell.integratedConsole.suppressStartupBanner": {"description": "Do not show the Powershell Extension Terminal banner on launch", "type": "boolean", "default": false}}, "description": "Develop PowerShell modules, commands and scripts in Visual Studio Code!", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"powershell.integratedConsole.useLegacyReadLine": {"description": "Falls back to the legacy ReadLine experience. This will disable the use of PSReadLine in the PowerShell Extension Terminal.", "type": "boolean", "default": false}, "powershell.pester.debugOutputVerbosity": {"description": "Defines the verbosity of output to be used when debugging a test or a block. For Pester 5 and newer the default value Diagnostic will print additional information about discovery, skipped and filtered tests, mocking and more.", "enum": ["None", "Minimal", "Normal", "Detailed", "Diagnostic"], "type": "string", "default": "Diagnostic"}, "powershell.powerShellAdditionalExePaths": {"description": "Specifies a list of versionName / exePath pairs where exePath points to a non-standard install location for PowerShell and versionName can be used to reference this path with the powershell.powerShellDefaultVersion setting.", "additionalProperties": {"type": "string"}, "type": "object"}, "powershell.pester.outputVerbosity": {"description": "Defines the verbosity of output to be used. For Pester 5 and newer the default value FromPreference, will use the Output settings from the $PesterPreference defined in the caller context, and will default to Normal if there is none. For Pester 4 the FromPreference and Normal options map to All, and Minimal option maps to Fails.", "enum": ["FromPreference", "None", "Minimal", "Normal", "Detailed", "Diagnostic"], "type": "string", "default": "FromPreference"}, "powershell.startAutomatically": {"description": "Starts PowerShell extension features automatically when a PowerShell file opens. If false, to start the extension, use the 'PowerShell: Restart Current Session' command. IntelliSense, code navigation, Extension Terminal, code formatting, and other features are not enabled until the extension starts.", "type": "boolean", "default": true}, "powershell.codeFolding.enable": {"description": "Enables syntax based code folding. When disabled, the default indentation based code folding is used.", "type": "boolean", "default": true}, "powershell.sideBar.CommandExplorerVisibility": {"description": "Specifies the visibility of the Command Explorer in the PowerShell Side Bar.", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceBetweenParameters": {"description": "Removes redundant whitespace between parameters.", "type": "boolean", "default": false}, "powershell.bugReporting.project": {"description": "Specifies the URL of the GitHub project in which to generate bug reports.", "type": "string", "default": "https://github.com/PowerShell/vscode-powershell"}, "powershell.codeFolding.showLastLine": {"description": "Shows the last line of a folded section similar to the default VSCode folding style. When disabled, the entire folded region is hidden.", "type": "boolean", "default": true}, "powershell.developer.bundledModulesPath": {"description": "Specifies an alternate path to the folder containing modules that are bundled with the PowerShell extension (i.e. PowerShell Editor Services, PSScriptAnalyzer, Plaster)", "type": "string"}, "powershell.codeFormatting.autoCorrectAliases": {"description": "Replaces aliases with their aliased name.", "type": "boolean", "default": false}, "powershell.useX86Host": {"deprecationMessage": "This setting was removed when the PowerShell installation searcher was added. Please use the \"powershell.powerShellAdditionalExePaths\" setting instead.", "description": "REMOVED: Uses the 32-bit language service on 64-bit Windows. This setting has no effect on 32-bit Windows or on the PowerShell extension debugger, which has its own architecture configuration.", "type": "boolean", "default": false}, "powershell.developer.waitForSessionFileTimeoutSeconds": {"description": "When the PowerShell extension is starting up, it checks for a session file in order to connect to the language server. This setting determines how long until checking for the session file times out. (default is 240 seconds or 4 minutes)", "type": "number", "default": 240}, "powershell.helpCompletion": {"description": "Controls the comment-based help completion behavior triggered by typing '##'. Set the generated help style with 'BlockComment' or 'LineComment'. Disable the feature with 'Disabled'.", "enum": ["Disabled", "BlockComment", "LineComment"], "type": "string", "default": "BlockComment"}, "powershell.scriptAnalysis.enable": {"description": "Enables real-time script analysis from PowerShell Script Analyzer. Uses the newest installed version of the PSScriptAnalyzer module or the version bundled with this extension, if it is newer.", "type": "boolean", "default": true}, "powershell.codeFormatting.useCorrectCasing": {"description": "Use correct casing for cmdlets.", "type": "boolean", "default": false}, "powershell.codeFormatting.addWhitespaceAroundPipe": {"description": "Adds a space before and after the pipeline operator ('|') if it is missing.", "type": "boolean", "default": true}, "powershell.cwd": {"description": "An explicit start path where the PowerShell Extension Terminal will be launched. Both the PowerShell process and the shell's location will be set to this directory. Predefined variables can be used (i.e. ${fileDirname} to use the current opened file's directory).", "type": "string", "default": null}, "powershell.pester.useLegacyCodeLens": {"description": "Use a CodeLens that is compatible with Pester 4. Disabling this will show 'Run Tests' on all It, Describe and Context blocks, and will correctly work only with Pester 5 and newer.", "type": "boolean", "default": true}, "powershell.integratedConsole.showOnStartup": {"description": "Shows the Extension Terminal when the PowerShell extension is initialized. When disabled, the pane is not opened on startup, but the Extension Terminal is still created in order to power the extension's features.", "type": "boolean", "default": true}, "powershell.codeFormatting.newLineAfterOpenBrace": {"description": "Adds a newline (line break) after an open brace.", "type": "boolean", "default": true}, "powershell.sideBar.CommandExplorerExcludeFilter": {"description": "Specify array of Modules to exclude from Command Explorer listing.", "type": "array", "default": [], "items": {"type": "string"}}, "powershell.enableProfileLoading": {"description": "Loads user and system-wide PowerShell profiles (profile.ps1 and Microsoft.VSCode_profile.ps1) into the PowerShell session. This affects IntelliSense and interactive script execution, but it does not affect the debugger.", "type": "boolean", "default": true}, "powershell.codeFormatting.pipelineIndentationStyle": {"description": "Multi-line pipeline style settings (default: NoIndentation).", "enum": ["IncreaseIndentationForFirstPipeline", "IncreaseIndentationAfterEveryPipeline", "NoIndentation", "None"], "type": "string", "default": "NoIndentation"}, "powershell.codeFormatting.trimWhitespaceAroundPipe": {"description": "Trims extraneous whitespace (more than 1 character) before and after the pipeline operator ('|').", "type": "boolean", "default": false}, "powershell.codeFormatting.whitespaceAroundOperator": {"description": "Adds spaces before and after an operator ('=', '+', '-', etc.).", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceAfterSeparator": {"description": "Adds a space after a separator (',' and ';').", "type": "boolean", "default": true}, "powershell.scriptAnalysis.settingsPath": {"description": "Specifies the path to a PowerShell Script Analyzer settings file. To override the default settings for all projects, enter an absolute path, or enter a path relative to your workspace.", "type": "string", "default": "PSScriptAnalyzerSettings.psd1"}, "powershell.integratedConsole.startInBackground": {"description": "Starts the Extension Terminal in the background. WARNING: If this is enabled, to access the terminal you must run the 'Show Extension Terminal' command, and once shown it cannot be put back into the background. This option completely hides the Extension Terminal from the terminals pane. You are probably looking for the 'showOnStartup' option instead.", "type": "boolean", "default": false}, "powershell.codeFormatting.alignPropertyValuePairs": {"description": "Align assignment statements in a hashtable or a DSC Configuration.", "type": "boolean", "default": true}, "powershell.developer.editorServicesLogLevel": {"description": "Sets the logging verbosity level for the PowerShell Editor Services host executable. Valid values are 'Diagnostic', 'Verbose', 'Normal', 'Warning', 'Error', and 'None'", "enum": ["Diagnostic", "Verbose", "Normal", "Warning", "Error", "None"], "type": "string", "default": "Normal"}, "powershell.developer.editorServicesWaitForDebugger": {"description": "Launches the language service with the /waitForDebugger flag to force it to wait for a .NET debugger to attach before proceeding.", "type": "boolean", "default": false}, "powershell.promptToUpdatePowerShell": {"description": "Specifies whether you should be prompted to update your version of PowerShell.", "type": "boolean", "default": true}, "powershell.integratedConsole.focusConsoleOnExecute": {"description": "Switches focus to the console when a script selection is run or a script file is debugged. This is an accessibility feature. To disable it, set to false.", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceBeforeOpenParen": {"description": "Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression.", "type": "boolean", "default": true}, "powershell.codeFormatting.openBraceOnSameLine": {"description": "Places open brace on the same line as its associated statement.", "type": "boolean", "default": true}, "powershell.codeFormatting.whitespaceBeforeOpenBrace": {"description": "Adds a space between a keyword and its associated scriptblock expression.", "type": "boolean", "default": true}, "powershell.integratedConsole.forceClearScrollbackBuffer": {"description": "Use the vscode API to clear the terminal since that's the only reliable way to clear the scrollback buffer. Turn this on if you're used to 'Clear-Host' clearing scroll history as well as clear-terminal-via-lsp.", "type": "boolean"}, "powershell.codeFormatting.preset": {"description": "Sets the codeformatting options to follow the given indent style in a way that is compatible with PowerShell syntax. For more information about the brace styles please refer to https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/81.", "enum": ["Custom", "Allman", "OTBS", "Stroustrup"], "type": "string", "default": "Custom"}, "powershell.codeFormatting.ignoreOneLineBlock": {"description": "Does not reformat one-line code blocks, such as \"if (...) {...} else {...}\".", "type": "boolean", "default": true}, "powershell.buttons.showPanelMovementButtons": {"description": "Show buttons in the editor title-bar for moving the panel around.", "type": "boolean", "default": false}, "powershell.promptToUpdatePackageManagement": {"deprecationMessage": "This prompt has been removed as it's no longer strictly necessary to upgrade the PackageManagement module.", "description": "REMOVED: Specifies whether you should be prompted to update your version of PackageManagement if it's under 1.4.6.", "type": "boolean", "default": false}, "powershell.startAsLoginShell.linux": {"description": "Starts the PowerShell extension's underlying PowerShell process as a login shell, if applicable.", "type": "boolean", "default": false}, "powershell.powerShellExePath": {"deprecationMessage": "Please use the \"powershell.powerShellAdditionalExePaths\" setting instead.", "description": "REMOVED: Please use the \"powershell.powerShellAdditionalExePaths\" setting instead.", "scope": "machine", "type": "string", "default": ""}, "powershell.codeFormatting.whitespaceInsideBrace": {"description": "Adds a space after an opening brace ('{') and before a closing brace ('}').", "type": "boolean", "default": true}, "powershell.enableReferencesCodeLens": {"description": "Displays a code lens above function definitions showing the number of times the function is referenced in the workspace. Large workspaces should disable this setting due to high performance impact.", "type": "boolean", "default": true}, "powershell.pester.codeLens": {"description": "This setting controls the appearance of the 'Run Tests' and 'Debug Tests' CodeLenses that appears above Pester tests.", "type": "boolean", "default": true}, "powershell.codeFormatting.newLineAfterCloseBrace": {"description": "Adds a newline (line break) after a closing brace.", "type": "boolean", "default": true}, "powershell.debugging.createTemporaryIntegratedConsole": {"description": "Determines whether a temporary PowerShell Extension Terminal is created for each debugging session. Useful for debugging PowerShell classes and binary modules.", "type": "boolean", "default": false}, "powershell.codeFormatting.whitespaceAroundPipe": {"deprecationMessage": "Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically.", "description": "REMOVED. Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically.", "type": "boolean", "default": true}, "powershell.buttons.showRunButtons": {"description": "Show the Run and Run Selection buttons in the editor title-bar.", "type": "boolean", "default": true}, "powershell.powerShellDefaultVersion": {"description": "Specifies the PowerShell version name, as displayed by the 'PowerShell: Show Session Menu' command, used when the extension loads e.g \"Windows PowerShell (x86)\" or \"PowerShell Core 7 (x64)\". You can specify additional PowerShell executables by using the \"powershell.powerShellAdditionalExePaths\" setting.", "type": "string"}, "powershell.codeFormatting.useConstantStrings": {"description": "Use single quotes if a string is not interpolated and its value does not contain a single quote.", "type": "boolean", "default": false}, "powershell.developer.featureFlags": {"description": "An array of strings that enable experimental features in the PowerShell extension.", "type": "array", "default": [], "items": {"type": "string"}}, "powershell.startAsLoginShell.osx": {"description": "Starts the PowerShell extension's underlying PowerShell process as a login shell, if applicable.", "type": "boolean", "default": true}, "powershell.integratedConsole.suppressStartupBanner": {"description": "Do not show the Powershell Extension Terminal banner on launch", "type": "boolean", "default": false}}, "description": "Develop PowerShell modules, commands and scripts in Visual Studio Code!", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/psalm.json b/schemas/psalm.json index 33f75b4..5ead251 100644 --- a/schemas/psalm.json +++ b/schemas/psalm.json @@ -1 +1 @@ -{"properties": {"psalm.enableUseIniDefaults": {"description": "Enable this to use PHP-provided ini defaults for memory and error display. (Modifying requires restart)", "type": "boolean", "default": false}, "psalm.psalmClientScriptPath": {"deprecationMessage": "Deprecated: Please use psalm.psalmScriptPath instead.", "description": "Optional (Advanced). If provided, this overrides the Psalm script to use, e.g. vendor/bin/psalm. (Modifying requires VSCode reload)", "type": "string", "default": null, "markdownDeprecationMessage": "**Deprecated**: Please use `#psalm.psalmScriptPath#` instead."}, "psalm.trace.server": {"description": "Traces the communication between VSCode and the Psalm language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "psalm.configPaths": {"description": "A list of files to checkup for psalm configuration (relative to the workspace directory)", "type": "array", "default": ["psalm.xml", "psalm.xml.dist"], "items": {"type": "string"}}, "psalm.connectToServerWithTcp": {"description": "If this is set to true, this VSCode extension will use TCP instead of the default STDIO to communicate with the Psalm language server. (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.disableAutoComplete": {"description": "Enable to disable autocomplete on methods and properties (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.unusedVariableDetection": {"description": "Enable this to enable unused variable and parameter detection", "type": "boolean", "default": false}, "psalm.psalmScriptArgs": {"description": "Optional (Advanced). Additional arguments to the Psalm language server. (Modifying requires VSCode reload)", "type": "array", "default": [], "items": {"type": "string"}}, "psalm.analyzedFileExtensions": {"description": "A list of file extensions to request Psalm to analyze. By default, this only includes 'php' (Modifying requires VSCode reload)", "type": "array", "default": [{"language": "php", "scheme": "file"}, {"language": "php", "scheme": "untitled"}]}, "psalm.phpExecutableArgs": {"description": "Optional (Advanced), default is '-dxdebug.remote_autostart=0 -dxdebug.remote_enable=0 -dxdebug_profiler_enable=0'. Additional PHP executable CLI arguments to use. (Modifying requires VSCode reload)", "type": "array", "default": ["-dxdebug.remote_autostart=0", "-dxdebug.remote_enable=0", "-dxdebug_profiler_enable=0"], "items": {"type": "string"}}, "psalm.hideStatusMessageWhenRunning": {"description": "This will hide the Psalm status from the status bar when it is started and running. This is useful to clear up a cluttered status bar.", "type": "boolean", "default": true}, "psalm.psalmVersion": {"description": "Optional (Advanced). If provided, this overrides the Psalm version detection (Modifying requires VSCode reload)", "type": "string", "default": null}, "psalm.enableDebugLog": {"deprecationMessage": "Deprecated: Please use psalm.enableVerbose, psalm.logLevel or psalm.trace.server instead.", "description": "Enable this to print messages to the debug console when developing or debugging this VS Code extension. (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.logLevel": {"description": "Traces the communication between VSCode and the Psalm language server.", "enum": ["NONE", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"], "scope": "window", "type": "string", "default": "INFO"}, "psalm.maxRestartCount": {"description": "The number of times the Language Server is allowed to crash and restart before it will no longer try to restart (Modifying requires VSCode reload)", "type": "number", "default": 5}, "psalm.psalmScriptPath": {"description": "Optional (Advanced). If provided, this overrides the Psalm script to use, e.g. vendor/bin/psalm-language-server. (Modifying requires VSCode reload)", "type": "string", "default": null}, "psalm.enableVerbose": {"description": "Enable --verbose mode on the Psalm Language Server (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.phpExecutablePath": {"description": "Optional, defaults to searching for \"php\". The path to a PHP 7.0+ executable to use to execute the Psalm server. The PHP 7.0+ installation should preferably include and enable the PHP module `pcntl`. (Modifying requires VSCode reload)", "type": "string", "default": null}}, "description": "VS Code Plugin for Psalm", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"psalm.enableUseIniDefaults": {"description": "Enable this to use PHP-provided ini defaults for memory and error display. (Modifying requires restart)", "type": "boolean", "default": false}, "psalm.psalmClientScriptPath": {"deprecationMessage": "Deprecated: Please use psalm.psalmScriptPath instead.", "description": "Optional (Advanced). If provided, this overrides the Psalm script to use, e.g. vendor/bin/psalm. (Modifying requires VSCode reload)", "type": "string", "default": null, "markdownDeprecationMessage": "**Deprecated**: Please use `#psalm.psalmScriptPath#` instead."}, "psalm.hideStatusMessageWhenRunning": {"description": "This will hide the Psalm status from the status bar when it is started and running. This is useful to clear up a cluttered status bar.", "type": "boolean", "default": true}, "psalm.trace.server": {"description": "Traces the communication between VSCode and the Psalm language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "psalm.configPaths": {"description": "A list of files to checkup for psalm configuration (relative to the workspace directory)", "type": "array", "default": ["psalm.xml", "psalm.xml.dist"], "items": {"type": "string"}}, "psalm.connectToServerWithTcp": {"description": "If this is set to true, this VSCode extension will use TCP instead of the default STDIO to communicate with the Psalm language server. (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.unusedVariableDetection": {"description": "Enable this to enable unused variable and parameter detection", "type": "boolean", "default": false}, "psalm.psalmScriptArgs": {"description": "Optional (Advanced). Additional arguments to the Psalm language server. (Modifying requires VSCode reload)", "type": "array", "default": [], "items": {"type": "string"}}, "psalm.analyzedFileExtensions": {"description": "A list of file extensions to request Psalm to analyze. By default, this only includes 'php' (Modifying requires VSCode reload)", "type": "array", "default": [{"language": "php", "scheme": "file"}, {"language": "php", "scheme": "untitled"}]}, "psalm.phpExecutableArgs": {"description": "Optional (Advanced), default is '-dxdebug.remote_autostart=0 -dxdebug.remote_enable=0 -dxdebug_profiler_enable=0'. Additional PHP executable CLI arguments to use. (Modifying requires VSCode reload)", "type": "array", "default": ["-dxdebug.remote_autostart=0", "-dxdebug.remote_enable=0", "-dxdebug_profiler_enable=0"], "items": {"type": "string"}}, "psalm.disableAutoComplete": {"description": "Enable to disable autocomplete on methods and properties (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.psalmVersion": {"description": "Optional (Advanced). If provided, this overrides the Psalm version detection (Modifying requires VSCode reload)", "type": "string", "default": null}, "psalm.enableDebugLog": {"deprecationMessage": "Deprecated: Please use psalm.enableVerbose, psalm.logLevel or psalm.trace.server instead.", "description": "Enable this to print messages to the debug console when developing or debugging this VS Code extension. (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.logLevel": {"description": "Traces the communication between VSCode and the Psalm language server.", "enum": ["NONE", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"], "scope": "window", "type": "string", "default": "INFO"}, "psalm.maxRestartCount": {"description": "The number of times the Language Server is allowed to crash and restart before it will no longer try to restart (Modifying requires VSCode reload)", "type": "number", "default": 5}, "psalm.psalmScriptPath": {"description": "Optional (Advanced). If provided, this overrides the Psalm script to use, e.g. vendor/bin/psalm-language-server. (Modifying requires VSCode reload)", "type": "string", "default": null}, "psalm.enableVerbose": {"description": "Enable --verbose mode on the Psalm Language Server (Modifying requires VSCode reload)", "type": "boolean", "default": false}, "psalm.phpExecutablePath": {"description": "Optional, defaults to searching for \"php\". The path to a PHP 7.0+ executable to use to execute the Psalm server. The PHP 7.0+ installation should preferably include and enable the PHP module `pcntl`. (Modifying requires VSCode reload)", "type": "string", "default": null}}, "description": "VS Code Plugin for Psalm", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/puppet.json b/schemas/puppet.json index 5d92bef..a62aee4 100644 --- a/schemas/puppet.json +++ b/schemas/puppet.json @@ -1 +1 @@ -{"properties": {"puppet.editorService.timeout": {"description": "The timeout to connect to the Puppet Editor Service", "type": "integer", "default": 10}, "puppet.editorService.puppet.vardir": {"description": "The Puppet cache directory. See https://puppet.com/docs/puppet/latest/dirs_vardir.html for more information", "type": "string", "default": ""}, "puppet.editorService.loglevel": {"description": "Set the logging verbosity level for the Puppet Editor Service, with Debug producing the most output and Error producing the least", "enum": ["debug", "error", "normal", "warning", "verbose"], "type": "string", "default": "normal"}, "puppet.editorService.foldingRange.showLastLine": {"description": "Show or hide the last line in code folding regions", "type": "boolean", "default": false}, "puppet.validate.resolvePuppetfiles": {"description": "Enable/disable using dependency resolution for Puppetfiles", "type": "boolean", "default": true}, "puppet.notification.puppetResource": {"description": "The type of notification used when a running Puppet Resouce. Default value of messagebox", "enum": ["messagebox", "statusbar", "none"], "type": "string", "default": "messagebox"}, "puppet.editorService.puppet.version": {"description": "The version of Puppet to use. For example '5.4.0'. This is generally only applicable when using the PDK installation type. If Puppet Editor Services is unable to use this version, it will default to the latest available version of Puppet.", "type": "string", "default": ""}, "puppet.editorService.tcp.address": {"description": "The IP address or hostname of the remote Puppet Editor Service to connect to, for example 'computer.domain' or '192.168.0.1'. Only applicable when the editorService.protocol is set to tcp", "type": "string"}, "puppet.editorService.foldingRange.enable": {"description": "Enable/disable syntax aware code folding provider", "type": "boolean", "default": true}, "puppet.editorService.puppet.environment": {"description": "The Puppet environment to use. See https://puppet.com/docs/puppet/latest/config_print.html#environments for more information", "type": "string", "default": ""}, "puppet.installDirectory": {"type": "string", "markdownDescription": "The fully qualified path to the Puppet install directory. This can be a PDK or Puppet Agent installation. For example: 'C:\\Program Files\\Puppet Labs\\Puppet' or '/opt/puppetlabs/puppet'. If this is not set the extension will attempt to detect the installation directory. Do **not** use when `#puppet.installType#` is set to `auto`"}, "puppet.editorService.puppet.modulePath": {"description": "Additional module paths to use when starting the Editor Services. On Windows this is delimited with a semicolon, and on all other platforms, with a colon. For example C:\\Path1;C:\\Path2", "type": "string", "default": ""}, "puppet.titleBar.pdkNewModule.enable": {"description": "Enable/disable the PDK New Module icon in the Editor Title Bar", "type": "boolean", "default": true}, "puppet.editorService.puppet.confdir": {"description": "The Puppet configuration directory. See https://puppet.com/docs/puppet/latest/dirs_confdir.html for more information", "type": "string", "default": ""}, "puppet.pdk.checkVersion": {"description": "Enable/disable checking if installed PDK version is latest", "type": "boolean", "default": true}, "puppet.editorService.formatOnType.maxFileSize": {"minimum": 0, "description": "Sets the maximum file size (in Bytes) that document on-type formatting will occur. Setting this to zero (0) will disable the file size check. Note that large file sizes can cause performance issues.", "type": "integer", "default": 4096}, "puppet.installType": {"enum": ["auto", "pdk", "agent"], "type": "string", "markdownDescription": "The type of Puppet installation. Either the Puppet Development Kit (pdk) or the Puppet Agent (agent). Choose `auto` to have the extension detect which to use automatically based on default install locations", "enumDescriptions": ["The exention will use the PDK or the Puppet Agent based on default install locations. When both are present, it will use the PDK", "Use the PDK as an installation source", "Use the Puppet Agent as an installation source"], "default": "auto"}, "puppet.editorService.formatOnType.enable": {"description": "Enable/disable the Puppet document on-type formatter, for example hashrocket alignment", "type": "boolean", "default": false}, "puppet.editorService.enable": {"description": "Enable/disable advanced Puppet Language Features", "type": "boolean", "default": true}, "puppet.editorService.hover.showMetadataInfo": {"description": "Enable or disable showing Puppet Module version information in the metadata.json file", "type": "boolean", "default": true}, "puppet.editorService.tcp.port": {"description": "The TCP Port of the remote Puppet Editor Service to connect to. Only applicable when the editorService.protocol is set to tcp", "type": "integer"}, "puppet.editorService.featureFlags": {"description": "An array of strings of experimental features to enable in the Puppet Editor Service", "type": "array", "default": []}, "puppet.editorService.debugFilePath": {"description": "The absolute filepath where the Puppet Editor Service will output the debugging log. By default no logfile is generated", "type": "string", "default": ""}, "puppet.editorService.protocol": {"description": "The protocol used to communicate with the Puppet Editor Service. By default the local STDIO protocol is used.", "enum": ["stdio", "tcp"], "type": "string", "default": "stdio"}, "puppet.notification.nodeGraph": {"description": "The type of notification used when a node graph is being generated. Default value of messagebox", "enum": ["messagebox", "statusbar", "none"], "type": "string", "default": "messagebox"}, "puppet.format.enable": {"description": "Enable/disable the Puppet document formatter", "scope": "window", "type": "boolean", "default": true}}, "description": "Official Puppet VSCode extension. Provides full Puppet DSL intellisense, syntax highlighting, Puppet command support, Puppet node graphs, and much more", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"puppet.editorService.timeout": {"description": "The timeout to connect to the Puppet Editor Service", "type": "integer", "default": 10}, "puppet.editorService.puppet.vardir": {"description": "The Puppet cache directory. See https://puppet.com/docs/puppet/latest/dirs_vardir.html for more information", "type": "string", "default": ""}, "puppet.editorService.loglevel": {"description": "Set the logging verbosity level for the Puppet Editor Service, with Debug producing the most output and Error producing the least", "enum": ["debug", "error", "normal", "warning", "verbose"], "type": "string", "default": "normal"}, "puppet.editorService.foldingRange.showLastLine": {"description": "Show or hide the last line in code folding regions", "type": "boolean", "default": false}, "puppet.validate.resolvePuppetfiles": {"description": "Enable/disable using dependency resolution for Puppetfiles", "type": "boolean", "default": true}, "puppet.notification.puppetResource": {"description": "The type of notification used when a running Puppet Resouce. Default value of messagebox", "enum": ["messagebox", "statusbar", "none"], "type": "string", "default": "messagebox"}, "puppet.editorService.puppet.version": {"description": "The version of Puppet to use. For example '5.4.0'. This is generally only applicable when using the PDK installation type. If Puppet Editor Services is unable to use this version, it will default to the latest available version of Puppet.", "type": "string", "default": ""}, "puppet.editorService.tcp.address": {"description": "The IP address or hostname of the remote Puppet Editor Service to connect to, for example 'computer.domain' or '192.168.0.1'. Only applicable when the editorService.protocol is set to tcp", "type": "string"}, "puppet.editorService.foldingRange.enable": {"description": "Enable/disable syntax aware code folding provider", "type": "boolean", "default": true}, "puppet.editorService.puppet.environment": {"description": "The Puppet environment to use. See https://puppet.com/docs/puppet/latest/config_print.html#environments for more information", "type": "string", "default": ""}, "puppet.editorService.tcp.port": {"description": "The TCP Port of the remote Puppet Editor Service to connect to. Only applicable when the editorService.protocol is set to tcp", "type": "integer"}, "puppet.editorService.puppet.modulePath": {"description": "Additional module paths to use when starting the Editor Services. On Windows this is delimited with a semicolon, and on all other platforms, with a colon. For example C:\\Path1;C:\\Path2", "type": "string", "default": ""}, "puppet.titleBar.pdkNewModule.enable": {"description": "Enable/disable the PDK New Module icon in the Editor Title Bar", "type": "boolean", "default": true}, "puppet.editorService.puppet.confdir": {"description": "The Puppet configuration directory. See https://puppet.com/docs/puppet/latest/dirs_confdir.html for more information", "type": "string", "default": ""}, "puppet.pdk.checkVersion": {"description": "Enable/disable checking if installed PDK version is latest", "type": "boolean", "default": true}, "puppet.notification.nodeGraph": {"description": "The type of notification used when a node graph is being generated. Default value of messagebox", "enum": ["messagebox", "statusbar", "none"], "type": "string", "default": "messagebox"}, "puppet.installType": {"enum": ["auto", "pdk", "agent"], "type": "string", "markdownDescription": "The type of Puppet installation. Either the Puppet Development Kit (pdk) or the Puppet Agent (agent). Choose `auto` to have the extension detect which to use automatically based on default install locations", "enumDescriptions": ["The exention will use the PDK or the Puppet Agent based on default install locations. When both are present, it will use the PDK", "Use the PDK as an installation source", "Use the Puppet Agent as an installation source"], "default": "auto"}, "puppet.editorService.formatOnType.enable": {"description": "Enable/disable the Puppet document on-type formatter, for example hashrocket alignment", "type": "boolean", "default": false}, "puppet.editorService.enable": {"description": "Enable/disable advanced Puppet Language Features", "type": "boolean", "default": true}, "puppet.format.enable": {"description": "Enable/disable the Puppet document formatter", "scope": "window", "type": "boolean", "default": true}, "puppet.installDirectory": {"type": "string", "markdownDescription": "The fully qualified path to the Puppet install directory. This can be a PDK or Puppet Agent installation. For example: 'C:\\Program Files\\Puppet Labs\\Puppet' or '/opt/puppetlabs/puppet'. If this is not set the extension will attempt to detect the installation directory. Do **not** use when `#puppet.installType#` is set to `auto`"}, "puppet.editorService.featureFlags": {"description": "An array of strings of experimental features to enable in the Puppet Editor Service", "type": "array", "default": []}, "puppet.editorService.debugFilePath": {"description": "The absolute filepath where the Puppet Editor Service will output the debugging log. By default no logfile is generated", "type": "string", "default": ""}, "puppet.editorService.protocol": {"description": "The protocol used to communicate with the Puppet Editor Service. By default the local STDIO protocol is used.", "enum": ["stdio", "tcp"], "type": "string", "default": "stdio"}, "puppet.editorService.formatOnType.maxFileSize": {"minimum": 0, "description": "Sets the maximum file size (in Bytes) that document on-type formatting will occur. Setting this to zero (0) will disable the file size check. Note that large file sizes can cause performance issues.", "type": "integer", "default": 4096}, "puppet.editorService.hover.showMetadataInfo": {"description": "Enable or disable showing Puppet Module version information in the metadata.json file", "type": "boolean", "default": true}}, "description": "Official Puppet VSCode extension. Provides full Puppet DSL intellisense, syntax highlighting, Puppet command support, Puppet node graphs, and much more", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/purescriptls.json b/schemas/purescriptls.json index 20b8469..c42266c 100644 --- a/schemas/purescriptls.json +++ b/schemas/purescriptls.json @@ -1 +1 @@ -{"properties": {"purescript.packagePath": {"description": "Path to installed packages. Will be used to control globs passed to IDE server for source locations. Change requires IDE server restart.", "scope": "resource", "type": "string", "default": ""}, "purescript.sourcePath": {"description": "Path to application source root. Will be used to control globs passed to IDE server for source locations. Change requires IDE server restart.", "scope": "resource", "type": "string", "default": "src"}, "purescript.addSpagoSources": {"description": "Whether to add spago sources to the globs passed to the IDE server for source locations (specifically the output of `spago sources`, if this is a spago project). Update due to adding packages/changing package set requires psc-ide server restart.", "scope": "resource", "type": "boolean", "default": true}, "purescript.autocompleteLimit": {"description": "Maximum number of results to fetch for an autocompletion request. May improve performance on large projects.", "scope": "resource", "type": ["null", "integer"], "default": null}, "purescript.autocompleteAddImport": {"description": "Whether to automatically add imported identifiers when accepting autocomplete result.", "scope": "resource", "type": "boolean", "default": true}, "purescript.pscIdePort": {"description": "Port to use for purs IDE server (whether an existing server or to start a new one). By default a random port is chosen (or an existing port in .psc-ide-port if present), if this is specified no attempt will be made to select an alternative port on failure.", "scope": "resource", "type": ["integer", "null"], "default": null}, "purescript.fastRebuild": {"description": "Enable purs IDE server fast rebuild", "scope": "resource", "type": "boolean", "default": true}, "purescript.autoStartPscIde": {"description": "Whether to automatically start/connect to purs IDE server when editing a PureScript file (includes connecting to an existing running instance). If this is disabled, various features like autocomplete, tooltips, and other type info will not work until start command is run manually.", "scope": "resource", "type": "boolean", "default": true}, "purescript.preludeModule": {"description": "Module to consider as your default prelude, if an auto-complete suggestion comes from this module it will be imported unqualified.", "scope": "resource", "type": "string", "default": "Prelude"}, "purescript.fullBuildOnSave": {"description": "Whether to perform a full build on save with the configured build command (rather than IDE server fast rebuild). This is not generally recommended because it is slow, but it does mean that dependent modules are rebuilt as necessary.", "scope": "resource", "type": "boolean", "default": false}, "purescript.formatter": {"description": "Tool to use to for formatting. Must be installed and on PATH (or npm installed with addNpmPath set)", "enum": ["none", "purty", "purs-tidy", "pose"], "scope": "resource", "type": "string", "default": "purty", "markdownEnumDescriptions": ["No formatting provision", "Use purty. Must be installed - [instructions](https://gitlab.com/joneshf/purty#npm)", "Use purs-tidy. Must be installed - [instructions](https://github.com/natefaubion/purescript-tidy)", "Use pose (prettier plugin). Must be installed - [instructions](https://pose.rowtype.yoga/)"]}, "purescript.outputDirectory": {"description": "Override purs ide output directory (output/ if not specified). This should match up to your build command", "scope": "resource", "type": "string", "default": "output/"}, "purescript.autocompleteAllModules": {"description": "Whether to always autocomplete from all built modules, or just those imported in the file. Suggestions from all modules always available by explicitly triggering autocomplete.", "scope": "resource", "type": "boolean", "default": true}, "purescript.buildCommand": {"description": "Build command to use with arguments. Not passed to shell. eg `spago build --purs-args --json-errors`", "scope": "resource", "type": "string", "default": "spago build --purs-args --json-errors"}, "purescript.declarationTypeCodeLens": {"description": "Enable declaration codelens to add types to declarations", "scope": "resource", "type": "boolean", "default": true}, "purescript.pscIdelogLevel": {"description": "Log level for purs IDE server", "scope": "resource", "type": "string", "default": ""}, "purescript.trace.server": {"description": "Traces the communication between VSCode and the PureScript language service.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "purescript.exportsCodeLens": {"description": "Enable declaration codelenses for export management", "scope": "resource", "type": "boolean", "default": true}, "purescript.codegenTargets": {"description": "List of codegen targets to pass to the compiler for rebuild. e.g. js, corefn. If not specified (rather than empty array) this will not be passed and the compiler will default to js. Requires 0.12.1+", "scope": "resource", "type": "array", "default": null, "items": {"type": "string"}}, "purescript.autocompleteGrouped": {"description": "Whether to group completions in autocomplete results. Requires compiler 0.11.6", "scope": "resource", "type": "boolean", "default": true}, "purescript.addNpmPath": {"description": "Whether to add the local npm bin directory to the PATH for purs IDE server and build command.", "scope": "resource", "type": "boolean", "default": false}, "purescript.buildOpenedFiles": {"scope": "resource", "type": "boolean", "markdownDescription": "**EXPERIMENTAL** Enable purs IDE server fast rebuild of opened files. This includes both newly opened tabs and those present at startup.", "default": false}, "purescript.addPscPackageSources": {"description": "Whether to add psc-package sources to the globs passed to the IDE server for source locations (specifically the output of `psc-package sources`, if this is a psc-package project). Update due to adding packages/changing package set requires psc-ide server restart.", "scope": "resource", "type": "boolean", "default": false}, "purescript.pursExe": {"description": "Location of purs executable (resolved wrt PATH)", "scope": "resource", "type": "string", "default": "purs"}, "purescript.censorWarnings": {"description": "The warning codes to censor, both for fast rebuild and a full build. Unrelated to any psa setup. e.g.: [\"ShadowedName\",\"MissingTypeDeclaration\"]", "title": "Censor warnings", "scope": "resource", "type": "array", "default": [], "items": {"type": "string"}}, "purescript.importsPreferredModules": {"description": "Module to prefer to insert when adding imports which have been re-exported. In order of preference, most preferred first.", "scope": "resource", "type": "array", "default": ["Prelude"], "items": {"type": "string"}}}, "description": "PureScript IntelliSense, tooltip, errors, code actions with language-server-purescript/purs IDE server", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"purescript.packagePath": {"description": "Path to installed packages. Will be used to control globs passed to IDE server for source locations. Change requires IDE server restart.", "scope": "resource", "type": "string", "default": ""}, "purescript.sourcePath": {"description": "Path to application source root. Will be used to control globs passed to IDE server for source locations. Change requires IDE server restart.", "scope": "resource", "type": "string", "default": "src"}, "purescript.addSpagoSources": {"description": "Whether to add spago sources to the globs passed to the IDE server for source locations (specifically the output of `spago sources`, if this is a spago project). Update due to adding packages/changing package set requires psc-ide server restart.", "scope": "resource", "type": "boolean", "default": true}, "purescript.autocompleteLimit": {"description": "Maximum number of results to fetch for an autocompletion request. May improve performance on large projects.", "scope": "resource", "type": ["null", "integer"], "default": null}, "purescript.buildOpenedFiles": {"scope": "resource", "type": "boolean", "markdownDescription": "**EXPERIMENTAL** Enable purs IDE server fast rebuild of opened files. This includes both newly opened tabs and those present at startup.", "default": false}, "purescript.exportsCodeLens": {"description": "Enable declaration codelenses for export management", "scope": "resource", "type": "boolean", "default": true}, "purescript.pscIdePort": {"description": "Port to use for purs IDE server (whether an existing server or to start a new one). By default a random port is chosen (or an existing port in .psc-ide-port if present), if this is specified no attempt will be made to select an alternative port on failure.", "scope": "resource", "type": ["integer", "null"], "default": null}, "purescript.fastRebuild": {"description": "Enable purs IDE server fast rebuild", "scope": "resource", "type": "boolean", "default": true}, "purescript.autoStartPscIde": {"description": "Whether to automatically start/connect to purs IDE server when editing a PureScript file (includes connecting to an existing running instance). If this is disabled, various features like autocomplete, tooltips, and other type info will not work until start command is run manually.", "scope": "resource", "type": "boolean", "default": true}, "purescript.preludeModule": {"description": "Module to consider as your default prelude, if an auto-complete suggestion comes from this module it will be imported unqualified.", "scope": "resource", "type": "string", "default": "Prelude"}, "purescript.formatter": {"description": "Tool to use to for formatting. Must be installed and on PATH (or npm installed with addNpmPath set)", "enum": ["none", "purty", "purs-tidy", "pose"], "scope": "resource", "type": "string", "default": "purty", "markdownEnumDescriptions": ["No formatting provision", "Use purty. Must be installed - [instructions](https://gitlab.com/joneshf/purty#npm)", "Use purs-tidy. Must be installed - [instructions](https://github.com/natefaubion/purescript-tidy)", "Use pose (prettier plugin). Must be installed - [instructions](https://pose.rowtype.yoga/)"]}, "purescript.fullBuildOnSave": {"description": "Whether to perform a full build on save with the configured build command (rather than IDE server fast rebuild). This is not generally recommended because it is slow, but it does mean that dependent modules are rebuilt as necessary.", "scope": "resource", "type": "boolean", "default": false}, "purescript.pursExe": {"description": "Location of purs executable (resolved wrt PATH)", "scope": "resource", "type": "string", "default": "purs"}, "purescript.buildCommand": {"description": "Build command to use with arguments. Not passed to shell. eg `spago build --purs-args --json-errors`", "scope": "resource", "type": "string", "default": "spago build --purs-args --json-errors"}, "purescript.declarationTypeCodeLens": {"description": "Enable declaration codelens to add types to declarations", "scope": "resource", "type": "boolean", "default": true}, "purescript.pscIdelogLevel": {"description": "Log level for purs IDE server", "scope": "resource", "type": "string", "default": ""}, "purescript.trace.server": {"description": "Traces the communication between VSCode and the PureScript language service.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "purescript.autocompleteGrouped": {"description": "Whether to group completions in autocomplete results. Requires compiler 0.11.6", "scope": "resource", "type": "boolean", "default": true}, "purescript.codegenTargets": {"description": "List of codegen targets to pass to the compiler for rebuild. e.g. js, corefn. If not specified (rather than empty array) this will not be passed and the compiler will default to js. Requires 0.12.1+", "scope": "resource", "type": "array", "default": null, "items": {"type": "string"}}, "purescript.outputDirectory": {"description": "Override purs ide output directory (output/ if not specified). This should match up to your build command", "scope": "resource", "type": "string", "default": "output/"}, "purescript.addNpmPath": {"description": "Whether to add the local npm bin directory to the PATH for purs IDE server and build command.", "scope": "resource", "type": "boolean", "default": false}, "purescript.autocompleteAddImport": {"description": "Whether to automatically add imported identifiers when accepting autocomplete result.", "scope": "resource", "type": "boolean", "default": true}, "purescript.addPscPackageSources": {"description": "Whether to add psc-package sources to the globs passed to the IDE server for source locations (specifically the output of `psc-package sources`, if this is a psc-package project). Update due to adding packages/changing package set requires psc-ide server restart.", "scope": "resource", "type": "boolean", "default": false}, "purescript.autocompleteAllModules": {"description": "Whether to always autocomplete from all built modules, or just those imported in the file. Suggestions from all modules always available by explicitly triggering autocomplete.", "scope": "resource", "type": "boolean", "default": true}, "purescript.censorWarnings": {"description": "The warning codes to censor, both for fast rebuild and a full build. Unrelated to any psa setup. e.g.: [\"ShadowedName\",\"MissingTypeDeclaration\"]", "title": "Censor warnings", "scope": "resource", "type": "array", "default": [], "items": {"type": "string"}}, "purescript.importsPreferredModules": {"description": "Module to prefer to insert when adding imports which have been re-exported. In order of preference, most preferred first.", "scope": "resource", "type": "array", "default": ["Prelude"], "items": {"type": "string"}}}, "description": "PureScript IntelliSense, tooltip, errors, code actions with language-server-purescript/purs IDE server", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/pylsp.json b/schemas/pylsp.json index a9b7fb6..125a227 100644 --- a/schemas/pylsp.json +++ b/schemas/pylsp.json @@ -1 +1 @@ -{"properties": {"pylsp.plugins.flake8.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.mccabe.threshold": {"description": "The minimum threshold that triggers warnings about cyclomatic complexity.", "type": "number", "default": 15}, "pylsp.plugins.jedi_completion.include_params": {"description": "Auto-completes methods and classes with tabstops for each parameter.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_symbols.all_scopes": {"description": "If True lists the names of all scopes instead of only the module namespace.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_completion.include_class_objects": {"description": "Adds class objects as a separate completion item.", "type": "boolean", "default": true}, "pylsp.plugins.flake8.hangClosing": {"description": "Hang closing bracket instead of matching indentation of opening bracket's line.", "type": ["boolean", "null"], "default": null}, "pylsp.plugins.flake8.maxLineLength": {"description": "Maximum allowed line length for the entirety of this run.", "type": ["integer", "null"], "default": null}, "pylsp.plugins.pydocstyle.match": {"description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'.", "type": "string", "default": "(?!test_).*\\.py"}, "pylsp.plugins.pycodestyle.indentSize": {"description": "Set indentation spaces.", "type": ["integer", "null"], "default": null}, "pylsp.plugins.flake8.exclude": {"description": "List of files or directories to exclude.", "type": "array", "default": [], "items": {"type": "string"}}, "pylsp.plugins.pydocstyle.addSelect": {"description": "Select errors and warnings in addition to the specified convention.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.rope.extensionModules": {"description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope.", "type": ["null", "string"], "default": null}, "pylsp.plugins.pydocstyle.addIgnore": {"description": "Ignore errors and warnings in addition to the specified convention.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.yapf.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pycodestyle.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pydocstyle.select": {"description": "Select errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.flake8.config": {"description": "Path to the config file that will be the authoritative config source.", "type": ["string", "null"], "default": null}, "pylsp.plugins.jedi_definition.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.rope_completion.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.pycodestyle.exclude": {"description": "Exclude files or directories which match these patterns.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.flake8.perFileIgnores": {"description": "A pairing of filenames and violation codes that defines which violations to ignore in a particular file, for example: `[\"file_path.py:W305,W304\"]`).", "type": ["array"], "default": [], "items": {"type": "string"}}, "pylsp.plugins.pydocstyle.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.jedi_definition.follow_builtin_imports": {"description": "If follow_imports is True will decide if it follow builtin imports.", "type": "boolean", "default": true}, "pylsp.plugins.pycodestyle.ignore": {"description": "Ignore errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.flake8.ignore": {"description": "List of errors and warnings to ignore (or skip).", "type": "array", "default": [], "items": {"type": "string"}}, "pylsp.plugins.pycodestyle.maxLineLength": {"description": "Set maximum allowed line length.", "type": ["number", "null"], "default": null}, "pylsp.plugins.jedi_completion.include_function_objects": {"description": "Adds function objects as a separate completion item.", "type": "boolean", "default": true}, "pylsp.plugins.pylint.args": {"description": "Arguments to pass to pylint.", "type": "array", "uniqueItems": false, "items": {"type": "string"}, "default": []}, "pylsp.plugins.jedi_completion.fuzzy": {"description": "Enable fuzzy when requesting autocomplete.", "type": "boolean", "default": false}, "pylsp.plugins.autopep8.enabled": {"description": "Enable or disable the plugin (disabling required to use `yapf`).", "type": "boolean", "default": true}, "pylsp.plugins.jedi_hover.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_symbols.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.configurationSources": {"description": "List of configuration sources to use.", "type": "array", "uniqueItems": true, "items": {"enum": ["pycodestyle", "pyflakes"], "type": "string"}, "default": ["pycodestyle"]}, "pylsp.plugins.jedi_definition.follow_imports": {"description": "The goto call will follow imports.", "type": "boolean", "default": true}, "pylsp.plugins.flake8.executable": {"description": "Path to the flake8 executable.", "type": "string", "default": "flake8"}, "pylsp.plugins.jedi_symbols.include_import_symbols": {"description": "If True includes symbols imported from other libraries.", "type": "boolean", "default": true}, "pylsp.plugins.jedi.extra_paths": {"description": "Define extra paths for jedi.Script.", "type": "array", "default": [], "items": {"type": "string"}}, "pylsp.plugins.preload.modules": {"description": "List of modules to import on startup", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.rope_completion.eager": {"description": "Resolve documentation and detail eagerly.", "type": "boolean", "default": false}, "pylsp.plugins.jedi_references.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pylint.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.flake8.filename": {"description": "Only check for filenames matching the patterns in this list.", "type": ["string", "null"], "default": null}, "pylsp.plugins.preload.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pycodestyle.select": {"description": "Select errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.flake8.select": {"description": "List of errors and warnings to enable.", "type": ["array", "null"], "uniqueItems": true, "items": {"type": "string"}, "default": null}, "pylsp.plugins.jedi_completion.resolve_at_most": {"description": "How many labels and snippets (at most) should be resolved?", "type": "number", "default": 25}, "pylsp.plugins.jedi.environment": {"description": "Define environment for jedi.Script and Jedi.names.", "type": ["string", "null"], "default": null}, "pylsp.plugins.pydocstyle.convention": {"description": "Choose the basic list of checked errors by specifying an existing convention.", "enum": ["pep257", "numpy", null], "type": ["string", "null"], "default": null}, "pylsp.plugins.jedi_signature_help.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_completion.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.mccabe.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pydocstyle.ignore": {"description": "Ignore errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.pyflakes.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.rope.ropeFolder": {"description": "The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all.", "type": ["null", "array"], "uniqueItems": true, "items": {"type": "string"}, "default": null}, "pylsp.plugins.pycodestyle.hangClosing": {"description": "Hang closing bracket instead of matching indentation of opening bracket's line.", "type": ["boolean", "null"], "default": null}, "pylsp.plugins.jedi_completion.eager": {"description": "Resolve documentation and detail eagerly.", "type": "boolean", "default": false}, "pylsp.plugins.pylint.executable": {"description": "Executable to run pylint with. Enabling this will run pylint on unsaved files via stdin. Can slow down workflow. Only works with python3.", "type": ["string", "null"], "default": null}, "pylsp.plugins.jedi_completion.cache_for": {"description": "Modules for which labels and snippets should be cached.", "type": "array", "default": ["pandas", "numpy", "tensorflow", "matplotlib"], "items": {"type": "string"}}, "pylsp.plugins.jedi.env_vars": {"description": "Define environment variables for jedi.Script and Jedi.names.", "type": ["object", "null"], "default": null}, "pylsp.plugins.pydocstyle.matchDir": {"description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot.", "type": "string", "default": "[^\\.].*"}, "pylsp.plugins.flake8.indentSize": {"description": "Set indentation spaces.", "type": ["integer", "null"], "default": null}, "pylsp.plugins.pycodestyle.filename": {"description": "When parsing directories, only check filenames matching these patterns.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}}, "description": "This server can be configured using `workspace/didChangeConfiguration` method. Each configuration option is described below:", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"pylsp.plugins.flake8.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.mccabe.threshold": {"description": "The minimum threshold that triggers warnings about cyclomatic complexity.", "type": "number", "default": 15}, "pylsp.plugins.jedi_completion.include_params": {"description": "Auto-completes methods and classes with tabstops for each parameter.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_symbols.all_scopes": {"description": "If True lists the names of all scopes instead of only the module namespace.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_completion.include_class_objects": {"description": "Adds class objects as a separate completion item.", "type": "boolean", "default": true}, "pylsp.plugins.flake8.hangClosing": {"description": "Hang closing bracket instead of matching indentation of opening bracket's line.", "type": ["boolean", "null"], "default": null}, "pylsp.plugins.flake8.maxLineLength": {"description": "Maximum allowed line length for the entirety of this run.", "type": ["integer", "null"], "default": null}, "pylsp.plugins.pydocstyle.match": {"description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'.", "type": "string", "default": "(?!test_).*\\.py"}, "pylsp.plugins.pycodestyle.indentSize": {"description": "Set indentation spaces.", "type": ["integer", "null"], "default": null}, "pylsp.plugins.flake8.exclude": {"description": "List of files or directories to exclude.", "type": "array", "default": [], "items": {"type": "string"}}, "pylsp.plugins.jedi_completion.fuzzy": {"description": "Enable fuzzy when requesting autocomplete.", "type": "boolean", "default": false}, "pylsp.rope.extensionModules": {"description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope.", "type": ["null", "string"], "default": null}, "pylsp.plugins.pydocstyle.addIgnore": {"description": "Ignore errors and warnings in addition to the specified convention.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.pycodestyle.exclude": {"description": "Exclude files or directories which match these patterns.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.yapf.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pycodestyle.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pydocstyle.select": {"description": "Select errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.flake8.config": {"description": "Path to the config file that will be the authoritative config source.", "type": ["string", "null"], "default": null}, "pylsp.plugins.jedi_definition.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.rope_completion.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.pydocstyle.convention": {"description": "Choose the basic list of checked errors by specifying an existing convention.", "enum": ["pep257", "numpy", null], "type": ["string", "null"], "default": null}, "pylsp.plugins.flake8.perFileIgnores": {"description": "A pairing of filenames and violation codes that defines which violations to ignore in a particular file, for example: `[\"file_path.py:W305,W304\"]`).", "type": ["array"], "default": [], "items": {"type": "string"}}, "pylsp.plugins.pydocstyle.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.jedi_definition.follow_builtin_imports": {"description": "If follow_imports is True will decide if it follow builtin imports.", "type": "boolean", "default": true}, "pylsp.plugins.pycodestyle.ignore": {"description": "Ignore errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.flake8.ignore": {"description": "List of errors and warnings to ignore (or skip).", "type": "array", "default": [], "items": {"type": "string"}}, "pylsp.plugins.pycodestyle.maxLineLength": {"description": "Set maximum allowed line length.", "type": ["number", "null"], "default": null}, "pylsp.plugins.jedi_completion.include_function_objects": {"description": "Adds function objects as a separate completion item.", "type": "boolean", "default": true}, "pylsp.plugins.pylint.args": {"description": "Arguments to pass to pylint.", "type": "array", "uniqueItems": false, "items": {"type": "string"}, "default": []}, "pylsp.plugins.pydocstyle.addSelect": {"description": "Select errors and warnings in addition to the specified convention.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.autopep8.enabled": {"description": "Enable or disable the plugin (disabling required to use `yapf`).", "type": "boolean", "default": true}, "pylsp.plugins.jedi_hover.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_symbols.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.configurationSources": {"description": "List of configuration sources to use.", "type": "array", "uniqueItems": true, "items": {"enum": ["pycodestyle", "pyflakes"], "type": "string"}, "default": ["pycodestyle"]}, "pylsp.plugins.jedi_definition.follow_imports": {"description": "The goto call will follow imports.", "type": "boolean", "default": true}, "pylsp.plugins.flake8.executable": {"description": "Path to the flake8 executable.", "type": "string", "default": "flake8"}, "pylsp.plugins.jedi_symbols.include_import_symbols": {"description": "If True includes symbols imported from other libraries.", "type": "boolean", "default": true}, "pylsp.plugins.jedi.extra_paths": {"description": "Define extra paths for jedi.Script.", "type": "array", "default": [], "items": {"type": "string"}}, "pylsp.plugins.preload.modules": {"description": "List of modules to import on startup", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.rope_completion.eager": {"description": "Resolve documentation and detail eagerly.", "type": "boolean", "default": false}, "pylsp.plugins.jedi_references.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pylint.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": false}, "pylsp.plugins.flake8.filename": {"description": "Only check for filenames matching the patterns in this list.", "type": ["string", "null"], "default": null}, "pylsp.plugins.preload.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pycodestyle.select": {"description": "Select errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.flake8.select": {"description": "List of errors and warnings to enable.", "type": ["array", "null"], "uniqueItems": true, "items": {"type": "string"}, "default": null}, "pylsp.plugins.jedi_completion.resolve_at_most": {"description": "How many labels and snippets (at most) should be resolved?", "type": "number", "default": 25}, "pylsp.plugins.jedi.environment": {"description": "Define environment for jedi.Script and Jedi.names.", "type": ["string", "null"], "default": null}, "pylsp.plugins.jedi_signature_help.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.jedi_completion.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.mccabe.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.plugins.pydocstyle.ignore": {"description": "Ignore errors and warnings", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "pylsp.plugins.pyflakes.enabled": {"description": "Enable or disable the plugin.", "type": "boolean", "default": true}, "pylsp.rope.ropeFolder": {"description": "The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all.", "type": ["null", "array"], "uniqueItems": true, "items": {"type": "string"}, "default": null}, "pylsp.plugins.pycodestyle.hangClosing": {"description": "Hang closing bracket instead of matching indentation of opening bracket's line.", "type": ["boolean", "null"], "default": null}, "pylsp.plugins.jedi_completion.eager": {"description": "Resolve documentation and detail eagerly.", "type": "boolean", "default": false}, "pylsp.plugins.pylint.executable": {"description": "Executable to run pylint with. Enabling this will run pylint on unsaved files via stdin. Can slow down workflow. Only works with python3.", "type": ["string", "null"], "default": null}, "pylsp.plugins.jedi_completion.cache_for": {"description": "Modules for which labels and snippets should be cached.", "type": "array", "default": ["pandas", "numpy", "tensorflow", "matplotlib"], "items": {"type": "string"}}, "pylsp.plugins.jedi.env_vars": {"description": "Define environment variables for jedi.Script and Jedi.names.", "type": ["object", "null"], "default": null}, "pylsp.plugins.pydocstyle.matchDir": {"description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot.", "type": "string", "default": "[^\\.].*"}, "pylsp.plugins.flake8.indentSize": {"description": "Set indentation spaces.", "type": ["integer", "null"], "default": null}, "pylsp.plugins.pycodestyle.filename": {"description": "When parsing directories, only check filenames matching these patterns.", "type": "array", "uniqueItems": true, "items": {"type": "string"}, "default": []}}, "description": "This server can be configured using `workspace/didChangeConfiguration` method. Each configuration option is described below:", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/pyright.json b/schemas/pyright.json index 4c216b2..11adf48 100644 --- a/schemas/pyright.json +++ b/schemas/pyright.json @@ -1 +1 @@ -{"properties": {"python.analysis.diagnosticMode": {"enum": ["openFilesOnly", "workspace"], "scope": "resource", "type": "string", "enumDescriptions": ["Analyzes and reports errors on only open files.", "Analyzes and reports errors on all files in the workspace."], "default": "openFilesOnly"}, "python.analysis.typeshedPaths": {"description": "Paths to look for typeshed modules.", "scope": "resource", "type": "array", "default": [], "items": {"type": "string"}}, "python.analysis.stubPath": {"description": "Path to directory containing custom type stub files.", "scope": "resource", "type": "string", "default": "typings"}, "python.analysis.useLibraryCodeForTypes": {"description": "Use library implementations to extract type information when type stub is not present.", "scope": "resource", "type": "boolean", "default": false}, "python.venvPath": {"description": "Path to folder with a list of Virtual Environments.", "scope": "resource", "type": "string", "default": ""}, "python.analysis.typeCheckingMode": {"description": "Defines the default rule set for type checking.", "enum": ["off", "basic", "strict"], "scope": "resource", "type": "string", "default": "basic"}, "python.pythonPath": {"description": "Path to Python, you can use a custom version of Python.", "scope": "resource", "type": "string", "default": "python"}, "python.analysis.diagnosticSeverityOverrides": {"properties": {"reportIncompatibleMethodOverride": {"description": "Diagnostics for methods that override a method of the same name in a base class in an incompatible manner (wrong number of parameters, incompatible parameter types, or incompatible return type).", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnsupportedDunderAll": {"description": "Diagnostics for unsupported operations performed on __all__.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportMissingImports": {"description": "Diagnostics for imports that have no corresponding imported python file or type stub file.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportSelfClsParameterName": {"description": "Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUnnecessaryIsInstance": {"description": "Diagnostics for 'isinstance' or 'issubclass' calls where the result is statically determined to be always true. Such calls are often indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportInvalidTypeVarUse": {"description": "Diagnostics for improper use of type variables in a function signature.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportTypeCommentUsage": {"description": "Diagnostics for usage of deprecated type comments.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportInvalidStubStatement": {"description": "Diagnostics for type stub statements that do not conform to PEP 484.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportImplicitStringConcatenation": {"description": "Diagnostics for two or more string literals that follow each other, indicating an implicit concatenation. This is considered a bad practice and often masks bugs such as missing commas.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportConstantRedefinition": {"description": "Diagnostics for attempts to redefine variables whose names are all-caps with underscores and numerals.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportFunctionMemberAccess": {"description": "Diagnostics for member accesses on functions.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportCallInDefaultInitializer": {"description": "Diagnostics for function calls within a default value initialization expression. Such calls can mask expensive operations that are performed at module initialization time.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportPropertyTypeMismatch": {"description": "Diagnostics for property whose setter and getter have mismatched types.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportInvalidStringEscapeSequence": {"description": "Diagnostics for invalid escape sequences used within string literals. The Python specification indicates that such sequences will generate a syntax error in future versions.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUnusedFunction": {"description": "Diagnostics for a function or method with a private name (starting with an underscore) that is not accessed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedCoroutine": {"description": "Diagnostics for call expressions that return a Coroutine and whose results are not consumed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportImportCycles": {"description": "Diagnostics for cyclical import chains. These are not errors in Python, but they do slow down type analysis and often hint at architectural layering issues. Generally, they should be avoided.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedCallResult": {"description": "Diagnostics for call expressions whose results are not consumed and are not None.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOverlappingOverload": {"description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportMissingModuleSource": {"description": "Diagnostics for imports that have no corresponding source file. This happens when a type stub is found, but the module source file was not found, indicating that the code may fail at runtime when using this execution environment. Type checking will be done using the type stub.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUntypedFunctionDecorator": {"description": "Diagnostics for function decorators that have no type annotations. These obscure the function type, defeating many type analysis features.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnknownLambdaType": {"description": "Diagnostics for input or return parameters for lambdas that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedClass": {"description": "Diagnostics for a class with a private name (starting with an underscore) that is not accessed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUninitializedInstanceVariable": {"description": "Diagnostics for instance variables that are not declared or initialized within class body or `__init__` method.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportIncompleteStub": {"description": "Diagnostics for the use of a module-level “__getattr__” function, indicating that the stub is incomplete.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalOperand": {"description": "Diagnostics for an attempt to use an Optional type as an operand to a binary or unary operator (like '+', '==', 'or', 'not').", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportGeneralTypeIssues": {"description": "Diagnostics for general type inconsistencies, unsupported operations, argument/parameter mismatches, etc. Covers all of the basic type-checking rules not covered by other rules. Does not include syntax errors.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportMissingTypeStubs": {"description": "Diagnostics for imports that have no corresponding type stub file (either a typeshed file or a custom type stub). The type checker requires type stubs to do its best job at analysis.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnknownParameterType": {"description": "Diagnostics for input or return parameters for functions or methods that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportMissingSuperCall": {"description": "Diagnostics for missing call to parent class for inherited `__init__` methods.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportPrivateImportUsage": {"description": "Diagnostics for incorrect usage of symbol imported from a \"py.typed\" module that is not re-exported from that module.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUnusedVariable": {"description": "Diagnostics for a variable that is not accessed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnnecessaryContains": {"description": "Diagnostics for 'in' operation that is statically determined to be unnecessary. Such operations are sometimes indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalContextManager": {"description": "Diagnostics for an attempt to use an Optional type as a context manager (as a parameter to a with statement).", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportInconsistentConstructor": {"description": "Diagnostics for __init__ and __new__ methods whose signatures are inconsistent.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnknownVariableType": {"description": "Diagnostics for variables that have an unknown type..", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportDuplicateImport": {"description": "Diagnostics for an imported symbol or module that is imported more than once.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnnecessaryTypeIgnoreComment": {"description": "Diagnostics for '# type: ignore' comments that have no effect.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalIterable": {"description": "Diagnostics for an attempt to use an Optional type as an iterable value (e.g. within a for statement).", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportOptionalCall": {"description": "Diagnostics for an attempt to call a variable with an Optional type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportPrivateUsage": {"description": "Diagnostics for incorrect usage of private or protected variables or functions. Protected class members begin with a single underscore _ and can be accessed only by subclasses. Private class members begin with a double underscore but do not end in a double underscore and can be accessed only within the declaring class. Variables and functions declared outside of a class are considered private if their names start with either a single or double underscore, and they cannot be accessed outside of the declaring module.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportIncompatibleVariableOverride": {"description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedImport": {"description": "Diagnostics for an imported symbol that is not referenced within that file.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedExpression": {"description": "Diagnostics for simple expressions whose value is not used in any way.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportMatchNotExhaustive": {"description": "Diagnostics for 'match' statements that do not exhaustively match all possible values.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUndefinedVariable": {"description": "Diagnostics for undefined variables.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUntypedBaseClass": {"description": "Diagnostics for base classes whose type cannot be determined statically. These obscure the class type, defeating many type analysis features.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportMissingTypeArgument": {"description": "Diagnostics for generic class reference with missing type arguments.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalMemberAccess": {"description": "Diagnostics for an attempt to access a member of a variable with an Optional type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUnknownMemberType": {"description": "Diagnostics for class or instance variables that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportAssertAlwaysTrue": {"description": "Diagnostics for 'assert' statement that will provably always assert. This can be indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUnboundVariable": {"description": "Diagnostics for unbound and possibly unbound variables.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportMissingParameterType": {"description": "Diagnostics for parameters that are missing a type annotation.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUntypedClassDecorator": {"description": "Diagnostics for class decorators that have no type annotations. These obscure the class type, defeating many type analysis features.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnnecessaryCast": {"description": "Diagnostics for 'cast' calls that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalSubscript": {"description": "Diagnostics for an attempt to subscript (index) a variable with an Optional type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUntypedNamedTuple": {"description": "Diagnostics when “namedtuple” is used rather than “NamedTuple”. The former contains no type information, whereas the latter does.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportWildcardImportFromLibrary": {"description": "Diagnostics for an wildcard import from an external library.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUnnecessaryComparison": {"description": "Diagnostics for '==' and '!=' comparisons that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportTypedDictNotRequiredAccess": {"description": "Diagnostics for an attempt to access a non-required key within a TypedDict without a check for its presence.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUnknownArgumentType": {"description": "Diagnostics for call arguments for functions or methods that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}}, "description": "Allows a user to override the severity levels for individual diagnostics.", "scope": "resource", "type": "object", "default": {}}, "python.analysis.extraPaths": {"description": "Additional import search resolution paths", "scope": "resource", "type": "array", "default": [], "items": {"type": "string"}}, "python.analysis.autoImportCompletions": {"description": "Offer auto-import completions.", "scope": "resource", "type": "boolean", "default": true}, "python.analysis.logLevel": {"description": "Specifies the level of logging for the Output panel", "enum": ["Error", "Warning", "Information", "Trace"], "type": "string", "default": "Information"}, "pyright.disableLanguageServices": {"description": "Disables type completion, definitions, and references.", "scope": "resource", "type": "boolean", "default": false}, "pyright.disableOrganizeImports": {"description": "Disables the “Organize Imports” command.", "scope": "resource", "type": "boolean", "default": false}, "python.analysis.autoSearchPaths": {"description": "Automatically add common search paths like 'src'?", "scope": "resource", "type": "boolean", "default": true}}, "description": "VS Code static type checking for Python", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"python.analysis.typeshedPaths": {"description": "Paths to look for typeshed modules.", "scope": "resource", "type": "array", "default": [], "items": {"type": "string"}}, "python.venvPath": {"description": "Path to folder with a list of Virtual Environments.", "scope": "resource", "type": "string", "default": ""}, "python.analysis.stubPath": {"description": "Path to directory containing custom type stub files.", "scope": "resource", "type": "string", "default": "typings"}, "python.analysis.autoImportCompletions": {"description": "Offer auto-import completions.", "scope": "resource", "type": "boolean", "default": true}, "python.analysis.logLevel": {"description": "Specifies the level of logging for the Output panel", "enum": ["Error", "Warning", "Information", "Trace"], "type": "string", "default": "Information"}, "python.analysis.extraPaths": {"description": "Additional import search resolution paths", "scope": "resource", "type": "array", "default": [], "items": {"type": "string"}}, "python.pythonPath": {"description": "Path to Python, you can use a custom version of Python.", "scope": "resource", "type": "string", "default": "python"}, "python.analysis.diagnosticMode": {"enum": ["openFilesOnly", "workspace"], "scope": "resource", "type": "string", "enumDescriptions": ["Analyzes and reports errors on only open files.", "Analyzes and reports errors on all files in the workspace."], "default": "openFilesOnly"}, "python.analysis.diagnosticSeverityOverrides": {"properties": {"reportIncompatibleMethodOverride": {"description": "Diagnostics for methods that override a method of the same name in a base class in an incompatible manner (wrong number of parameters, incompatible parameter types, or incompatible return type).", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnsupportedDunderAll": {"description": "Diagnostics for unsupported operations performed on __all__.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportMissingImports": {"description": "Diagnostics for imports that have no corresponding imported python file or type stub file.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportSelfClsParameterName": {"description": "Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportConstantRedefinition": {"description": "Diagnostics for attempts to redefine variables whose names are all-caps with underscores and numerals.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportInvalidTypeVarUse": {"description": "Diagnostics for improper use of type variables in a function signature.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportTypeCommentUsage": {"description": "Diagnostics for usage of deprecated type comments.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportInvalidStubStatement": {"description": "Diagnostics for type stub statements that do not conform to PEP 484.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportImplicitStringConcatenation": {"description": "Diagnostics for two or more string literals that follow each other, indicating an implicit concatenation. This is considered a bad practice and often masks bugs such as missing commas.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportDuplicateImport": {"description": "Diagnostics for an imported symbol or module that is imported more than once.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportFunctionMemberAccess": {"description": "Diagnostics for member accesses on functions.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportCallInDefaultInitializer": {"description": "Diagnostics for function calls within a default value initialization expression. Such calls can mask expensive operations that are performed at module initialization time.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportPropertyTypeMismatch": {"description": "Diagnostics for property whose setter and getter have mismatched types.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportInvalidStringEscapeSequence": {"description": "Diagnostics for invalid escape sequences used within string literals. The Python specification indicates that such sequences will generate a syntax error in future versions.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUnusedFunction": {"description": "Diagnostics for a function or method with a private name (starting with an underscore) that is not accessed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedCoroutine": {"description": "Diagnostics for call expressions that return a Coroutine and whose results are not consumed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportImportCycles": {"description": "Diagnostics for cyclical import chains. These are not errors in Python, but they do slow down type analysis and often hint at architectural layering issues. Generally, they should be avoided.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedCallResult": {"description": "Diagnostics for call expressions whose results are not consumed and are not None.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOverlappingOverload": {"description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportMissingModuleSource": {"description": "Diagnostics for imports that have no corresponding source file. This happens when a type stub is found, but the module source file was not found, indicating that the code may fail at runtime when using this execution environment. Type checking will be done using the type stub.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUntypedFunctionDecorator": {"description": "Diagnostics for function decorators that have no type annotations. These obscure the function type, defeating many type analysis features.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnknownLambdaType": {"description": "Diagnostics for input or return parameters for lambdas that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedClass": {"description": "Diagnostics for a class with a private name (starting with an underscore) that is not accessed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUninitializedInstanceVariable": {"description": "Diagnostics for instance variables that are not declared or initialized within class body or `__init__` method.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportIncompleteStub": {"description": "Diagnostics for the use of a module-level “__getattr__” function, indicating that the stub is incomplete.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalOperand": {"description": "Diagnostics for an attempt to use an Optional type as an operand to a binary or unary operator (like '+', '==', 'or', 'not').", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportGeneralTypeIssues": {"description": "Diagnostics for general type inconsistencies, unsupported operations, argument/parameter mismatches, etc. Covers all of the basic type-checking rules not covered by other rules. Does not include syntax errors.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportMissingTypeStubs": {"description": "Diagnostics for imports that have no corresponding type stub file (either a typeshed file or a custom type stub). The type checker requires type stubs to do its best job at analysis.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnknownParameterType": {"description": "Diagnostics for input or return parameters for functions or methods that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportMissingSuperCall": {"description": "Diagnostics for missing call to parent class for inherited `__init__` methods.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnnecessaryIsInstance": {"description": "Diagnostics for 'isinstance' or 'issubclass' calls where the result is statically determined to be always true. Such calls are often indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportPrivateImportUsage": {"description": "Diagnostics for incorrect usage of symbol imported from a \"py.typed\" module that is not re-exported from that module.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUnusedVariable": {"description": "Diagnostics for a variable that is not accessed.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnnecessaryContains": {"description": "Diagnostics for 'in' operation that is statically determined to be unnecessary. Such operations are sometimes indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalContextManager": {"description": "Diagnostics for an attempt to use an Optional type as a context manager (as a parameter to a with statement).", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportInconsistentConstructor": {"description": "Diagnostics for __init__ and __new__ methods whose signatures are inconsistent.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnknownVariableType": {"description": "Diagnostics for variables that have an unknown type..", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnnecessaryTypeIgnoreComment": {"description": "Diagnostics for '# type: ignore' comments that have no effect.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalIterable": {"description": "Diagnostics for an attempt to use an Optional type as an iterable value (e.g. within a for statement).", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportOptionalCall": {"description": "Diagnostics for an attempt to call a variable with an Optional type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportPrivateUsage": {"description": "Diagnostics for incorrect usage of private or protected variables or functions. Protected class members begin with a single underscore _ and can be accessed only by subclasses. Private class members begin with a double underscore but do not end in a double underscore and can be accessed only within the declaring class. Variables and functions declared outside of a class are considered private if their names start with either a single or double underscore, and they cannot be accessed outside of the declaring module.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportIncompatibleVariableOverride": {"description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedImport": {"description": "Diagnostics for an imported symbol that is not referenced within that file.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnusedExpression": {"description": "Diagnostics for simple expressions whose value is not used in any way.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportMatchNotExhaustive": {"description": "Diagnostics for 'match' statements that do not exhaustively match all possible values.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUndefinedVariable": {"description": "Diagnostics for undefined variables.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUntypedBaseClass": {"description": "Diagnostics for base classes whose type cannot be determined statically. These obscure the class type, defeating many type analysis features.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportMissingTypeArgument": {"description": "Diagnostics for generic class reference with missing type arguments.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalMemberAccess": {"description": "Diagnostics for an attempt to access a member of a variable with an Optional type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUnknownMemberType": {"description": "Diagnostics for class or instance variables that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportAssertAlwaysTrue": {"description": "Diagnostics for 'assert' statement that will provably always assert. This can be indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUnboundVariable": {"description": "Diagnostics for unbound and possibly unbound variables.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportMissingParameterType": {"description": "Diagnostics for parameters that are missing a type annotation.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUntypedClassDecorator": {"description": "Diagnostics for class decorators that have no type annotations. These obscure the class type, defeating many type analysis features.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportUnnecessaryCast": {"description": "Diagnostics for 'cast' calls that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportOptionalSubscript": {"description": "Diagnostics for an attempt to subscript (index) a variable with an Optional type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUntypedNamedTuple": {"description": "Diagnostics when “namedtuple” is used rather than “NamedTuple”. The former contains no type information, whereas the latter does.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportWildcardImportFromLibrary": {"description": "Diagnostics for an wildcard import from an external library.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "warning"}, "reportUnnecessaryComparison": {"description": "Diagnostics for '==' and '!=' comparisons that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}, "reportTypedDictNotRequiredAccess": {"description": "Diagnostics for an attempt to access a non-required key within a TypedDict without a check for its presence.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "error"}, "reportUnknownArgumentType": {"description": "Diagnostics for call arguments for functions or methods that have an unknown type.", "enum": ["none", "information", "warning", "error"], "type": "string", "default": "none"}}, "description": "Allows a user to override the severity levels for individual diagnostics.", "scope": "resource", "type": "object", "default": {}}, "python.analysis.useLibraryCodeForTypes": {"description": "Use library implementations to extract type information when type stub is not present.", "scope": "resource", "type": "boolean", "default": false}, "python.analysis.typeCheckingMode": {"description": "Defines the default rule set for type checking.", "enum": ["off", "basic", "strict"], "scope": "resource", "type": "string", "default": "basic"}, "pyright.disableLanguageServices": {"description": "Disables type completion, definitions, and references.", "scope": "resource", "type": "boolean", "default": false}, "pyright.disableOrganizeImports": {"description": "Disables the “Organize Imports” command.", "scope": "resource", "type": "boolean", "default": false}, "python.analysis.autoSearchPaths": {"description": "Automatically add common search paths like 'src'?", "scope": "resource", "type": "boolean", "default": true}}, "description": "VS Code static type checking for Python", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/rls.json b/schemas/rls.json index 4fe30f1..616d89d 100644 --- a/schemas/rls.json +++ b/schemas/rls.json @@ -1 +1 @@ -{"properties": {"rust.build_command": {"description": "EXPERIMENTAL (requires `unstable_features`)\nIf set, executes a given program responsible for rebuilding save-analysis to be loaded by the RLS. The program given should output a list of resulting .json files on stdout. \nImplies `rust.build_on_save`: true.", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.wait_to_build": {"description": "Time in milliseconds between receiving a change notification and starting build.", "scope": "resource", "type": ["number", "null"], "default": null}, "rust.rustflags": {"description": "Flags added to RUSTFLAGS.", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.crate_blacklist": {"description": "Overrides the default list of packages for which analysis is skipped.\nAvailable since RLS 1.38", "scope": "resource", "type": ["array", "null"], "default": ["cocoa", "gleam", "glium", "idna", "libc", "openssl", "rustc_serialize", "serde", "serde_json", "typenum", "unicode_normalization", "unicode_segmentation", "winapi"]}, "rust.sysroot": {"description": "--sysroot", "scope": "resource", "type": ["string", "null"], "default": null}, "rust-client.channel": {"description": "Rust channel to invoke rustup with. Ignored if rustup is disabled. By default, uses the same channel as your currently open project.", "anyOf": [{"type": "string"}, {"enum": ["default", "stable", "beta", "nightly"], "type": "string", "enumDescriptions": ["Uses the same channel as your currently open project", "Explicitly use the `stable` channel", "Explicitly use the `beta` channel", "Explicitly use the `nightly` channel"]}], "default": "default"}, "rust-client.autoStartRls": {"description": "Start RLS automatically when opening a file or project.", "scope": "resource", "type": "boolean", "default": true}, "rust.show_warnings": {"description": "Show warnings.", "scope": "resource", "type": "boolean", "default": true}, "rust-client.rlsPath": {"description": "Override RLS path. Only required for RLS developers. If you set this and use rustup, you should also set `rust-client.channel` to ensure your RLS sees the right libraries. If you don't use rustup, make sure to set `rust-client.disableRustup`.", "scope": "machine", "type": ["string", "null"], "default": null}, "rust-client.updateOnStartup": {"description": "Update the Rust toolchain and its required components whenever the extension starts up.", "type": "boolean", "default": false}, "rust.build_lib": {"description": "Specify to run analysis as if running `cargo check --lib`. Use `null` to auto-detect. (unstable)", "scope": "resource", "type": ["boolean", "null"], "default": null}, "rust.all_targets": {"description": "Checks the project as if you were running cargo check --all-targets (I.e., check all targets and integration tests too).", "scope": "resource", "type": "boolean", "default": true}, "rust.target_dir": {"description": "When specified, it places the generated analysis files at the specified target directory. By default it is placed target/rls directory.", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.features": {"description": "A list of Cargo features to enable.", "scope": "resource", "type": "array", "default": []}, "rust.show_hover_context": {"description": "Show additional context in hover tooltips when available. This is often the type local variable declaration.", "scope": "resource", "type": "boolean", "default": true}, "rust.clear_env_rust_log": {"description": "Clear the RUST_LOG environment variable before running rustc or cargo.", "scope": "resource", "type": "boolean", "default": true}, "rust.all_features": {"description": "Enable all Cargo features.", "scope": "resource", "type": "boolean", "default": false}, "rust.full_docs": {"description": "Instructs cargo to enable full documentation extraction during save-analysis while building the crate.", "scope": "resource", "type": ["boolean", "null"], "default": null}, "rust-client.rustupPath": {"description": "Path to rustup executable. Ignored if rustup is disabled.", "scope": "machine", "type": "string", "default": "rustup"}, "rust.racer_completion": {"description": "Enables code completion using racer.", "scope": "resource", "type": "boolean", "default": true}, "rust-client.revealOutputChannelOn": {"description": "Specifies message severity on which the output channel will be revealed. Requires reloading extension after change.", "enum": ["info", "warn", "error", "never"], "type": "string", "default": "never"}, "rust.no_default_features": {"description": "Do not enable default Cargo features.", "scope": "resource", "type": "boolean", "default": false}, "rust.ignore_deprecation_warning": {"description": "Whether to surpress the deprecation notification on start up.", "type": "boolean", "default": false}, "rust.target": {"description": "--target", "scope": "resource", "type": ["string", "null"], "default": null}, "rust-client.enableMultiProjectSetup": {"description": "Allow multiple projects in the same folder, along with removing the constraint that the cargo.toml must be located at the root. (Experimental: might not work for certain setups)", "type": ["boolean", "null"], "default": null}, "rust.build_on_save": {"description": "Only index the project when a file is saved and not on change.", "scope": "resource", "type": "boolean", "default": false}, "rust.unstable_features": {"description": "Enable unstable features.", "scope": "resource", "type": "boolean", "default": false}, "rust.clippy_preference": {"description": "Controls eagerness of clippy diagnostics when available. Valid values are (case-insensitive):\n - \"off\": Disable clippy lints.\n - \"on\": Display the same diagnostics as command-line clippy invoked with no arguments (`clippy::all` unless overridden).\n - \"opt-in\": Only display the lints explicitly enabled in the code. Start by adding `#![warn(clippy::all)]` to the root of each crate you want linted.\nYou need to install clippy via rustup if you haven't already.", "enum": ["on", "opt-in", "off"], "scope": "resource", "type": "string", "default": "opt-in"}, "rust.rust-analyzer.releaseTag": {"description": "Which binary release to download and use", "type": "string", "default": "nightly"}, "rust.rust-analyzer": {"description": "Settings passed down to rust-analyzer server", "scope": "resource", "type": "object", "default": {}}, "rust-client.engine": {"description": "The underlying LSP server used to provide IDE support for Rust projects.", "enum": ["rls", "rust-analyzer"], "scope": "window", "type": "string", "enumDescriptions": ["Use the Rust Language Server (RLS)", "Use the rust-analyzer language server (NOTE: not fully supported yet)"], "default": "rls"}, "rust.cfg_test": {"description": "Build cfg(test) code. (unstable)", "scope": "resource", "type": "boolean", "default": false}, "rust.build_bin": {"description": "Specify to run analysis as if running `cargo check --bin `. Use `null` to auto-detect. (unstable)", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.rustfmt_path": {"description": "When specified, RLS will use the Rustfmt pointed at the path instead of the bundled one", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.jobs": {"description": "Number of Cargo jobs to be run in parallel.", "scope": "resource", "type": ["number", "null"], "default": null}, "rust-client.trace.server": {"description": "Traces the communication between VS Code and the Rust language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "rust-client.disableRustup": {"description": "Disable usage of rustup and use rustc/rls/rust-analyzer from PATH.", "type": "boolean", "default": false}, "rust.rust-analyzer.path": {"description": "When specified, uses the rust-analyzer binary at a given path", "type": ["string", "null"], "default": null}, "rust-client.logToFile": {"description": "When set to true, RLS stderr is logged to a file at workspace root level. Requires reloading extension after change.", "type": "boolean", "default": false}}, "description": "Rust for Visual Studio Code (powered by Rust Language Server/Rust Analyzer). Provides lints, code completion and navigation, formatting and more.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"rust.build_command": {"description": "EXPERIMENTAL (requires `unstable_features`)\nIf set, executes a given program responsible for rebuilding save-analysis to be loaded by the RLS. The program given should output a list of resulting .json files on stdout. \nImplies `rust.build_on_save`: true.", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.wait_to_build": {"description": "Time in milliseconds between receiving a change notification and starting build.", "scope": "resource", "type": ["number", "null"], "default": null}, "rust.rustflags": {"description": "Flags added to RUSTFLAGS.", "scope": "resource", "type": ["string", "null"], "default": null}, "rust-client.disableRustup": {"description": "Disable usage of rustup and use rustc/rls/rust-analyzer from PATH.", "type": "boolean", "default": false}, "rust.rust-analyzer.releaseTag": {"description": "Which binary release to download and use", "type": "string", "default": "nightly"}, "rust.full_docs": {"description": "Instructs cargo to enable full documentation extraction during save-analysis while building the crate.", "scope": "resource", "type": ["boolean", "null"], "default": null}, "rust-client.channel": {"description": "Rust channel to invoke rustup with. Ignored if rustup is disabled. By default, uses the same channel as your currently open project.", "anyOf": [{"type": "string"}, {"enum": ["default", "stable", "beta", "nightly"], "type": "string", "enumDescriptions": ["Uses the same channel as your currently open project", "Explicitly use the `stable` channel", "Explicitly use the `beta` channel", "Explicitly use the `nightly` channel"]}], "default": "default"}, "rust-client.autoStartRls": {"description": "Start RLS automatically when opening a file or project.", "scope": "resource", "type": "boolean", "default": true}, "rust.show_warnings": {"description": "Show warnings.", "scope": "resource", "type": "boolean", "default": true}, "rust-client.rlsPath": {"description": "Override RLS path. Only required for RLS developers. If you set this and use rustup, you should also set `rust-client.channel` to ensure your RLS sees the right libraries. If you don't use rustup, make sure to set `rust-client.disableRustup`.", "scope": "machine", "type": ["string", "null"], "default": null}, "rust-client.updateOnStartup": {"description": "Update the Rust toolchain and its required components whenever the extension starts up.", "type": "boolean", "default": false}, "rust.ignore_deprecation_warning": {"description": "Whether to surpress the deprecation notification on start up.", "type": "boolean", "default": false}, "rust.all_targets": {"description": "Checks the project as if you were running cargo check --all-targets (I.e., check all targets and integration tests too).", "scope": "resource", "type": "boolean", "default": true}, "rust.target_dir": {"description": "When specified, it places the generated analysis files at the specified target directory. By default it is placed target/rls directory.", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.cfg_test": {"description": "Build cfg(test) code. (unstable)", "scope": "resource", "type": "boolean", "default": false}, "rust.show_hover_context": {"description": "Show additional context in hover tooltips when available. This is often the type local variable declaration.", "scope": "resource", "type": "boolean", "default": true}, "rust-client.logToFile": {"description": "When set to true, RLS stderr is logged to a file at workspace root level. Requires reloading extension after change.", "type": "boolean", "default": false}, "rust.all_features": {"description": "Enable all Cargo features.", "scope": "resource", "type": "boolean", "default": false}, "rust.target": {"description": "--target", "scope": "resource", "type": ["string", "null"], "default": null}, "rust-client.rustupPath": {"description": "Path to rustup executable. Ignored if rustup is disabled.", "scope": "machine", "type": "string", "default": "rustup"}, "rust.racer_completion": {"description": "Enables code completion using racer.", "scope": "resource", "type": "boolean", "default": true}, "rust.no_default_features": {"description": "Do not enable default Cargo features.", "scope": "resource", "type": "boolean", "default": false}, "rust.build_lib": {"description": "Specify to run analysis as if running `cargo check --lib`. Use `null` to auto-detect. (unstable)", "scope": "resource", "type": ["boolean", "null"], "default": null}, "rust.clippy_preference": {"description": "Controls eagerness of clippy diagnostics when available. Valid values are (case-insensitive):\n - \"off\": Disable clippy lints.\n - \"on\": Display the same diagnostics as command-line clippy invoked with no arguments (`clippy::all` unless overridden).\n - \"opt-in\": Only display the lints explicitly enabled in the code. Start by adding `#![warn(clippy::all)]` to the root of each crate you want linted.\nYou need to install clippy via rustup if you haven't already.", "enum": ["on", "opt-in", "off"], "scope": "resource", "type": "string", "default": "opt-in"}, "rust.clear_env_rust_log": {"description": "Clear the RUST_LOG environment variable before running rustc or cargo.", "scope": "resource", "type": "boolean", "default": true}, "rust-client.revealOutputChannelOn": {"description": "Specifies message severity on which the output channel will be revealed. Requires reloading extension after change.", "enum": ["info", "warn", "error", "never"], "type": "string", "default": "never"}, "rust-client.enableMultiProjectSetup": {"description": "Allow multiple projects in the same folder, along with removing the constraint that the cargo.toml must be located at the root. (Experimental: might not work for certain setups)", "type": ["boolean", "null"], "default": null}, "rust.unstable_features": {"description": "Enable unstable features.", "scope": "resource", "type": "boolean", "default": false}, "rust-client.trace.server": {"description": "Traces the communication between VS Code and the Rust language server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "rust-client.engine": {"description": "The underlying LSP server used to provide IDE support for Rust projects.", "enum": ["rls", "rust-analyzer"], "scope": "window", "type": "string", "enumDescriptions": ["Use the Rust Language Server (RLS)", "Use the rust-analyzer language server (NOTE: not fully supported yet)"], "default": "rls"}, "rust.crate_blacklist": {"description": "Overrides the default list of packages for which analysis is skipped.\nAvailable since RLS 1.38", "scope": "resource", "type": ["array", "null"], "default": ["cocoa", "gleam", "glium", "idna", "libc", "openssl", "rustc_serialize", "serde", "serde_json", "typenum", "unicode_normalization", "unicode_segmentation", "winapi"]}, "rust.build_bin": {"description": "Specify to run analysis as if running `cargo check --bin `. Use `null` to auto-detect. (unstable)", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.rust-analyzer": {"description": "Settings passed down to rust-analyzer server", "scope": "resource", "type": "object", "default": {}}, "rust.jobs": {"description": "Number of Cargo jobs to be run in parallel.", "scope": "resource", "type": ["number", "null"], "default": null}, "rust.build_on_save": {"description": "Only index the project when a file is saved and not on change.", "scope": "resource", "type": "boolean", "default": false}, "rust.sysroot": {"description": "--sysroot", "scope": "resource", "type": ["string", "null"], "default": null}, "rust.rust-analyzer.path": {"description": "When specified, uses the rust-analyzer binary at a given path", "type": ["string", "null"], "default": null}, "rust.features": {"description": "A list of Cargo features to enable.", "scope": "resource", "type": "array", "default": []}, "rust.rustfmt_path": {"description": "When specified, RLS will use the Rustfmt pointed at the path instead of the bundled one", "scope": "resource", "type": ["string", "null"], "default": null}}, "description": "Rust for Visual Studio Code (powered by Rust Language Server/Rust Analyzer). Provides lints, code completion and navigation, formatting and more.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/rust_analyzer.json b/schemas/rust_analyzer.json index 28c80ca..36a1a15 100644 --- a/schemas/rust_analyzer.json +++ b/schemas/rust_analyzer.json @@ -1 +1 @@ -{"properties": {"rust-analyzer.hover.actions.enable": {"type": "boolean", "markdownDescription": "Whether to show HoverActions in Rust files.", "default": true}, "rust-analyzer.diagnostics.remapPrefix": {"type": "object", "markdownDescription": "Map of prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.", "default": {}}, "rust-analyzer.cachePriming.numThreads": {"minimum": 0, "maximum": 255, "type": "number", "markdownDescription": "How many worker threads to handle priming caches. The default `0` means to pick automatically.", "default": 0}, "rust-analyzer.cargo.noDefaultFeatures": {"type": "boolean", "markdownDescription": "Whether to pass `--no-default-features` to cargo.", "default": false}, "rust-analyzer.inlayHints.closingBraceHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay hints after a closing `}` to indicate what item it belongs to.", "default": true}, "rust-analyzer.imports.merge.glob": {"type": "boolean", "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.", "default": true}, "rust-analyzer.trace.extension": {"description": "Enable logging of VS Code extensions itself.", "type": "boolean", "default": false}, "rust-analyzer.hover.documentation.enable": {"type": "boolean", "markdownDescription": "Whether to show documentation on hover.", "default": true}, "rust-analyzer.workspace.symbol.search.scope": {"enum": ["workspace", "workspace_and_dependencies"], "type": "string", "markdownDescription": "Workspace symbol search scope.", "enumDescriptions": ["Search in current workspace only.", "Search in current workspace and dependencies."], "default": "workspace"}, "rust-analyzer.completion.autoself.enable": {"type": "boolean", "markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.", "default": true}, "rust-analyzer.files.excludeDirs": {"type": "array", "markdownDescription": "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's `files.watcherExclude`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.procMacro.ignored": {"type": "object", "markdownDescription": "These proc-macros will be ignored when trying to expand them.\n\nThis config takes a map of crate names with the exported proc-macro names to ignore as values.", "default": {}}, "rust-analyzer.cargoRunner": {"description": "Custom cargo runner extension ID.", "type": ["null", "string"], "default": null}, "rust-analyzer.completion.callable.snippets": {"enum": ["fill_arguments", "add_parentheses", "none"], "type": "string", "markdownDescription": "Whether to add parenthesis and argument snippets when completing function.", "enumDescriptions": ["Add call parentheses and pre-fill arguments.", "Add call parentheses.", "Do no snippet completions for callables."], "default": "fill_arguments"}, "rust-analyzer.hover.actions.run.enable": {"type": "boolean", "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.hover.actions.implementations.enable": {"type": "boolean", "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.diagnostics.experimental.enable": {"type": "boolean", "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.", "default": false}, "rust-analyzer.cargo.buildScripts.useRustcWrapper": {"type": "boolean", "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid checking unnecessary things.", "default": true}, "rust-analyzer.lens.implementations.enable": {"type": "boolean", "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": true}, "rust-analyzer.hover.documentation.keywords.enable": {"type": "boolean", "markdownDescription": "Whether to show keyword hover popups. Only applies when\n`#rust-analyzer.hover.documentation.enable#` is set.", "default": true}, "rust-analyzer.trace.server": {"description": "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users).", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "enumDescriptions": ["No traces", "Error only", "Full log"], "default": "off"}, "rust-analyzer.inlayHints.maxLength": {"minimum": 0, "type": ["null", "integer"], "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.", "default": 25}, "rust-analyzer.server.extraEnv": {"additionalProperties": {"type": ["string", "number"]}, "type": ["null", "object"], "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging.", "default": null}, "rust-analyzer.restartServerOnConfigChange": {"type": "boolean", "markdownDescription": "Whether to restart the server automatically when certain settings that require a restart are changed.", "default": false}, "rust-analyzer.debug.engine": {"description": "Preferred debug engine.", "enum": ["auto", "vadimcn.vscode-lldb", "ms-vscode.cpptools"], "type": "string", "default": "auto", "markdownEnumDescriptions": ["First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).", "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)", "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"]}, "rust-analyzer.hover.actions.gotoTypeDef.enable": {"type": "boolean", "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.inlayHints.typeHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay type hints for variables.", "default": true}, "rust-analyzer.inlayHints.reborrowHints.enable": {"enum": ["always", "never", "mutable"], "type": "string", "markdownDescription": "Whether to show inlay type hints for compiler inserted reborrows.", "enumDescriptions": ["Always show reborrow hints.", "Never show reborrow hints.", "Only show mutable reborrow hints."], "default": "never"}, "rust-analyzer.runnables.command": {"type": ["null", "string"], "markdownDescription": "Command to be executed instead of 'cargo' for runnables.", "default": null}, "rust-analyzer.inlayHints.chainingHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay type hints for method chains.", "default": true}, "rust-analyzer.checkOnSave.overrideCommand": {"type": ["null", "array"], "markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefor include `--message-format=json` or a similar option.\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects, this command is invoked for\neach of them, with the working directory being the project root\n(i.e., the folder containing the `Cargo.toml`).\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.", "default": null, "items": {"type": "string"}}, "rust-analyzer.lens.references.trait.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` lens for Trait.\nOnly applies when `#rust-analyzer.lens.enable#` is set.", "default": false}, "rust-analyzer.cachePriming.enable": {"type": "boolean", "markdownDescription": "Warm up caches on project load.", "default": true}, "rust-analyzer.lens.debug.enable": {"type": "boolean", "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": true}, "rust-analyzer.completion.postfix.enable": {"type": "boolean", "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.", "default": true}, "rust-analyzer.typing.autoClosingAngleBrackets.enable": {"type": "boolean", "markdownDescription": "Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.", "default": false}, "rust-analyzer.procMacro.server": {"type": ["null", "string"], "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).", "default": null}, "rust-analyzer.typing.continueCommentsOnNewline": {"type": "boolean", "markdownDescription": "Whether to prefix newlines after comments with the corresponding comment prefix.", "default": true}, "rust-analyzer.inlayHints.parameterHints.enable": {"type": "boolean", "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.", "default": true}, "rust-analyzer.lens.references.adt.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` lens for Struct, Enum, and Union.\nOnly applies when `#rust-analyzer.lens.enable#` is set.", "default": false}, "rust-analyzer.lens.references.enumVariant.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` lens for Enum Variants.\nOnly applies when `#rust-analyzer.lens.enable#` is set.", "default": false}, "rust-analyzer.inlayHints.bindingModeHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay type hints for binding modes.", "default": false}, "rust-analyzer.imports.granularity.enforce": {"type": "boolean", "markdownDescription": "Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file.", "default": false}, "rust-analyzer.lens.run.enable": {"type": "boolean", "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": true}, "rust-analyzer.checkOnSave.features": {"anyOf": [{"enum": ["all"], "type": "string", "enumDescriptions": ["Pass `--all-features` to cargo"]}, {"type": "array", "items": {"type": "string"}}, {"type": "null"}], "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.\n\nSet to `\"all\"` to pass `--all-features` to Cargo.", "default": null}, "rust-analyzer.rustfmt.overrideCommand": {"type": ["null", "array"], "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.", "default": null, "items": {"type": "string"}}, "rust-analyzer.cargo.noSysroot": {"type": "boolean", "markdownDescription": "Internal config for debugging, disables loading of sysroot crates.", "default": false}, "rust-analyzer.cargo.features": {"anyOf": [{"enum": ["all"], "type": "string", "enumDescriptions": ["Pass `--all-features` to cargo"]}, {"type": "array", "items": {"type": "string"}}], "markdownDescription": "List of features to activate.\n\nSet this to `\"all\"` to pass `--all-features` to cargo.", "default": []}, "rust-analyzer.highlightRelated.references.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of related references while the cursor is on any identifier.", "default": true}, "rust-analyzer.workspace.symbol.search.kind": {"enum": ["only_types", "all_symbols"], "type": "string", "markdownDescription": "Workspace symbol search kind.", "enumDescriptions": ["Search for types only.", "Search for all symbols kinds."], "default": "only_types"}, "rust-analyzer.checkOnSave.noDefaultFeatures": {"type": ["null", "boolean"], "markdownDescription": "Whether to pass `--no-default-features` to Cargo. Defaults to\n`#rust-analyzer.cargo.noDefaultFeatures#`.", "default": null}, "rust-analyzer.imports.group.enable": {"type": "boolean", "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.", "default": true}, "rust-analyzer.highlightRelated.exitPoints.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of all exit points while the cursor is on any `return`, `?`, `fn`, or return type arrow (`->`).", "default": true}, "rust-analyzer.lens.forceCustomCommands": {"type": "boolean", "markdownDescription": "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.", "default": true}, "rust-analyzer.highlightRelated.breakPoints.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.", "default": true}, "rust-analyzer.diagnostics.warningsAsInfo": {"type": "array", "markdownDescription": "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.cargo.buildScripts.enable": {"type": "boolean", "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.", "default": true}, "rust-analyzer.checkOnSave.command": {"type": "string", "markdownDescription": "Cargo command to use for `cargo check`.", "default": "check"}, "rust-analyzer.imports.granularity.group": {"enum": ["preserve", "crate", "module", "item"], "type": "string", "markdownDescription": "How imports should be grouped into use statements.", "enumDescriptions": ["Do not change the granularity of any imports and preserve the original structure written by the developer.", "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.", "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.", "Flatten imports so that each has its own use statement."], "default": "crate"}, "rust-analyzer.inlayHints.closureReturnTypeHints.enable": {"enum": ["always", "never", "with_block"], "type": "string", "markdownDescription": "Whether to show inlay type hints for return types of closures.", "enumDescriptions": ["Always show type hints for return types of closures.", "Never show type hints for return types of closures.", "Only show type hints for return types of closures with blocks."], "default": "never"}, "rust-analyzer.imports.prefix": {"enum": ["plain", "self", "crate"], "type": "string", "markdownDescription": "The path structure for newly inserted paths to use.", "enumDescriptions": ["Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item. Prefixes `self` in front of the path if it starts with a module.", "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."], "default": "plain"}, "rust-analyzer.checkOnSave.extraArgs": {"type": "array", "markdownDescription": "Extra arguments for `cargo check`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.lens.references.method.enable": {"type": "boolean", "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": false}, "rust-analyzer.semanticHighlighting.doc.comment.inject.enable": {"type": "boolean", "markdownDescription": "Inject additional highlighting into doc comments.\n\nWhen enabled, rust-analyzer will highlight rust source in doc comments as well as intra\ndoc links.", "default": true}, "rust-analyzer.highlightRelated.yieldPoints.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of all break points for a loop or block context while the cursor is on any `async` or `await` keywords.", "default": true}, "rust-analyzer.hover.actions.debug.enable": {"type": "boolean", "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.semanticHighlighting.operator.specialization.enable": {"type": "boolean", "markdownDescription": "Use specialized semantic tokens for operators.\n\nWhen enabled, rust-analyzer will emit special token types for operator tokens instead\nof the generic `operator` token type.", "default": false}, "rust-analyzer.runnableEnv": {"anyOf": [{"type": "null"}, {"type": "array", "items": {"properties": {"env": {"description": "Variables in form of { \"key\": \"value\"}", "type": "object"}, "mask": {"description": "Runnable name mask", "type": "string"}}, "type": "object"}}, {"description": "Variables in form of { \"key\": \"value\"}", "type": "object"}], "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command.", "default": null}, "rust-analyzer.completion.privateEditable.enable": {"type": "boolean", "markdownDescription": "Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position.", "default": false}, "rust-analyzer.debug.engineSettings": {"type": "object", "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`", "default": {}}, "rust-analyzer.checkOnSave.allTargets": {"type": "boolean", "markdownDescription": "Check all targets and tests (`--all-targets`).", "default": true}, "rust-analyzer.rustc.source": {"type": ["null", "string"], "markdownDescription": "Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private\nprojects, or \"discover\" to try to automatically find it if the `rustc-dev` component\nis installed.\n\nAny project which uses rust-analyzer with the rustcPrivate\ncrates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.\n\nThis option does not take effect until rust-analyzer is restarted.", "default": null}, "rust-analyzer.assist.expressionFillDefault": {"enum": ["todo", "default"], "type": "string", "markdownDescription": "Placeholder expression to use for missing expressions in assists.", "enumDescriptions": ["Fill missing expressions with the `todo` macro", "Fill missing expressions with reasonable defaults, `new` or `default` constructors."], "default": "todo"}, "rust-analyzer.debug.sourceFileMap": {"description": "Optional source file mappings passed to the debug engine.", "const": "auto", "type": ["object", "string"], "default": {"/rustc/": "${env:USERPROFILE}/.rustup/toolchains//lib/rustlib/src/rust"}}, "rust-analyzer.joinLines.removeTrailingComma": {"type": "boolean", "markdownDescription": "Join lines removes trailing commas.", "default": true}, "rust-analyzer.semanticHighlighting.strings.enable": {"type": "boolean", "markdownDescription": "Use semantic tokens for strings.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for strings, other grammars can be used to highlight\ntheir contents.", "default": true}, "rust-analyzer.inlayHints.closingBraceHints.minLines": {"minimum": 0, "type": "integer", "markdownDescription": "Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1\nto always show them).", "default": 25}, "rust-analyzer.semanticHighlighting.punctuation.separate.macro.bang": {"type": "boolean", "markdownDescription": "When enabled, rust-analyzer will emit a punctuation semantic token for the `!` of macro\ncalls.", "default": false}, "rust-analyzer.runnables.extraArgs": {"type": "array", "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.inlayHints.renderColons": {"type": "boolean", "markdownDescription": "Whether to render leading colons for type hints, and trailing colons for parameter hints.", "default": true}, "rust-analyzer.rustfmt.extraArgs": {"type": "array", "markdownDescription": "Additional arguments to `rustfmt`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.hover.links.enable": {"type": "boolean", "markdownDescription": "Use markdown syntax for links in hover.", "default": true}, "rust-analyzer.diagnostics.enable": {"type": "boolean", "markdownDescription": "Whether to show native rust-analyzer diagnostics.", "default": true}, "rust-analyzer.procMacro.attributes.enable": {"type": "boolean", "markdownDescription": "Expand attribute macros. Requires `#rust-analyzer.procMacro.enable#` to be set.", "default": true}, "rust-analyzer.linkedProjects": {"type": "array", "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set\nof projects.\n\nElements must be paths pointing to `Cargo.toml`,\n`rust-project.json`, or JSON objects in `rust-project.json` format.", "default": [], "items": {"type": ["string", "object"]}}, "$generated-start": {}, "rust-analyzer.rustfmt.rangeFormatting.enable": {"type": "boolean", "markdownDescription": "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.", "default": false}, "rust-analyzer.semanticHighlighting.operator.enable": {"type": "boolean", "markdownDescription": "Use semantic tokens for operators.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for operator tokens when\nthey are tagged with modifiers.", "default": true}, "rust-analyzer.signatureInfo.detail": {"enum": ["full", "parameters"], "type": "string", "markdownDescription": "Show full signature of the callable. Only shows parameters if disabled.", "enumDescriptions": ["Show the entire signature.", "Show only the parameters."], "default": "full"}, "rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames": {"type": "boolean", "markdownDescription": "Whether to prefer using parameter names as the name for elided lifetime hints if possible.", "default": false}, "rust-analyzer.lru.capacity": {"minimum": 0, "type": ["null", "integer"], "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.", "default": null}, "rust-analyzer.workspace.symbol.search.limit": {"minimum": 0, "type": "integer", "markdownDescription": "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.", "default": 128}, "rust-analyzer.inlayHints.typeHints.hideNamedConstructor": {"type": "boolean", "markdownDescription": "Whether to hide inlay type hints for constructors.", "default": false}, "rust-analyzer.diagnostics.warningsAsHint": {"type": "array", "markdownDescription": "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.server.path": {"scope": "machine-overridable", "type": ["null", "string"], "markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default).", "default": null}, "rust-analyzer.lens.enable": {"type": "boolean", "markdownDescription": "Whether to show CodeLens in Rust files.", "default": true}, "rust-analyzer.procMacro.enable": {"type": "boolean", "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.buildScripts.enable#`.", "default": true}, "rust-analyzer.notifications.cargoTomlNotFound": {"type": "boolean", "markdownDescription": "Whether to show `can't find Cargo.toml` error message.", "default": true}, "rust-analyzer.cargo.autoreload": {"type": "boolean", "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` or `.cargo/config.toml` changes.", "default": true}, "rust-analyzer.hover.actions.references.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": false}, "rust-analyzer.cargo.unsetTest": {"type": "array", "markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.", "default": ["core"], "items": {"type": "string"}}, "rust-analyzer.debug.openDebugPane": {"type": "boolean", "markdownDescription": "Whether to open up the `Debug Panel` on debugging start.", "default": false}, "rust-analyzer.checkOnSave.target": {"type": ["null", "string"], "markdownDescription": "Check for a specific target. Defaults to\n`#rust-analyzer.cargo.target#`.", "default": null}, "rust-analyzer.inlayHints.typeHints.hideClosureInitialization": {"type": "boolean", "markdownDescription": "Whether to hide inlay type hints for `let` statements that initialize to a closure.\nOnly applies to closures with blocks, same as `#rust-analyzer.inlayHints.closureReturnTypeHints.enable#`.", "default": false}, "rust-analyzer.joinLines.unwrapTrivialBlock": {"type": "boolean", "markdownDescription": "Join lines unwraps trivial blocks.", "default": true}, "rust-analyzer.semanticHighlighting.punctuation.enable": {"type": "boolean", "markdownDescription": "Use semantic tokens for punctuations.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for punctuation tokens when\nthey are tagged with modifiers or have a special role.", "default": false}, "rust-analyzer.joinLines.joinElseIf": {"type": "boolean", "markdownDescription": "Join lines inserts else between consecutive ifs.", "default": true}, "rust-analyzer.checkOnSave.enable": {"type": "boolean", "markdownDescription": "Run specified `cargo check` command for diagnostics on save.", "default": true}, "rust-analyzer.signatureInfo.documentation.enable": {"type": "boolean", "markdownDescription": "Show documentation.", "default": true}, "rust-analyzer.completion.autoimport.enable": {"type": "boolean", "markdownDescription": "Toggles the additional completions that automatically add imports when completed.\nNote that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.", "default": true}, "rust-analyzer.diagnostics.disabled": {"type": "array", "markdownDescription": "List of rust-analyzer diagnostics to disable.", "uniqueItems": true, "items": {"type": "string"}, "default": []}, "rust-analyzer.semanticHighlighting.punctuation.specialization.enable": {"type": "boolean", "markdownDescription": "Use specialized semantic tokens for punctuations.\n\nWhen enabled, rust-analyzer will emit special token types for punctuation tokens instead\nof the generic `punctuation` token type.", "default": false}, "$generated-end": {}, "rust-analyzer.joinLines.joinAssignments": {"type": "boolean", "markdownDescription": "Join lines merges consecutive declaration and initialization of an assignment.", "default": true}, "rust-analyzer.files.watcher": {"enum": ["client", "server"], "type": "string", "markdownDescription": "Controls file watching implementation.", "enumDescriptions": ["Use the client (editor) to watch files for changes", "Use server-side file watching"], "default": "client"}, "rust-analyzer.cargo.target": {"type": ["null", "string"], "markdownDescription": "Compilation target override (target triple).", "default": null}, "rust-analyzer.cargo.buildScripts.overrideCommand": {"type": ["null", "array"], "markdownDescription": "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.", "default": null, "items": {"type": "string"}}, "rust-analyzer.completion.snippets.custom": {"type": "object", "markdownDescription": "Custom completion snippets.", "default": {"Box::pin": {"requires": "std::boxed::Box", "scope": "expr", "description": "Put the expression into a pinned `Box`", "postfix": "pinbox", "body": "Box::pin(${receiver})"}, "Some": {"description": "Wrap the expression in an `Option::Some`", "scope": "expr", "postfix": "some", "body": "Some(${receiver})"}, "Ok": {"description": "Wrap the expression in a `Result::Ok`", "scope": "expr", "postfix": "ok", "body": "Ok(${receiver})"}, "Arc::new": {"requires": "std::sync::Arc", "scope": "expr", "description": "Put the expression into an `Arc`", "postfix": "arc", "body": "Arc::new(${receiver})"}, "Err": {"description": "Wrap the expression in a `Result::Err`", "scope": "expr", "postfix": "err", "body": "Err(${receiver})"}, "Rc::new": {"requires": "std::rc::Rc", "scope": "expr", "description": "Put the expression into an `Rc`", "postfix": "rc", "body": "Rc::new(${receiver})"}}}, "rust-analyzer.inlayHints.lifetimeElisionHints.enable": {"enum": ["always", "never", "skip_trivial"], "type": "string", "markdownDescription": "Whether to show inlay type hints for elided lifetimes in function signatures.", "enumDescriptions": ["Always show lifetime elision hints.", "Never show lifetime elision hints.", "Only show lifetime elision hints if a return type is involved."], "default": "never"}}, "description": "Rust language support for Visual Studio Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"rust-analyzer.hover.actions.enable": {"type": "boolean", "markdownDescription": "Whether to show HoverActions in Rust files.", "default": true}, "rust-analyzer.diagnostics.remapPrefix": {"type": "object", "markdownDescription": "Map of prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.", "default": {}}, "rust-analyzer.lens.references.enumVariant.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` lens for Enum Variants.\nOnly applies when `#rust-analyzer.lens.enable#` is set.", "default": false}, "rust-analyzer.hover.actions.run.enable": {"type": "boolean", "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.inlayHints.closingBraceHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay hints after a closing `}` to indicate what item it belongs to.", "default": true}, "rust-analyzer.imports.merge.glob": {"type": "boolean", "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.", "default": true}, "rust-analyzer.hover.documentation.enable": {"type": "boolean", "markdownDescription": "Whether to show documentation on hover.", "default": true}, "rust-analyzer.workspace.symbol.search.scope": {"enum": ["workspace", "workspace_and_dependencies"], "type": "string", "markdownDescription": "Workspace symbol search scope.", "enumDescriptions": ["Search in current workspace only.", "Search in current workspace and dependencies."], "default": "workspace"}, "rust-analyzer.cargo.buildScripts.useRustcWrapper": {"type": "boolean", "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid checking unnecessary things.", "default": true}, "rust-analyzer.inlayHints.typeHints.hideNamedConstructor": {"type": "boolean", "markdownDescription": "Whether to hide inlay type hints for constructors.", "default": false}, "rust-analyzer.files.excludeDirs": {"type": "array", "markdownDescription": "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's `files.watcherExclude`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.inlayHints.bindingModeHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay type hints for binding modes.", "default": false}, "rust-analyzer.cargoRunner": {"description": "Custom cargo runner extension ID.", "type": ["null", "string"], "default": null}, "rust-analyzer.completion.callable.snippets": {"enum": ["fill_arguments", "add_parentheses", "none"], "type": "string", "markdownDescription": "Whether to add parenthesis and argument snippets when completing function.", "enumDescriptions": ["Add call parentheses and pre-fill arguments.", "Add call parentheses.", "Do no snippet completions for callables."], "default": "fill_arguments"}, "rust-analyzer.cargo.noDefaultFeatures": {"type": "boolean", "markdownDescription": "Whether to pass `--no-default-features` to cargo.", "default": false}, "rust-analyzer.hover.actions.implementations.enable": {"type": "boolean", "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.diagnostics.experimental.enable": {"type": "boolean", "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.", "default": false}, "rust-analyzer.procMacro.server": {"type": ["null", "string"], "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).", "default": null}, "rust-analyzer.lens.implementations.enable": {"type": "boolean", "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": true}, "rust-analyzer.hover.documentation.keywords.enable": {"type": "boolean", "markdownDescription": "Whether to show keyword hover popups. Only applies when\n`#rust-analyzer.hover.documentation.enable#` is set.", "default": true}, "rust-analyzer.debug.engineSettings": {"type": "object", "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`", "default": {}}, "rust-analyzer.inlayHints.maxLength": {"minimum": 0, "type": ["null", "integer"], "markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.", "default": 25}, "rust-analyzer.server.extraEnv": {"additionalProperties": {"type": ["string", "number"]}, "type": ["null", "object"], "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging.", "default": null}, "rust-analyzer.restartServerOnConfigChange": {"type": "boolean", "markdownDescription": "Whether to restart the server automatically when certain settings that require a restart are changed.", "default": false}, "rust-analyzer.files.watcher": {"enum": ["client", "server"], "type": "string", "markdownDescription": "Controls file watching implementation.", "enumDescriptions": ["Use the client (editor) to watch files for changes", "Use server-side file watching"], "default": "client"}, "rust-analyzer.debug.engine": {"description": "Preferred debug engine.", "enum": ["auto", "vadimcn.vscode-lldb", "ms-vscode.cpptools"], "type": "string", "default": "auto", "markdownEnumDescriptions": ["First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).", "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)", "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"]}, "rust-analyzer.hover.actions.gotoTypeDef.enable": {"type": "boolean", "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.imports.granularity.group": {"enum": ["preserve", "crate", "module", "item"], "type": "string", "markdownDescription": "How imports should be grouped into use statements.", "enumDescriptions": ["Do not change the granularity of any imports and preserve the original structure written by the developer.", "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.", "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.", "Flatten imports so that each has its own use statement."], "default": "crate"}, "rust-analyzer.imports.prefix": {"enum": ["plain", "self", "crate"], "type": "string", "markdownDescription": "The path structure for newly inserted paths to use.", "enumDescriptions": ["Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item. Prefixes `self` in front of the path if it starts with a module.", "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."], "default": "plain"}, "rust-analyzer.runnables.command": {"type": ["null", "string"], "markdownDescription": "Command to be executed instead of 'cargo' for runnables.", "default": null}, "rust-analyzer.highlightRelated.yieldPoints.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of all break points for a loop or block context while the cursor is on any `async` or `await` keywords.", "default": true}, "rust-analyzer.inlayHints.chainingHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay type hints for method chains.", "default": true}, "rust-analyzer.checkOnSave.overrideCommand": {"type": ["null", "array"], "markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefor include `--message-format=json` or a similar option.\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects, this command is invoked for\neach of them, with the working directory being the project root\n(i.e., the folder containing the `Cargo.toml`).\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.", "default": null, "items": {"type": "string"}}, "rust-analyzer.lens.references.trait.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` lens for Trait.\nOnly applies when `#rust-analyzer.lens.enable#` is set.", "default": false}, "rust-analyzer.cachePriming.enable": {"type": "boolean", "markdownDescription": "Warm up caches on project load.", "default": true}, "rust-analyzer.lens.debug.enable": {"type": "boolean", "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": true}, "rust-analyzer.completion.postfix.enable": {"type": "boolean", "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.", "default": true}, "rust-analyzer.hover.actions.references.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": false}, "rust-analyzer.typing.continueCommentsOnNewline": {"type": "boolean", "markdownDescription": "Whether to prefix newlines after comments with the corresponding comment prefix.", "default": true}, "rust-analyzer.cargo.target": {"type": ["null", "string"], "markdownDescription": "Compilation target override (target triple).", "default": null}, "rust-analyzer.inlayHints.lifetimeElisionHints.enable": {"enum": ["always", "never", "skip_trivial"], "type": "string", "markdownDescription": "Whether to show inlay type hints for elided lifetimes in function signatures.", "enumDescriptions": ["Always show lifetime elision hints.", "Never show lifetime elision hints.", "Only show lifetime elision hints if a return type is involved."], "default": "never"}, "rust-analyzer.cachePriming.numThreads": {"minimum": 0, "maximum": 255, "type": "number", "markdownDescription": "How many worker threads to handle priming caches. The default `0` means to pick automatically.", "default": 0}, "rust-analyzer.imports.granularity.enforce": {"type": "boolean", "markdownDescription": "Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file.", "default": false}, "rust-analyzer.lens.run.enable": {"type": "boolean", "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": true}, "rust-analyzer.checkOnSave.features": {"anyOf": [{"enum": ["all"], "type": "string", "enumDescriptions": ["Pass `--all-features` to cargo"]}, {"type": "array", "items": {"type": "string"}}, {"type": "null"}], "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.\n\nSet to `\"all\"` to pass `--all-features` to Cargo.", "default": null}, "rust-analyzer.rustfmt.overrideCommand": {"type": ["null", "array"], "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.", "default": null, "items": {"type": "string"}}, "rust-analyzer.cargo.noSysroot": {"type": "boolean", "markdownDescription": "Internal config for debugging, disables loading of sysroot crates.", "default": false}, "rust-analyzer.cargo.features": {"anyOf": [{"enum": ["all"], "type": "string", "enumDescriptions": ["Pass `--all-features` to cargo"]}, {"type": "array", "items": {"type": "string"}}], "markdownDescription": "List of features to activate.\n\nSet this to `\"all\"` to pass `--all-features` to cargo.", "default": []}, "rust-analyzer.highlightRelated.references.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of related references while the cursor is on any identifier.", "default": true}, "rust-analyzer.workspace.symbol.search.kind": {"enum": ["only_types", "all_symbols"], "type": "string", "markdownDescription": "Workspace symbol search kind.", "enumDescriptions": ["Search for types only.", "Search for all symbols kinds."], "default": "only_types"}, "rust-analyzer.checkOnSave.noDefaultFeatures": {"type": ["null", "boolean"], "markdownDescription": "Whether to pass `--no-default-features` to Cargo. Defaults to\n`#rust-analyzer.cargo.noDefaultFeatures#`.", "default": null}, "rust-analyzer.imports.group.enable": {"type": "boolean", "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.", "default": true}, "rust-analyzer.highlightRelated.exitPoints.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of all exit points while the cursor is on any `return`, `?`, `fn`, or return type arrow (`->`).", "default": true}, "rust-analyzer.highlightRelated.breakPoints.enable": {"type": "boolean", "markdownDescription": "Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.", "default": true}, "rust-analyzer.diagnostics.warningsAsInfo": {"type": "array", "markdownDescription": "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.inlayHints.renderColons": {"type": "boolean", "markdownDescription": "Whether to render leading colons for type hints, and trailing colons for parameter hints.", "default": true}, "rust-analyzer.cargo.buildScripts.enable": {"type": "boolean", "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.", "default": true}, "rust-analyzer.inlayHints.closureReturnTypeHints.enable": {"enum": ["always", "never", "with_block"], "type": "string", "markdownDescription": "Whether to show inlay type hints for return types of closures.", "enumDescriptions": ["Always show type hints for return types of closures.", "Never show type hints for return types of closures.", "Only show type hints for return types of closures with blocks."], "default": "never"}, "rust-analyzer.inlayHints.reborrowHints.enable": {"enum": ["always", "never", "mutable"], "type": "string", "markdownDescription": "Whether to show inlay type hints for compiler inserted reborrows.", "enumDescriptions": ["Always show reborrow hints.", "Never show reborrow hints.", "Only show mutable reborrow hints."], "default": "never"}, "rust-analyzer.checkOnSave.extraArgs": {"type": "array", "markdownDescription": "Extra arguments for `cargo check`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.lens.references.method.enable": {"type": "boolean", "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", "default": false}, "rust-analyzer.semanticHighlighting.doc.comment.inject.enable": {"type": "boolean", "markdownDescription": "Inject additional highlighting into doc comments.\n\nWhen enabled, rust-analyzer will highlight rust source in doc comments as well as intra\ndoc links.", "default": true}, "rust-analyzer.completion.autoself.enable": {"type": "boolean", "markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.", "default": true}, "rust-analyzer.hover.actions.debug.enable": {"type": "boolean", "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.", "default": true}, "rust-analyzer.diagnostics.disabled": {"type": "array", "markdownDescription": "List of rust-analyzer diagnostics to disable.", "default": [], "items": {"type": "string"}, "uniqueItems": true}, "rust-analyzer.procMacro.ignored": {"type": "object", "markdownDescription": "These proc-macros will be ignored when trying to expand them.\n\nThis config takes a map of crate names with the exported proc-macro names to ignore as values.", "default": {}}, "rust-analyzer.semanticHighlighting.operator.specialization.enable": {"type": "boolean", "markdownDescription": "Use specialized semantic tokens for operators.\n\nWhen enabled, rust-analyzer will emit special token types for operator tokens instead\nof the generic `operator` token type.", "default": false}, "rust-analyzer.runnableEnv": {"anyOf": [{"type": "null"}, {"type": "array", "items": {"properties": {"env": {"description": "Variables in form of { \"key\": \"value\"}", "type": "object"}, "mask": {"description": "Runnable name mask", "type": "string"}}, "type": "object"}}, {"description": "Variables in form of { \"key\": \"value\"}", "type": "object"}], "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command.", "default": null}, "rust-analyzer.completion.privateEditable.enable": {"type": "boolean", "markdownDescription": "Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position.", "default": false}, "rust-analyzer.trace.server": {"description": "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users).", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "enumDescriptions": ["No traces", "Error only", "Full log"], "default": "off"}, "rust-analyzer.checkOnSave.allTargets": {"type": "boolean", "markdownDescription": "Check all targets and tests (`--all-targets`).", "default": true}, "rust-analyzer.rustc.source": {"type": ["null", "string"], "markdownDescription": "Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private\nprojects, or \"discover\" to try to automatically find it if the `rustc-dev` component\nis installed.\n\nAny project which uses rust-analyzer with the rustcPrivate\ncrates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.\n\nThis option does not take effect until rust-analyzer is restarted.", "default": null}, "rust-analyzer.debug.sourceFileMap": {"description": "Optional source file mappings passed to the debug engine.", "const": "auto", "type": ["object", "string"], "default": {"/rustc/": "${env:USERPROFILE}/.rustup/toolchains//lib/rustlib/src/rust"}}, "rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames": {"type": "boolean", "markdownDescription": "Whether to prefer using parameter names as the name for elided lifetime hints if possible.", "default": false}, "rust-analyzer.lens.forceCustomCommands": {"type": "boolean", "markdownDescription": "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.", "default": true}, "rust-analyzer.joinLines.removeTrailingComma": {"type": "boolean", "markdownDescription": "Join lines removes trailing commas.", "default": true}, "rust-analyzer.semanticHighlighting.strings.enable": {"type": "boolean", "markdownDescription": "Use semantic tokens for strings.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for strings, other grammars can be used to highlight\ntheir contents.", "default": true}, "rust-analyzer.inlayHints.closingBraceHints.minLines": {"minimum": 0, "type": "integer", "markdownDescription": "Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1\nto always show them).", "default": 25}, "rust-analyzer.semanticHighlighting.punctuation.separate.macro.bang": {"type": "boolean", "markdownDescription": "When enabled, rust-analyzer will emit a punctuation semantic token for the `!` of macro\ncalls.", "default": false}, "rust-analyzer.runnables.extraArgs": {"type": "array", "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.trace.extension": {"description": "Enable logging of VS Code extensions itself.", "type": "boolean", "default": false}, "rust-analyzer.inlayHints.typeHints.enable": {"type": "boolean", "markdownDescription": "Whether to show inlay type hints for variables.", "default": true}, "$generated-end": {}, "rust-analyzer.diagnostics.enable": {"type": "boolean", "markdownDescription": "Whether to show native rust-analyzer diagnostics.", "default": true}, "rust-analyzer.procMacro.attributes.enable": {"type": "boolean", "markdownDescription": "Expand attribute macros. Requires `#rust-analyzer.procMacro.enable#` to be set.", "default": true}, "rust-analyzer.linkedProjects": {"type": "array", "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set\nof projects.\n\nElements must be paths pointing to `Cargo.toml`,\n`rust-project.json`, or JSON objects in `rust-project.json` format.", "default": [], "items": {"type": ["string", "object"]}}, "$generated-start": {}, "rust-analyzer.rustfmt.rangeFormatting.enable": {"type": "boolean", "markdownDescription": "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.", "default": false}, "rust-analyzer.semanticHighlighting.operator.enable": {"type": "boolean", "markdownDescription": "Use semantic tokens for operators.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for operator tokens when\nthey are tagged with modifiers.", "default": true}, "rust-analyzer.signatureInfo.detail": {"enum": ["full", "parameters"], "type": "string", "markdownDescription": "Show full signature of the callable. Only shows parameters if disabled.", "enumDescriptions": ["Show the entire signature.", "Show only the parameters."], "default": "full"}, "rust-analyzer.assist.expressionFillDefault": {"enum": ["todo", "default"], "type": "string", "markdownDescription": "Placeholder expression to use for missing expressions in assists.", "enumDescriptions": ["Fill missing expressions with the `todo` macro", "Fill missing expressions with reasonable defaults, `new` or `default` constructors."], "default": "todo"}, "rust-analyzer.lru.capacity": {"minimum": 0, "type": ["null", "integer"], "markdownDescription": "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.", "default": null}, "rust-analyzer.workspace.symbol.search.limit": {"minimum": 0, "type": "integer", "markdownDescription": "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.", "default": 128}, "rust-analyzer.diagnostics.warningsAsHint": {"type": "array", "markdownDescription": "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.server.path": {"scope": "machine-overridable", "type": ["null", "string"], "markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default).", "default": null}, "rust-analyzer.lens.enable": {"type": "boolean", "markdownDescription": "Whether to show CodeLens in Rust files.", "default": true}, "rust-analyzer.hover.links.enable": {"type": "boolean", "markdownDescription": "Use markdown syntax for links in hover.", "default": true}, "rust-analyzer.procMacro.enable": {"type": "boolean", "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.buildScripts.enable#`.", "default": true}, "rust-analyzer.notifications.cargoTomlNotFound": {"type": "boolean", "markdownDescription": "Whether to show `can't find Cargo.toml` error message.", "default": true}, "rust-analyzer.cargo.autoreload": {"type": "boolean", "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` or `.cargo/config.toml` changes.", "default": true}, "rust-analyzer.typing.autoClosingAngleBrackets.enable": {"type": "boolean", "markdownDescription": "Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.", "default": false}, "rust-analyzer.cargo.unsetTest": {"type": "array", "markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.", "default": ["core"], "items": {"type": "string"}}, "rust-analyzer.debug.openDebugPane": {"type": "boolean", "markdownDescription": "Whether to open up the `Debug Panel` on debugging start.", "default": false}, "rust-analyzer.checkOnSave.target": {"type": ["null", "string"], "markdownDescription": "Check for a specific target. Defaults to\n`#rust-analyzer.cargo.target#`.", "default": null}, "rust-analyzer.inlayHints.typeHints.hideClosureInitialization": {"type": "boolean", "markdownDescription": "Whether to hide inlay type hints for `let` statements that initialize to a closure.\nOnly applies to closures with blocks, same as `#rust-analyzer.inlayHints.closureReturnTypeHints.enable#`.", "default": false}, "rust-analyzer.joinLines.unwrapTrivialBlock": {"type": "boolean", "markdownDescription": "Join lines unwraps trivial blocks.", "default": true}, "rust-analyzer.semanticHighlighting.punctuation.enable": {"type": "boolean", "markdownDescription": "Use semantic tokens for punctuations.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for punctuation tokens when\nthey are tagged with modifiers or have a special role.", "default": false}, "rust-analyzer.joinLines.joinElseIf": {"type": "boolean", "markdownDescription": "Join lines inserts else between consecutive ifs.", "default": true}, "rust-analyzer.checkOnSave.enable": {"type": "boolean", "markdownDescription": "Run specified `cargo check` command for diagnostics on save.", "default": true}, "rust-analyzer.signatureInfo.documentation.enable": {"type": "boolean", "markdownDescription": "Show documentation.", "default": true}, "rust-analyzer.completion.autoimport.enable": {"type": "boolean", "markdownDescription": "Toggles the additional completions that automatically add imports when completed.\nNote that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.", "default": true}, "rust-analyzer.rustfmt.extraArgs": {"type": "array", "markdownDescription": "Additional arguments to `rustfmt`.", "default": [], "items": {"type": "string"}}, "rust-analyzer.semanticHighlighting.punctuation.specialization.enable": {"type": "boolean", "markdownDescription": "Use specialized semantic tokens for punctuations.\n\nWhen enabled, rust-analyzer will emit special token types for punctuation tokens instead\nof the generic `punctuation` token type.", "default": false}, "rust-analyzer.joinLines.joinAssignments": {"type": "boolean", "markdownDescription": "Join lines merges consecutive declaration and initialization of an assignment.", "default": true}, "rust-analyzer.checkOnSave.command": {"type": "string", "markdownDescription": "Cargo command to use for `cargo check`.", "default": "check"}, "rust-analyzer.inlayHints.parameterHints.enable": {"type": "boolean", "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.", "default": true}, "rust-analyzer.cargo.buildScripts.overrideCommand": {"type": ["null", "array"], "markdownDescription": "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.", "default": null, "items": {"type": "string"}}, "rust-analyzer.completion.snippets.custom": {"type": "object", "markdownDescription": "Custom completion snippets.", "default": {"Box::pin": {"requires": "std::boxed::Box", "scope": "expr", "description": "Put the expression into a pinned `Box`", "postfix": "pinbox", "body": "Box::pin(${receiver})"}, "Some": {"description": "Wrap the expression in an `Option::Some`", "scope": "expr", "postfix": "some", "body": "Some(${receiver})"}, "Ok": {"description": "Wrap the expression in a `Result::Ok`", "scope": "expr", "postfix": "ok", "body": "Ok(${receiver})"}, "Arc::new": {"requires": "std::sync::Arc", "scope": "expr", "description": "Put the expression into an `Arc`", "postfix": "arc", "body": "Arc::new(${receiver})"}, "Err": {"description": "Wrap the expression in a `Result::Err`", "scope": "expr", "postfix": "err", "body": "Err(${receiver})"}, "Rc::new": {"requires": "std::rc::Rc", "scope": "expr", "description": "Put the expression into an `Rc`", "postfix": "rc", "body": "Rc::new(${receiver})"}}}, "rust-analyzer.lens.references.adt.enable": {"type": "boolean", "markdownDescription": "Whether to show `References` lens for Struct, Enum, and Union.\nOnly applies when `#rust-analyzer.lens.enable#` is set.", "default": false}}, "description": "Rust language support for Visual Studio Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/solargraph.json b/schemas/solargraph.json index 8ce2c43..a704fc3 100644 --- a/schemas/solargraph.json +++ b/schemas/solargraph.json @@ -1 +1 @@ -{"properties": {"solargraph.autoformat": {"description": "Enable automatic formatting while typing (WARNING: experimental)", "enum": [true, false], "type": ["boolean"], "default": false}, "solargraph.logLevel": {"description": "Level of debug info to log. `warn` is least and `debug` is most.", "enum": ["warn", "info", "debug"], "type": "string", "default": "warn"}, "solargraph.formatting": {"description": "Enable document formatting", "enum": [true, false], "type": ["boolean"], "default": false}, "solargraph.hover": {"description": "Enable hover", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.symbols": {"description": "Enable symbols", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.transport": {"description": "The type of transport to use.", "enum": ["socket", "stdio", "external"], "type": "string", "default": "socket"}, "solargraph.diagnostics": {"description": "Enable diagnostics", "enum": [true, false], "type": ["boolean"], "default": false}, "solargraph.references": {"description": "Enable finding references", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.bundlerPath": {"description": "Path to the bundle executable, defaults to 'bundle'. Needs to be an absolute path for the 'bundle' exec/shim", "scope": "resource", "type": "string", "default": "bundle"}, "solargraph.definitions": {"description": "Enable definitions (go to, etc.)", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.useBundler": {"description": "Use `bundle exec` to run solargraph. (If this is true, the solargraph.commandPath setting is ignored.)", "type": "boolean", "default": false}, "solargraph.checkGemVersion": {"description": "Automatically check if a new version of the Solargraph gem is available.", "enum": [true, false], "type": "boolean", "default": true}, "solargraph.completion": {"description": "Enable completion", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.externalServer": {"properties": {"host": {"type": "string", "default": "localhost"}, "port": {"type": "integer", "default": 7658}}, "description": "The host and port to use for external transports. (Ignored for stdio and socket transports.)", "type": "object", "default": {"host": "localhost", "port": 7658}}, "solargraph.folding": {"description": "Enable folding ranges", "type": "boolean", "default": true}, "solargraph.commandPath": {"description": "Path to the solargraph command. Set this to an absolute path to select from multiple installed Ruby versions.", "scope": "resource", "type": "string", "default": "solargraph"}, "solargraph.rename": {"description": "Enable symbol renaming", "enum": [true, false], "type": ["boolean"], "default": true}}, "description": "A Ruby language server featuring code completion, intellisense, and inline documentation", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"solargraph.completion": {"description": "Enable completion", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.formatting": {"description": "Enable document formatting", "enum": [true, false], "type": ["boolean"], "default": false}, "solargraph.hover": {"description": "Enable hover", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.symbols": {"description": "Enable symbols", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.transport": {"description": "The type of transport to use.", "enum": ["socket", "stdio", "external"], "type": "string", "default": "socket"}, "solargraph.diagnostics": {"description": "Enable diagnostics", "enum": [true, false], "type": ["boolean"], "default": false}, "solargraph.references": {"description": "Enable finding references", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.bundlerPath": {"description": "Path to the bundle executable, defaults to 'bundle'. Needs to be an absolute path for the 'bundle' exec/shim", "scope": "resource", "type": "string", "default": "bundle"}, "solargraph.definitions": {"description": "Enable definitions (go to, etc.)", "enum": [true, false], "type": ["boolean"], "default": true}, "solargraph.useBundler": {"description": "Use `bundle exec` to run solargraph. (If this is true, the solargraph.commandPath setting is ignored.)", "type": "boolean", "default": false}, "solargraph.checkGemVersion": {"description": "Automatically check if a new version of the Solargraph gem is available.", "enum": [true, false], "type": "boolean", "default": true}, "solargraph.autoformat": {"description": "Enable automatic formatting while typing (WARNING: experimental)", "enum": [true, false], "type": ["boolean"], "default": false}, "solargraph.externalServer": {"properties": {"host": {"type": "string", "default": "localhost"}, "port": {"type": "integer", "default": 7658}}, "description": "The host and port to use for external transports. (Ignored for stdio and socket transports.)", "type": "object", "default": {"host": "localhost", "port": 7658}}, "solargraph.folding": {"description": "Enable folding ranges", "type": "boolean", "default": true}, "solargraph.commandPath": {"description": "Path to the solargraph command. Set this to an absolute path to select from multiple installed Ruby versions.", "scope": "resource", "type": "string", "default": "solargraph"}, "solargraph.logLevel": {"description": "Level of debug info to log. `warn` is least and `debug` is most.", "enum": ["warn", "info", "debug"], "type": "string", "default": "warn"}, "solargraph.rename": {"description": "Enable symbol renaming", "enum": [true, false], "type": ["boolean"], "default": true}}, "description": "A Ruby language server featuring code completion, intellisense, and inline documentation", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/solidity_ls.json b/schemas/solidity_ls.json index c2a88ba..a302d1b 100644 --- a/schemas/solidity_ls.json +++ b/schemas/solidity_ls.json @@ -1 +1 @@ -{"properties": {"solidity.packageDefaultDependenciesContractsDirectory": {"description": "Default directory where the Package Dependency store its contracts, i.e: 'src', 'contracts', or just a blank string '', this is used to avoid typing imports with subfolder paths", "type": "string", "default": ""}, "solidity.remappingsUnix": {"description": "Unix Remappings to resolve contracts to local Unix files / directories (Note this overrides the generic remapping settings if the OS is Unix based), i.e: [\"@openzeppelin/=/opt/lib/openzeppelin-contracts\",\"ds-test/=/opt/lib/ds-test/src/\"]", "type": "array", "default": []}, "solidity.formatter": {"description": "Enables / disables the solidity formatter (prettier solidity default)", "enum": ["none", "prettier"], "type": "string", "default": "prettier"}, "solidity.packageDefaultDependenciesDirectory": {"description": "Default directory for Packages Dependencies, i.e: 'node_modules', 'lib'. This is used to avoid typing imports with that path prefix", "type": "string", "default": "node_modules"}, "solidity.remappingsWindows": {"description": "Windows Remappings to resolve contracts to local Windows files / directories (Note this overrides the generic remapping settings if the OS is Windows) , i.e: [\"@openzeppelin/=C:/lib/openzeppelin-contracts\",\"ds-test/=C:/lib/ds-test/src/\"]", "type": "array", "default": []}, "solidity.compileUsingLocalVersion": {"description": "Compile using a local solc binary file, please include the path of the file if wanted: 'C://v0.4.3+commit.2353da71.js'", "type": "string", "default": ""}, "solidity.validationDelay": {"description": "Delay to trigger the validation of the changes of the current document (compilation, solium)", "type": "number", "default": 1500}, "solidity.nodemodulespackage": {"description": "The node modules package to find the solcjs compiler", "type": "string", "default": "solc"}, "solidity.linter": {"description": "Enables linting using either solium (ethlint) or solhint. Possible options 'solhint' and 'solium', the default is solhint", "enum": ["", "solhint", "solium"], "type": "string", "default": "solhint"}, "solidity.soliumRules": {"description": "Solium linting validation rules", "type": ["object"], "default": {"variable-declarations": 0, "imports-on-top": 0, "indentation": ["off", 4], "quotes": ["off", "double"]}}, "solidity.compileUsingRemoteVersion": {"description": "Compile downloading a remote solc binary file, for example: 'latest' or 'v0.4.3+commit.2353da71', use the command 'Solidity: Get solidity releases' to list all versions, or just right click in a solidity file to simply select the version", "type": "string", "default": "latest"}, "solidity.compilerOptimization": {"description": "Optimize for how many times you intend to run the code. Lower values will optimize more for initial deployment cost, higher values will optimize more for high-frequency usage.", "type": "number", "default": 200}, "solidity.enabledAsYouTypeCompilationErrorCheck": {"description": "Enables as you type compilation of the document and error highlighting", "type": "boolean", "default": true}, "solidity.defaultCompiler": {"description": "Sets the default compiler to use", "enum": ["remote", "localFile", "localNodeModule", "embedded"], "type": "string", "default": "remote"}, "solidity.remappings": {"description": "Remappings to resolve contracts to local files / directories, i.e: [\"@openzeppelin/=lib/openzeppelin-contracts\",\"ds-test/=lib/ds-test/src/\"]", "type": "array", "default": []}, "solidity.solhintRules": {"description": "Solhint linting validation rules", "type": ["object"], "default": null}}, "description": "Ethereum Solidity Language for Visual Studio Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"solidity.packageDefaultDependenciesContractsDirectory": {"description": "Default directory where the Package Dependency store its contracts, i.e: 'src', 'contracts', or just a blank string '', this is used to avoid typing imports with subfolder paths", "type": "string", "default": ""}, "solidity.compilerOptimization": {"description": "Optimize for how many times you intend to run the code. Lower values will optimize more for initial deployment cost, higher values will optimize more for high-frequency usage.", "type": "number", "default": 200}, "solidity.formatter": {"description": "Enables / disables the solidity formatter (prettier solidity default)", "enum": ["none", "prettier"], "type": "string", "default": "prettier"}, "solidity.packageDefaultDependenciesDirectory": {"description": "Default directory for Packages Dependencies, i.e: 'node_modules', 'lib'. This is used to avoid typing imports with that path prefix", "type": "string", "default": "node_modules"}, "solidity.remappingsWindows": {"description": "Windows Remappings to resolve contracts to local Windows files / directories (Note this overrides the generic remapping settings if the OS is Windows) , i.e: [\"@openzeppelin/=C:/lib/openzeppelin-contracts\",\"ds-test/=C:/lib/ds-test/src/\"]", "type": "array", "default": []}, "solidity.solhintRules": {"description": "Solhint linting validation rules", "type": ["object"], "default": null}, "solidity.validationDelay": {"description": "Delay to trigger the validation of the changes of the current document (compilation, solium)", "type": "number", "default": 1500}, "solidity.nodemodulespackage": {"description": "The node modules package to find the solcjs compiler", "type": "string", "default": "solc"}, "solidity.linter": {"description": "Enables linting using either solium (ethlint) or solhint. Possible options 'solhint' and 'solium', the default is solhint", "enum": ["", "solhint", "solium"], "type": "string", "default": "solhint"}, "solidity.soliumRules": {"description": "Solium linting validation rules", "type": ["object"], "default": {"variable-declarations": 0, "imports-on-top": 0, "indentation": ["off", 4], "quotes": ["off", "double"]}}, "solidity.compileUsingRemoteVersion": {"description": "Compile downloading a remote solc binary file, for example: 'latest' or 'v0.4.3+commit.2353da71', use the command 'Solidity: Get solidity releases' to list all versions, or just right click in a solidity file to simply select the version", "type": "string", "default": "latest"}, "solidity.remappingsUnix": {"description": "Unix Remappings to resolve contracts to local Unix files / directories (Note this overrides the generic remapping settings if the OS is Unix based), i.e: [\"@openzeppelin/=/opt/lib/openzeppelin-contracts\",\"ds-test/=/opt/lib/ds-test/src/\"]", "type": "array", "default": []}, "solidity.enabledAsYouTypeCompilationErrorCheck": {"description": "Enables as you type compilation of the document and error highlighting", "type": "boolean", "default": true}, "solidity.defaultCompiler": {"description": "Sets the default compiler to use", "enum": ["remote", "localFile", "localNodeModule", "embedded"], "type": "string", "default": "remote"}, "solidity.remappings": {"description": "Remappings to resolve contracts to local files / directories, i.e: [\"@openzeppelin/=lib/openzeppelin-contracts\",\"ds-test/=lib/ds-test/src/\"]", "type": "array", "default": []}, "solidity.compileUsingLocalVersion": {"description": "Compile using a local solc binary file, please include the path of the file if wanted: 'C://v0.4.3+commit.2353da71.js'", "type": "string", "default": ""}}, "description": "Ethereum Solidity Language for Visual Studio Code", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/sorbet.json b/schemas/sorbet.json index 6444c05..efcda16 100644 --- a/schemas/sorbet.json +++ b/schemas/sorbet.json @@ -1 +1 @@ -{"properties": {"sorbet.userLspConfigs": {"description": "Custom user LSP configurations that supplement `sorbet.lspConfigs` (and override configurations with the same id). If you commit your VSCode settings to source control, you probably want to commit `sorbet.lspConfigs`, not this value.", "type": "array", "default": [], "items": {"properties": {"id": {"description": "See `sorbet.selectedLspConfigId`", "type": "string"}, "cwd": {"description": "Current working directory when launching sorbet", "format": "uri-reference", "type": "string", "default": "${workspaceFolder}"}, "description": {"description": "Long-form human-readable description of configuration", "type": "string"}, "name": {"description": "Short-form human-readable label for configuration", "type": "string"}, "command": {"description": "Full command line to invoke sorbet", "items": {"type": "string"}, "type": "array", "minItems": 1}}, "required": ["id", "description", "command"], "type": "object", "default": {"id": "my-custom-configuration", "cwd": "${workspaceFolder}", "description": "A longer description of this Sorbet Configuration for use in hover text", "name": "My Custom Sorbet Configuration", "command": ["bundle", "exec", "srb", "typecheck", "--your", "--flags", "--here"]}}}, "sorbet.lspConfigs": {"description": "Standard Ruby LSP configurations. If you commit your VSCode settings to source control, you probably want to commit *this* setting, not `sorbet.userLspConfigs`.", "type": "array", "default": [{"id": "stable", "cwd": "${workspaceFolder}", "description": "Stable Sorbet Ruby IDE features", "name": "Sorbet", "command": ["bundle", "exec", "srb", "typecheck", "--lsp"]}, {"id": "beta", "cwd": "${workspaceFolder}", "description": "Beta Sorbet Ruby IDE features", "name": "Sorbet (Beta)", "command": ["bundle", "exec", "srb", "typecheck", "--lsp", "--enable-all-beta-lsp-features"]}, {"id": "experimental", "cwd": "${workspaceFolder}", "description": "Experimental Sorbet Ruby IDE features (warning: crashy, for developers only)", "name": "Sorbet (Experimental)", "command": ["bundle", "exec", "srb", "typecheck", "--lsp", "--enable-all-experimental-lsp-features"]}], "items": {"properties": {"id": {"description": "See `sorbet.selectedLspConfigId`", "type": "string"}, "cwd": {"description": "Current working directory when launching sorbet", "format": "uri-reference", "type": "string", "default": "${workspaceFolder}"}, "description": {"description": "Long-form human-readable description of configuration", "type": "string"}, "name": {"description": "Short-form human-readable label for configuration", "type": "string"}, "command": {"description": "Full command line to invoke sorbet", "items": {"type": "string"}, "type": "array", "minItems": 1}}, "required": ["id", "description", "command"], "type": "object"}}, "sorbet.configFilePatterns": {"description": "List of workspace file patterns that contribute to Sorbet's configuration. Changes to any of those files should trigger a restart of any actively running Sorbet language server.", "type": "array", "default": ["**/sorbet/config", "**/Gemfile", "**/Gemfile.lock"], "items": {"type": "string"}}, "sorbet.enabled": {"description": "Enable Sorbet Ruby IDE features", "type": "boolean"}, "sorbet.selectedLspConfigId": {"description": "The default configuration to use from `sorbet.userLspConfigs` or `sorbet.lspConfigs`. If unset, defaults to the first item in `sorbet.userLspConfigs` or `sorbet.lspConfigs`.", "type": "string"}, "sorbet.revealOutputOnError": {"description": "Show the extension output window on errors.", "type": "boolean", "default": false}}, "description": "Ruby IDE features, powered by Sorbet.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"sorbet.selectedLspConfigId": {"description": "The default configuration to use from `sorbet.userLspConfigs` or `sorbet.lspConfigs`. If unset, defaults to the first item in `sorbet.userLspConfigs` or `sorbet.lspConfigs`.", "type": "string"}, "sorbet.userLspConfigs": {"description": "Custom user LSP configurations that supplement `sorbet.lspConfigs` (and override configurations with the same id). If you commit your VSCode settings to source control, you probably want to commit `sorbet.lspConfigs`, not this value.", "type": "array", "default": [], "items": {"properties": {"id": {"description": "See `sorbet.selectedLspConfigId`", "type": "string"}, "cwd": {"description": "Current working directory when launching sorbet", "format": "uri-reference", "type": "string", "default": "${workspaceFolder}"}, "description": {"description": "Long-form human-readable description of configuration", "type": "string"}, "name": {"description": "Short-form human-readable label for configuration", "type": "string"}, "command": {"description": "Full command line to invoke sorbet", "items": {"type": "string"}, "type": "array", "minItems": 1}}, "required": ["id", "description", "command"], "type": "object", "default": {"id": "my-custom-configuration", "cwd": "${workspaceFolder}", "description": "A longer description of this Sorbet Configuration for use in hover text", "name": "My Custom Sorbet Configuration", "command": ["bundle", "exec", "srb", "typecheck", "--your", "--flags", "--here"]}}}, "sorbet.enabled": {"description": "Enable Sorbet Ruby IDE features", "type": "boolean"}, "sorbet.lspConfigs": {"description": "Standard Ruby LSP configurations. If you commit your VSCode settings to source control, you probably want to commit *this* setting, not `sorbet.userLspConfigs`.", "type": "array", "default": [{"id": "stable", "cwd": "${workspaceFolder}", "description": "Stable Sorbet Ruby IDE features", "name": "Sorbet", "command": ["bundle", "exec", "srb", "typecheck", "--lsp"]}, {"id": "beta", "cwd": "${workspaceFolder}", "description": "Beta Sorbet Ruby IDE features", "name": "Sorbet (Beta)", "command": ["bundle", "exec", "srb", "typecheck", "--lsp", "--enable-all-beta-lsp-features"]}, {"id": "experimental", "cwd": "${workspaceFolder}", "description": "Experimental Sorbet Ruby IDE features (warning: crashy, for developers only)", "name": "Sorbet (Experimental)", "command": ["bundle", "exec", "srb", "typecheck", "--lsp", "--enable-all-experimental-lsp-features"]}], "items": {"properties": {"id": {"description": "See `sorbet.selectedLspConfigId`", "type": "string"}, "cwd": {"description": "Current working directory when launching sorbet", "format": "uri-reference", "type": "string", "default": "${workspaceFolder}"}, "description": {"description": "Long-form human-readable description of configuration", "type": "string"}, "name": {"description": "Short-form human-readable label for configuration", "type": "string"}, "command": {"description": "Full command line to invoke sorbet", "items": {"type": "string"}, "type": "array", "minItems": 1}}, "required": ["id", "description", "command"], "type": "object"}}, "sorbet.configFilePatterns": {"description": "List of workspace file patterns that contribute to Sorbet's configuration. Changes to any of those files should trigger a restart of any actively running Sorbet language server.", "type": "array", "default": ["**/sorbet/config", "**/Gemfile", "**/Gemfile.lock"], "items": {"type": "string"}}, "sorbet.revealOutputOnError": {"description": "Show the extension output window on errors.", "type": "boolean", "default": false}}, "description": "Ruby IDE features, powered by Sorbet.", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/stylelint_lsp.json b/schemas/stylelint_lsp.json index 08c379c..a57f048 100644 --- a/schemas/stylelint_lsp.json +++ b/schemas/stylelint_lsp.json @@ -1 +1 @@ -{"properties": {"stylelintplus.configFile": {"description": "Stylelint config file. If config and configFile are unset, stylelint will automatically look for a config file.", "scope": "resource", "type": "string", "default": null}, "stylelintplus.trace.server": {"description": "Capture trace messages from the server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "stylelintplus.cssInJs": {"description": "Run stylelint on javascript/typescript files.", "scope": "window", "type": "boolean", "default": false}, "stylelintplus.config": {"description": "Stylelint config. If config and configFile are unset, stylelint will automatically look for a config file.", "scope": "resource", "type": "object", "default": null}, "stylelintplus.autoFixOnFormat": {"description": "Auto-fix on format request.", "scope": "resource", "type": "boolean", "default": false}, "stylelintplus.validateOnSave": {"description": "Validate after saving. Automatically enabled if autoFixOnSave is enabled.", "scope": "resource", "type": "boolean", "default": false}, "stylelintplus.filetypes": {"description": "Filetypes that coc-stylelintplus will lint.", "scope": "window", "type": "array", "default": ["css", "less", "postcss", "sass", "scss", "sugarss", "vue", "wxss"], "items": {"type": "string"}}, "stylelintplus.validateOnType": {"description": "Validate after making changes.", "scope": "resource", "type": "boolean", "default": true}, "stylelintplus.enable": {"description": "If false, stylelint will not validate the file.", "scope": "resource", "type": "boolean", "default": true}, "stylelintplus.autoFixOnSave": {"description": "Auto-fix and format on save.", "scope": "resource", "type": "boolean", "default": false}, "stylelintplus.configOverrides": {"description": "Stylelint config overrides. These will be applied on top of the config, configFile, or auto-discovered config file loaded by stylelint.", "scope": "resource", "type": "object", "default": null}}, "description": "stylelint extension for coc.nvim supporting additional features", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"stylelintplus.trace.server": {"description": "Capture trace messages from the server.", "enum": ["off", "messages", "verbose"], "scope": "window", "type": "string", "default": "off"}, "stylelintplus.filetypes": {"description": "Filetypes that coc-stylelintplus will lint.", "scope": "window", "type": "array", "default": ["css", "less", "postcss", "sass", "scss", "sugarss", "vue", "wxss"], "items": {"type": "string"}}, "stylelintplus.validateOnSave": {"description": "Validate after saving. Automatically enabled if autoFixOnSave is enabled.", "scope": "resource", "type": "boolean", "default": false}, "stylelintplus.config": {"description": "Stylelint config. If config and configFile are unset, stylelint will automatically look for a config file.", "scope": "resource", "type": "object", "default": null}, "stylelintplus.cssInJs": {"description": "Run stylelint on javascript/typescript files.", "scope": "window", "type": "boolean", "default": false}, "stylelintplus.autoFixOnFormat": {"description": "Auto-fix on format request.", "scope": "resource", "type": "boolean", "default": false}, "stylelintplus.configFile": {"description": "Stylelint config file. If config and configFile are unset, stylelint will automatically look for a config file.", "scope": "resource", "type": "string", "default": null}, "stylelintplus.validateOnType": {"description": "Validate after making changes.", "scope": "resource", "type": "boolean", "default": true}, "stylelintplus.enable": {"description": "If false, stylelint will not validate the file.", "scope": "resource", "type": "boolean", "default": true}, "stylelintplus.autoFixOnSave": {"description": "Auto-fix and format on save.", "scope": "resource", "type": "boolean", "default": false}, "stylelintplus.configOverrides": {"description": "Stylelint config overrides. These will be applied on top of the config, configFile, or auto-discovered config file loaded by stylelint.", "scope": "resource", "type": "object", "default": null}}, "description": "stylelint extension for coc.nvim supporting additional features", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/sumneko_lua.json b/schemas/sumneko_lua.json index 151952c..a08f376 100644 --- a/schemas/sumneko_lua.json +++ b/schemas/sumneko_lua.json @@ -1 +1 @@ -{"properties": {"Lua.format": {"properties": {"defaultConfig": {"$ref": "#/properties/Lua.format.defaultConfig"}, "enable": {"$ref": "#/properties/Lua.format.enable"}}}, "Lua.hint.await": {"scope": "resource", "type": "boolean", "markdownDescription": "If the called function is marked `---@async`, prompt `await` at the call.", "default": true}, "Lua.completion.postfix": {"scope": "resource", "type": "string", "markdownDescription": "The symbol used to trigger the postfix suggestion.", "default": "@"}, "Lua.workspace.maxPreload": {"scope": "resource", "type": "integer", "markdownDescription": "Max preloaded files.", "default": 5000}, "Lua.hint.setType": {"scope": "resource", "type": "boolean", "markdownDescription": "Show hints of type at assignment operation.", "default": false}, "Lua.semantic.annotation": {"scope": "resource", "type": "boolean", "markdownDescription": "Semantic coloring of type annotations.", "default": true}, "Lua.diagnostics.ignoredFiles": {"enum": ["Enable", "Opened", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "How to diagnose ignored files.", "default": "Opened", "markdownEnumDescriptions": ["Always diagnose these files.", "Only when these files are opened will it be diagnosed.", "These files are not diagnosed."]}, "Lua.misc": {"properties": {"parameters": {"$ref": "#/properties/Lua.misc.parameters"}}}, "Lua.hint": {"properties": {"semicolon": {"$ref": "#/properties/Lua.hint.semicolon"}, "setType": {"$ref": "#/properties/Lua.hint.setType"}, "paramType": {"$ref": "#/properties/Lua.hint.paramType"}, "paramName": {"$ref": "#/properties/Lua.hint.paramName"}, "await": {"$ref": "#/properties/Lua.hint.await"}, "enable": {"$ref": "#/properties/Lua.hint.enable"}, "arrayIndex": {"$ref": "#/properties/Lua.hint.arrayIndex"}}}, "Lua.format.defaultConfig": {"patternProperties": {".*": {"type": "string", "default": ""}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.\nRead [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.\n", "default": {}, "title": "defaultConfig"}, "Lua.runtime.plugin": {"scope": "resource", "type": "string", "markdownDescription": "Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more.", "default": ""}, "Lua.hint.arrayIndex": {"enum": ["Enable", "Auto", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "Show hints of array index when constructing a table.", "default": "Auto", "markdownEnumDescriptions": ["Show hints in all tables.", "Show hints only when the table is greater than 3 items, or the table is a mixed table.", "Disable hints of array index."]}, "Lua.window": {"properties": {"progressBar": {"$ref": "#/properties/Lua.window.progressBar"}, "statusBar": {"$ref": "#/properties/Lua.window.statusBar"}}}, "Lua.runtime.unicodeName": {"scope": "resource", "type": "boolean", "markdownDescription": "Allows Unicode characters in name.", "default": false}, "Lua.type.weakNilCheck": {"scope": "resource", "type": "boolean", "markdownDescription": "When checking the type of union type, ignore the `nil` in it.\n\nWhen this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.\n", "default": false}, "Lua.hover.viewString": {"scope": "resource", "type": "boolean", "markdownDescription": "Hover to view the contents of a string (only if the literal contains an escape character).", "default": true}, "Lua.telemetry.enable": {"tags": ["telemetry"], "scope": "resource", "type": ["boolean", "null"], "markdownDescription": "Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy).\n", "default": null}, "Lua.typeFormat.config": {"properties": {"format_line": {"description": "%config.typeFormat.config.format_line%", "type": "string", "default": "true"}, "auto_complete_end": {"description": "%config.typeFormat.config.auto_complete_end%", "type": "string", "default": "true"}, "auto_complete_table_sep": {"description": "%config.typeFormat.config.auto_complete_table_sep%", "type": "string", "default": "true"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "%config.typeFormat.config%", "title": "config"}, "Lua.hover.viewNumber": {"scope": "resource", "type": "boolean", "markdownDescription": "Hover to view numeric content (only if literal is not decimal).", "default": true}, "Lua.workspace.preloadFileSize": {"scope": "resource", "type": "integer", "markdownDescription": "Skip files larger than this value (KB) when preloading.", "default": 500}, "Lua.runtime": {"properties": {"version": {"$ref": "#/properties/Lua.runtime.version"}, "path": {"$ref": "#/properties/Lua.runtime.path"}, "fileEncoding": {"$ref": "#/properties/Lua.runtime.fileEncoding"}, "plugin": {"$ref": "#/properties/Lua.runtime.plugin"}, "unicodeName": {"$ref": "#/properties/Lua.runtime.unicodeName"}, "special": {"$ref": "#/properties/Lua.runtime.special"}, "nonstandardSymbol": {"$ref": "#/properties/Lua.runtime.nonstandardSymbol"}, "meta": {"$ref": "#/properties/Lua.runtime.meta"}, "pluginArgs": {"$ref": "#/properties/Lua.runtime.pluginArgs"}, "pathStrict": {"$ref": "#/properties/Lua.runtime.pathStrict"}, "builtin": {"$ref": "#/properties/Lua.runtime.builtin"}}}, "Lua.diagnostics.disableScheme": {"scope": "resource", "type": "array", "markdownDescription": "Do not diagnose Lua files that use the following scheme.", "default": ["git"], "items": {"type": "string"}}, "Lua.workspace.supportScheme": {"scope": "resource", "type": "array", "markdownDescription": "Provide language server for the Lua files of the following scheme.", "default": ["file", "untitled", "git"], "items": {"type": "string"}}, "Lua.hover": {"properties": {"viewString": {"$ref": "#/properties/Lua.hover.viewString"}, "enumsLimit": {"$ref": "#/properties/Lua.hover.enumsLimit"}, "enable": {"$ref": "#/properties/Lua.hover.enable"}, "viewNumber": {"$ref": "#/properties/Lua.hover.viewNumber"}, "previewFields": {"$ref": "#/properties/Lua.hover.previewFields"}, "expandAlias": {"$ref": "#/properties/Lua.hover.expandAlias"}, "viewStringMax": {"$ref": "#/properties/Lua.hover.viewStringMax"}}}, "Lua.format.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable code formatter.", "default": true}, "Lua.hint.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable inlay hint.", "default": false}, "Lua.hover.viewStringMax": {"scope": "resource", "type": "integer", "markdownDescription": "The maximum length of a hover to view the contents of a string.", "default": 1000}, "Lua.workspace": {"properties": {"library": {"$ref": "#/properties/Lua.workspace.library"}, "userThirdParty": {"$ref": "#/properties/Lua.workspace.userThirdParty"}, "ignoreDir": {"$ref": "#/properties/Lua.workspace.ignoreDir"}, "checkThirdParty": {"$ref": "#/properties/Lua.workspace.checkThirdParty"}, "maxPreload": {"$ref": "#/properties/Lua.workspace.maxPreload"}, "preloadFileSize": {"$ref": "#/properties/Lua.workspace.preloadFileSize"}, "ignoreSubmodules": {"$ref": "#/properties/Lua.workspace.ignoreSubmodules"}, "supportScheme": {"$ref": "#/properties/Lua.workspace.supportScheme"}, "useGitIgnore": {"$ref": "#/properties/Lua.workspace.useGitIgnore"}}}, "Lua.hover.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable hover.", "default": true}, "Lua.diagnostics.unusedLocalExclude": {"scope": "resource", "type": "array", "markdownDescription": "Do not diagnose `unused-local` when the variable name matches the following pattern.", "default": [], "items": {"type": "string"}}, "Lua.hover.enumsLimit": {"scope": "resource", "type": "integer", "markdownDescription": "When the value corresponds to multiple types, limit the number of types displaying.", "default": 5}, "Lua.runtime.pluginArgs": {"scope": "resource", "type": "array", "markdownDescription": "Additional arguments for the plugin.", "default": [], "items": {"type": "string"}}, "Lua.telemetry": {"properties": {"enable": {"$ref": "#/properties/Lua.telemetry.enable"}}}, "Lua.completion.displayContext": {"scope": "resource", "type": "integer", "markdownDescription": "Previewing the relevant code snippet of the suggestion may help you understand the usage of the suggestion. The number set indicates the number of intercepted lines in the code fragment. If it is set to `0`, this feature can be disabled.", "default": 0}, "Lua.runtime.nonstandardSymbol": {"scope": "resource", "type": "array", "markdownDescription": "Supports non-standard symbols. Make sure that your runtime environment supports these symbols.", "default": [], "items": {"enum": ["//", "/**/", "`", "+=", "-=", "*=", "/=", "%=", "^=", "//=", "|=", "&=", "<<=", ">>=", "||", "&&", "!", "!=", "continue"], "type": "string"}}, "Lua.completion.requireSeparator": {"scope": "resource", "type": "string", "markdownDescription": "The separator used when `require`.", "default": "."}, "Lua.hint.paramName": {"enum": ["All", "Literal", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "Show hints of parameter name at the function call.", "default": "All", "markdownEnumDescriptions": ["All types of parameters are shown.", "Only literal type parameters are shown.", "Disable parameter hints."]}, "Lua.completion.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable completion.", "default": true}, "Lua.semantic": {"properties": {"annotation": {"$ref": "#/properties/Lua.semantic.annotation"}, "keyword": {"$ref": "#/properties/Lua.semantic.keyword"}, "enable": {"$ref": "#/properties/Lua.semantic.enable"}, "variable": {"$ref": "#/properties/Lua.semantic.variable"}}}, "Lua.workspace.checkThirdParty": {"scope": "resource", "type": "boolean", "markdownDescription": "Automatic detection and adaptation of third-party libraries, currently supported libraries are:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", "default": true}, "Lua.hint.semicolon": {"enum": ["All", "SameLine", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "If there is no semicolon at the end of the statement, display a virtual semicolon.", "default": "SameLine", "markdownEnumDescriptions": ["All statements display virtual semicolons.", "When two statements are on the same line, display a semicolon between them.", "Disable virtual semicolons."]}, "Lua.type": {"properties": {"weakUnionCheck": {"$ref": "#/properties/Lua.type.weakUnionCheck"}, "castNumberToInteger": {"$ref": "#/properties/Lua.type.castNumberToInteger"}, "weakNilCheck": {"$ref": "#/properties/Lua.type.weakNilCheck"}}}, "Lua.diagnostics.groupSeverity": {"properties": {"luadoc": {"description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "strict": {"description": "* close-non-object\n* deprecated\n* discard-returns", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "duplicate": {"description": "* duplicate-index\n* duplicate-set-field", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "unused": {"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "redefined": {"description": "* redefined-local", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "await": {"description": "* await-in-sync\n* not-yieldable", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "strong": {"description": "* no-unknown", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "unbalanced": {"description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "global": {"description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "codestyle": {"description": "* codestyle-check\n* spell-check", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "type-check": {"description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "ambiguity": {"description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Modify the diagnostic severity in a group.\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately.\nOther settings will override individual settings without end of `!`.\n", "title": "groupSeverity"}, "Lua.spell": {"properties": {"dict": {"$ref": "#/properties/Lua.spell.dict"}}}, "Lua.diagnostics.workspaceDelay": {"scope": "resource", "type": "integer", "markdownDescription": "Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics.", "default": 3000}, "Lua.completion.showParams": {"scope": "resource", "type": "boolean", "markdownDescription": "Display parameters in completion list. When the function has multiple definitions, they will be displayed separately.", "default": true}, "Lua.misc.parameters": {"scope": "resource", "type": "array", "markdownDescription": "[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.", "default": [], "items": {"type": "string"}}, "Lua.runtime.special": {"patternProperties": {".*": {"enum": ["_G", "rawset", "rawget", "setmetatable", "require", "dofile", "loadfile", "pcall", "xpcall", "assert", "error", "type"], "type": "string", "default": "require"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support\nThe following example shows that 'include' is treated as' require '.\n```json\n\"Lua.runtime.special\" : {\n \"include\" : \"require\"\n}\n```\n", "default": {}, "title": "special"}, "Lua.runtime.version": {"enum": ["Lua 5.1", "Lua 5.2", "Lua 5.3", "Lua 5.4", "LuaJIT"], "scope": "resource", "type": "string", "markdownDescription": "Lua runtime version.", "default": "Lua 5.4", "markdownEnumDescriptions": ["%config.runtime.version.Lua 5.1%", "%config.runtime.version.Lua 5.2%", "%config.runtime.version.Lua 5.3%", "%config.runtime.version.Lua 5.4%", "%config.runtime.version.LuaJIT%"]}, "Lua.workspace.userThirdParty": {"scope": "resource", "type": "array", "markdownDescription": "Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)", "default": [], "items": {"type": "string"}}, "Lua.diagnostics.groupFileStatus": {"properties": {"luadoc": {"description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "strict": {"description": "* close-non-object\n* deprecated\n* discard-returns", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "duplicate": {"description": "* duplicate-index\n* duplicate-set-field", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "unused": {"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "redefined": {"description": "* redefined-local", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "await": {"description": "* await-in-sync\n* not-yieldable", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "strong": {"description": "* no-unknown", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "unbalanced": {"description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "global": {"description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "codestyle": {"description": "* codestyle-check\n* spell-check", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "type-check": {"description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "ambiguity": {"description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Modify the diagnostic needed file status in a group.\n\n* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately.\nOther settings will override individual settings without end of `!`.\n", "title": "groupFileStatus"}, "Lua.completion": {"properties": {"showWord": {"$ref": "#/properties/Lua.completion.showWord"}, "workspaceWord": {"$ref": "#/properties/Lua.completion.workspaceWord"}, "showParams": {"$ref": "#/properties/Lua.completion.showParams"}, "autoRequire": {"$ref": "#/properties/Lua.completion.autoRequire"}, "displayContext": {"$ref": "#/properties/Lua.completion.displayContext"}, "keywordSnippet": {"$ref": "#/properties/Lua.completion.keywordSnippet"}, "requireSeparator": {"$ref": "#/properties/Lua.completion.requireSeparator"}, "enable": {"$ref": "#/properties/Lua.completion.enable"}, "postfix": {"$ref": "#/properties/Lua.completion.postfix"}, "callSnippet": {"$ref": "#/properties/Lua.completion.callSnippet"}}}, "Lua.runtime.path": {"scope": "resource", "type": "array", "markdownDescription": "When using `require`, how to find the file based on the input name.\nSetting this config to `?/init.lua` means that when you enter `require 'myfile'`, `${workspace}/myfile/init.lua` will be searched from the loaded files.\nif `runtime.pathStrict` is `false`, `${workspace}/**/myfile/init.lua` will also be searched.\nIf you want to load files outside the workspace, you need to set `Lua.workspace.library` first.\n", "default": ["?.lua", "?/init.lua"], "items": {"type": "string"}}, "Lua.workspace.library": {"scope": "resource", "type": "array", "markdownDescription": "In addition to the current workspace, which directories will load files from. The files in these directories will be treated as externally provided code libraries, and some features (such as renaming fields) will not modify these files.", "default": [], "items": {"type": "string"}}, "Lua.hover.expandAlias": {"scope": "resource", "type": "boolean", "markdownDescription": "Whether to expand the alias. For example, expands `---@alias myType boolean|number` appears as `boolean|number`, otherwise it appears as `myType'.\n", "default": true}, "Lua.diagnostics.severity": {"properties": {"unreachable-code": {"description": "Enable diagnostics for unreachable code.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "unknown-cast-variable": {"description": "Enable diagnostics for casts of undefined variables.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "return-type-mismatch": {"description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "param-type-mismatch": {"description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-local": {"description": "Enable unused local variable diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "different-requires": {"description": "Enable diagnostics for files which are required by two different paths.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "need-check-nil": {"description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "assign-type-mismatch": {"description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "spell-check": {"description": "Enable diagnostics for typos in strings.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Information"}, "redundant-parameter": {"description": "Enable redundant function parameter diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "lowercase-global": {"description": "Enable lowercase global variable definition diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Information"}, "missing-return": {"description": "Enable diagnostics for functions with return annotations which have no return statement.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "newline-call": {"description": "Enable newline call diagnostics. Is's raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unknown-operator": {"description": "Enable diagnostics for unknown operators.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "close-non-object": {"description": "Enable diagnostics for attempts to close a variable with a non-object.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "no-unknown": {"description": "Enable diagnostics for cases in which the type cannot be inferred.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-function": {"description": "Enable unused function diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "undefined-global": {"description": "Enable undefined global variable diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "missing-return-value": {"description": "Enable diagnostics for return statements without values although the containing function declares returns.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unbalanced-assignments": {"description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-doc-field": {"description": "Enable diagnostics for a duplicated field annotation name.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "cast-local-type": {"description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "doc-field-no-class": {"description": "Enable diagnostics to highlight a field annotation without a defining class annotation.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-set-field": {"description": "Enable diagnostics for setting the same field in a class more than once.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unknown-diag-code": {"description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "redundant-return-value": {"description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-doc-name": {"description": "Enable diagnostics for type annotations referencing an undefined type or alias.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "empty-block": {"description": "Enable empty code block diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "deprecated": {"description": "Enable diagnostics to highlight deprecated API.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-vararg": {"description": "Enable unused vararg diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "redefined-local": {"description": "Enable redefined local variable diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "duplicate-doc-param": {"description": "Enable diagnostics for a duplicated param annotation name.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-doc-alias": {"description": "Enable diagnostics for a duplicated alias annotation name.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "newfield-call": {"description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "redundant-return": {"description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "ambiguity-1": {"description": "Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "circle-doc-class": {"description": "%config.diagnostics.circle-doc-class%", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "discard-returns": {"description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-index": {"description": "Enable duplicate table index diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "not-yieldable": {"description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-doc-param": {"description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-field": {"description": "Enable diagnostics for cases in which an undefined field of a variable is read.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "codestyle-check": {"description": "Enable diagnostics for incorrectly styled lines.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-label": {"description": "Enable unused label diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "cast-type-mismatch": {"description": "Enable diagnostics for casts where the target type does not match the initial type.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "missing-parameter": {"description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "global-in-nil-env": {"description": "Enable cannot use global variables ( `_ENV` is set to `nil`) diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "await-in-sync": {"description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "code-after-break": {"description": "Enable diagnostics for code placed after a break statement in a loop.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "redundant-value": {"description": "Enable the redundant values assigned diagnostics. It's raised during assignment operation, when the number of values is higher than the number of objects being assigned.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "count-down-loop": {"description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-doc-class": {"description": "Enable diagnostics for class annotations in which an undefined class is referenced.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-env-child": {"description": "Enable undefined environment variable diagnostics. It's raised when `_ENV` table is set to a new literal table, but the used global variable is no longer present in the global environment.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Information"}, "trailing-space": {"description": "Enable trailing space diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Modify the diagnostic severity.\n\nEnd with `!` means override the group setting `diagnostics.groupSeverity`.\n", "title": "severity"}, "Lua.diagnostics.libraryFiles": {"enum": ["Enable", "Opened", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "How to diagnose files loaded via `Lua.workspace.library`.", "default": "Opened", "markdownEnumDescriptions": ["Always diagnose these files.", "Only when these files are opened will it be diagnosed.", "These files are not diagnosed."]}, "Lua.window.statusBar": {"scope": "resource", "type": "boolean", "markdownDescription": "Show extension status in status bar.", "default": true}, "Lua.signatureHelp.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable signature help.", "default": true}, "Lua.type.castNumberToInteger": {"scope": "resource", "type": "boolean", "markdownDescription": "Allowed to assign the `number` type to the `integer` type.", "default": true}, "Lua.typeFormat": {"properties": {"config": {"$ref": "#/properties/Lua.typeFormat.config"}}}, "Lua.runtime.fileEncoding": {"enum": ["utf8", "ansi", "utf16le", "utf16be"], "scope": "resource", "type": "string", "markdownDescription": "File encoding. The `ansi` option is only available under the `Windows` platform.", "default": "utf8", "markdownEnumDescriptions": ["%config.runtime.fileEncoding.utf8%", "%config.runtime.fileEncoding.ansi%", "%config.runtime.fileEncoding.utf16le%", "%config.runtime.fileEncoding.utf16be%"]}, "Lua.workspace.ignoreDir": {"scope": "resource", "type": "array", "markdownDescription": "Ignored files and directories (Use `.gitignore` grammar).", "default": [".vscode"], "items": {"type": "string"}}, "Lua.diagnostics.workspaceRate": {"scope": "resource", "type": "integer", "markdownDescription": "Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting.", "default": 100}, "Lua.semantic.variable": {"scope": "resource", "type": "boolean", "markdownDescription": "Semantic coloring of variables/fields/parameters.", "default": true}, "Lua.diagnostics.disable": {"scope": "resource", "type": "array", "markdownDescription": "Disabled diagnostic (Use code in hover brackets).", "default": [], "items": {"enum": ["action-after-return", "ambiguity-1", "ambiguous-syntax", "args-after-dots", "assign-type-mismatch", "await-in-sync", "block-after-else", "break-outside", "cast-local-type", "cast-type-mismatch", "circle-doc-class", "close-non-object", "code-after-break", "codestyle-check", "count-down-loop", "deprecated", "different-requires", "discard-returns", "doc-field-no-class", "duplicate-doc-alias", "duplicate-doc-field", "duplicate-doc-param", "duplicate-index", "duplicate-set-field", "empty-block", "err-assign-as-eq", "err-c-long-comment", "err-comment-prefix", "err-do-as-then", "err-eq-as-assign", "err-esc", "err-nonstandard-symbol", "err-then-as-do", "exp-in-action", "global-in-nil-env", "index-in-func-name", "jump-local-scope", "keyword", "local-limit", "lowercase-global", "lua-doc-miss-sign", "luadoc-error-diag-mode", "luadoc-miss-alias-extends", "luadoc-miss-alias-name", "luadoc-miss-arg-name", "luadoc-miss-cate-name", "luadoc-miss-class-extends-name", "luadoc-miss-class-name", "luadoc-miss-diag-mode", "luadoc-miss-diag-name", "luadoc-miss-field-extends", "luadoc-miss-field-name", "luadoc-miss-fun-after-overload", "luadoc-miss-generic-name", "luadoc-miss-local-name", "luadoc-miss-module-name", "luadoc-miss-operator-name", "luadoc-miss-param-extends", "luadoc-miss-param-name", "luadoc-miss-sign-name", "luadoc-miss-symbol", "luadoc-miss-type-name", "luadoc-miss-vararg-type", "luadoc-miss-version", "malformed-number", "miss-end", "miss-esc-x", "miss-exp", "miss-exponent", "miss-field", "miss-loop-max", "miss-loop-min", "miss-method", "miss-name", "miss-sep-in-table", "miss-space-between", "miss-symbol", "missing-parameter", "missing-return", "missing-return-value", "need-check-nil", "need-paren", "newfield-call", "newline-call", "no-unknown", "no-visible-label", "not-yieldable", "param-type-mismatch", "redefined-label", "redefined-local", "redundant-parameter", "redundant-return", "redundant-return-value", "redundant-value", "return-type-mismatch", "set-const", "spell-check", "trailing-space", "unbalanced-assignments", "undefined-doc-class", "undefined-doc-name", "undefined-doc-param", "undefined-env-child", "undefined-field", "undefined-global", "unexpect-dots", "unexpect-efunc-name", "unexpect-lfunc-name", "unexpect-symbol", "unicode-name", "unknown-attribute", "unknown-cast-variable", "unknown-diag-code", "unknown-operator", "unknown-symbol", "unreachable-code", "unsupport-symbol", "unused-function", "unused-label", "unused-local", "unused-vararg"], "type": "string"}}, "Lua.completion.callSnippet": {"enum": ["Disable", "Both", "Replace"], "scope": "resource", "type": "string", "markdownDescription": "Shows function call snippets.", "default": "Disable", "markdownEnumDescriptions": ["Only shows `function name`.", "Shows `function name` and `call snippet`.", "Only shows `call snippet.`"]}, "Lua.completion.showWord": {"enum": ["Enable", "Fallback", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "Show contextual words in suggestions.", "default": "Fallback", "markdownEnumDescriptions": ["Always show context words in suggestions.", "Contextual words are only displayed when suggestions based on semantics cannot be provided.", "Do not display context words."]}, "Lua.hover.previewFields": {"scope": "resource", "type": "integer", "markdownDescription": "When hovering to view a table, limits the maximum number of previews for fields.", "default": 50}, "Lua.workspace.useGitIgnore": {"scope": "resource", "type": "boolean", "markdownDescription": "Ignore files list in `.gitignore` .", "default": true}, "Lua.semantic.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect.", "default": true}, "Lua.window.progressBar": {"scope": "resource", "type": "boolean", "markdownDescription": "Show progress bar in status bar.", "default": true}, "Lua.completion.autoRequire": {"scope": "resource", "type": "boolean", "markdownDescription": "When the input looks like a file name, automatically `require` this file.", "default": true}, "Lua.diagnostics.neededFileStatus": {"properties": {"unreachable-code": {"description": "Enable diagnostics for unreachable code.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "unknown-cast-variable": {"description": "Enable diagnostics for casts of undefined variables.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "return-type-mismatch": {"description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "param-type-mismatch": {"description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "unused-local": {"description": "Enable unused local variable diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "different-requires": {"description": "Enable diagnostics for files which are required by two different paths.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "need-check-nil": {"description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "assign-type-mismatch": {"description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "spell-check": {"description": "Enable diagnostics for typos in strings.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "redundant-parameter": {"description": "Enable redundant function parameter diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "lowercase-global": {"description": "Enable lowercase global variable definition diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "missing-return": {"description": "Enable diagnostics for functions with return annotations which have no return statement.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "newline-call": {"description": "Enable newline call diagnostics. Is's raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unknown-operator": {"description": "Enable diagnostics for unknown operators.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "close-non-object": {"description": "Enable diagnostics for attempts to close a variable with a non-object.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "no-unknown": {"description": "Enable diagnostics for cases in which the type cannot be inferred.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "unused-function": {"description": "Enable unused function diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "undefined-global": {"description": "Enable undefined global variable diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "missing-return-value": {"description": "Enable diagnostics for return statements without values although the containing function declares returns.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unbalanced-assignments": {"description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-doc-field": {"description": "Enable diagnostics for a duplicated field annotation name.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "cast-local-type": {"description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "doc-field-no-class": {"description": "Enable diagnostics to highlight a field annotation without a defining class annotation.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-set-field": {"description": "Enable diagnostics for setting the same field in a class more than once.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unknown-diag-code": {"description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "redundant-return-value": {"description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-doc-name": {"description": "Enable diagnostics for type annotations referencing an undefined type or alias.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "empty-block": {"description": "Enable empty code block diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "deprecated": {"description": "Enable diagnostics to highlight deprecated API.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unused-vararg": {"description": "Enable unused vararg diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "redefined-local": {"description": "Enable redefined local variable diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "duplicate-doc-param": {"description": "Enable diagnostics for a duplicated param annotation name.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-doc-alias": {"description": "Enable diagnostics for a duplicated alias annotation name.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "newfield-call": {"description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "redundant-return": {"description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "ambiguity-1": {"description": "Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "circle-doc-class": {"description": "%config.diagnostics.circle-doc-class%", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "discard-returns": {"description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-index": {"description": "Enable duplicate table index diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "not-yieldable": {"description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "undefined-doc-param": {"description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-field": {"description": "Enable diagnostics for cases in which an undefined field of a variable is read.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "codestyle-check": {"description": "Enable diagnostics for incorrectly styled lines.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "unused-label": {"description": "Enable unused label diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "cast-type-mismatch": {"description": "Enable diagnostics for casts where the target type does not match the initial type.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "missing-parameter": {"description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "global-in-nil-env": {"description": "Enable cannot use global variables ( `_ENV` is set to `nil`) diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "await-in-sync": {"description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "code-after-break": {"description": "Enable diagnostics for code placed after a break statement in a loop.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "redundant-value": {"description": "Enable the redundant values assigned diagnostics. It's raised during assignment operation, when the number of values is higher than the number of objects being assigned.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "count-down-loop": {"description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-doc-class": {"description": "Enable diagnostics for class annotations in which an undefined class is referenced.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-env-child": {"description": "Enable undefined environment variable diagnostics. It's raised when `_ENV` table is set to a new literal table, but the used global variable is no longer present in the global environment.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "trailing-space": {"description": "Enable trailing space diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\nEnd with `!` means override the group setting `diagnostics.groupFileStatus`.\n", "title": "neededFileStatus"}, "Lua.runtime.builtin": {"properties": {"table": {"description": "%config.runtime.builtin.table%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "table.new": {"description": "%config.runtime.builtin.table.new%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "basic": {"description": "%config.runtime.builtin.basic%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "utf8": {"description": "%config.runtime.builtin.utf8%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "bit32": {"description": "%config.runtime.builtin.bit32%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "builtin": {"description": "%config.runtime.builtin.builtin%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "coroutine": {"description": "%config.runtime.builtin.coroutine%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "string": {"description": "%config.runtime.builtin.string%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "io": {"description": "%config.runtime.builtin.io%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "ffi": {"description": "%config.runtime.builtin.ffi%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "jit": {"description": "%config.runtime.builtin.jit%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "table.clear": {"description": "%config.runtime.builtin.table.clear%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "bit": {"description": "%config.runtime.builtin.bit%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "math": {"description": "%config.runtime.builtin.math%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "debug": {"description": "%config.runtime.builtin.debug%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "package": {"description": "%config.runtime.builtin.package%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "string.buffer": {"description": "%config.runtime.builtin.string.buffer%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "os": {"description": "%config.runtime.builtin.os%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.\n\n* `default`: Indicates that the library will be enabled or disabled according to the runtime version\n* `enable`: always enable\n* `disable`: always disable\n", "title": "builtin"}, "Lua.diagnostics.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable diagnostics.", "default": true}, "Lua.diagnostics": {"properties": {"workspaceRate": {"$ref": "#/properties/Lua.diagnostics.workspaceRate"}, "groupSeverity": {"$ref": "#/properties/Lua.diagnostics.groupSeverity"}, "ignoredFiles": {"$ref": "#/properties/Lua.diagnostics.ignoredFiles"}, "disable": {"$ref": "#/properties/Lua.diagnostics.disable"}, "neededFileStatus": {"$ref": "#/properties/Lua.diagnostics.neededFileStatus"}, "groupFileStatus": {"$ref": "#/properties/Lua.diagnostics.groupFileStatus"}, "libraryFiles": {"$ref": "#/properties/Lua.diagnostics.libraryFiles"}, "unusedLocalExclude": {"$ref": "#/properties/Lua.diagnostics.unusedLocalExclude"}, "disableScheme": {"$ref": "#/properties/Lua.diagnostics.disableScheme"}, "enable": {"$ref": "#/properties/Lua.diagnostics.enable"}, "globals": {"$ref": "#/properties/Lua.diagnostics.globals"}, "workspaceDelay": {"$ref": "#/properties/Lua.diagnostics.workspaceDelay"}, "severity": {"$ref": "#/properties/Lua.diagnostics.severity"}}}, "Lua.signatureHelp": {"properties": {"enable": {"$ref": "#/properties/Lua.signatureHelp.enable"}}}, "Lua.runtime.pathStrict": {"scope": "resource", "type": "boolean", "markdownDescription": "When enabled, `runtime.path` will only search the first level of directories, see the description of `runtime.path`.", "default": false}, "Lua.diagnostics.globals": {"scope": "resource", "type": "array", "markdownDescription": "Defined global variables.", "default": [], "items": {"type": "string"}}, "Lua.completion.keywordSnippet": {"enum": ["Disable", "Both", "Replace"], "scope": "resource", "type": "string", "markdownDescription": "Shows keyword syntax snippets.", "default": "Replace", "markdownEnumDescriptions": ["Only shows `keyword`.", "Shows `keyword` and `syntax snippet`.", "Only shows `syntax snippet`."]}, "Lua.hint.paramType": {"scope": "resource", "type": "boolean", "markdownDescription": "Show type hints at the parameter of the function.", "default": true}, "Lua.workspace.ignoreSubmodules": {"scope": "resource", "type": "boolean", "markdownDescription": "Ignore submodules.", "default": true}, "Lua.semantic.keyword": {"scope": "resource", "type": "boolean", "markdownDescription": "Semantic coloring of keywords/literals/operators. You only need to enable this feature if your editor cannot do syntax coloring.", "default": false}, "Lua.spell.dict": {"scope": "resource", "type": "array", "markdownDescription": "Custom words for spell checking.", "default": [], "items": {"type": "string"}}, "Lua.completion.workspaceWord": {"scope": "resource", "type": "boolean", "markdownDescription": "Whether the displayed context word contains the content of other files in the workspace.", "default": true}, "Lua.runtime.meta": {"scope": "resource", "type": "string", "markdownDescription": "Format of the directory name of the meta files.", "default": "${version} ${language} ${encoding}"}, "Lua.type.weakUnionCheck": {"scope": "resource", "type": "boolean", "markdownDescription": "Once one subtype of a union type meets the condition, the union type also meets the condition.\n\nWhen this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.\n", "default": false}}, "description": "Setting of sumneko.lua", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file +{"properties": {"Lua.hint.await": {"scope": "resource", "type": "boolean", "markdownDescription": "If the called function is marked `---@async`, prompt `await` at the call.", "default": true}, "Lua.completion.postfix": {"scope": "resource", "type": "string", "markdownDescription": "The symbol used to trigger the postfix suggestion.", "default": "@"}, "Lua.workspace.maxPreload": {"scope": "resource", "type": "integer", "markdownDescription": "Max preloaded files.", "default": 5000}, "Lua.hint.setType": {"scope": "resource", "type": "boolean", "markdownDescription": "Show hints of type at assignment operation.", "default": false}, "Lua.semantic.annotation": {"scope": "resource", "type": "boolean", "markdownDescription": "Semantic coloring of type annotations.", "default": true}, "Lua.diagnostics.ignoredFiles": {"enum": ["Enable", "Opened", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "How to diagnose ignored files.", "default": "Opened", "markdownEnumDescriptions": ["Always diagnose these files.", "Only when these files are opened will it be diagnosed.", "These files are not diagnosed."]}, "Lua.runtime.version": {"enum": ["Lua 5.1", "Lua 5.2", "Lua 5.3", "Lua 5.4", "LuaJIT"], "scope": "resource", "type": "string", "markdownDescription": "Lua runtime version.", "default": "Lua 5.4", "markdownEnumDescriptions": ["%config.runtime.version.Lua 5.1%", "%config.runtime.version.Lua 5.2%", "%config.runtime.version.Lua 5.3%", "%config.runtime.version.Lua 5.4%", "%config.runtime.version.LuaJIT%"]}, "Lua.format.defaultConfig": {"patternProperties": {".*": {"type": "string", "default": ""}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.\nRead [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.\n", "default": {}, "title": "defaultConfig"}, "Lua.runtime.plugin": {"scope": "resource", "type": "string", "markdownDescription": "Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more.", "default": ""}, "Lua.runtime.meta": {"scope": "resource", "type": "string", "markdownDescription": "Format of the directory name of the meta files.", "default": "${version} ${language} ${encoding}"}, "Lua.telemetry.enable": {"tags": ["telemetry"], "scope": "resource", "type": ["boolean", "null"], "markdownDescription": "Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy).\n", "default": null}, "Lua.completion.autoRequire": {"scope": "resource", "type": "boolean", "markdownDescription": "When the input looks like a file name, automatically `require` this file.", "default": true}, "Lua.completion.showParams": {"scope": "resource", "type": "boolean", "markdownDescription": "Display parameters in completion list. When the function has multiple definitions, they will be displayed separately.", "default": true}, "Lua.hover.viewString": {"scope": "resource", "type": "boolean", "markdownDescription": "Hover to view the contents of a string (only if the literal contains an escape character).", "default": true}, "Lua.typeFormat.config": {"properties": {"format_line": {"description": "%config.typeFormat.config.format_line%", "type": "string", "default": "true"}, "auto_complete_end": {"description": "%config.typeFormat.config.auto_complete_end%", "type": "string", "default": "true"}, "auto_complete_table_sep": {"description": "%config.typeFormat.config.auto_complete_table_sep%", "type": "string", "default": "true"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "%config.typeFormat.config%", "title": "config"}, "Lua.hover.viewNumber": {"scope": "resource", "type": "boolean", "markdownDescription": "Hover to view numeric content (only if literal is not decimal).", "default": true}, "Lua.workspace.preloadFileSize": {"scope": "resource", "type": "integer", "markdownDescription": "Skip files larger than this value (KB) when preloading.", "default": 500}, "Lua.diagnostics.disableScheme": {"scope": "resource", "type": "array", "markdownDescription": "Do not diagnose Lua files that use the following scheme.", "default": ["git"], "items": {"type": "string"}}, "Lua.workspace.supportScheme": {"scope": "resource", "type": "array", "markdownDescription": "Provide language server for the Lua files of the following scheme.", "default": ["file", "untitled", "git"], "items": {"type": "string"}}, "Lua.format.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable code formatter.", "default": true}, "Lua.hint.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable inlay hint.", "default": false}, "Lua.hover.viewStringMax": {"scope": "resource", "type": "integer", "markdownDescription": "The maximum length of a hover to view the contents of a string.", "default": 1000}, "Lua.hover.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable hover.", "default": true}, "Lua.diagnostics.unusedLocalExclude": {"scope": "resource", "type": "array", "markdownDescription": "Do not diagnose `unused-local` when the variable name matches the following pattern.", "default": [], "items": {"type": "string"}}, "Lua.hover.enumsLimit": {"scope": "resource", "type": "integer", "markdownDescription": "When the value corresponds to multiple types, limit the number of types displaying.", "default": 5}, "Lua.runtime.pluginArgs": {"scope": "resource", "type": "array", "markdownDescription": "Additional arguments for the plugin.", "default": [], "items": {"type": "string"}}, "Lua.completion.displayContext": {"scope": "resource", "type": "integer", "markdownDescription": "Previewing the relevant code snippet of the suggestion may help you understand the usage of the suggestion. The number set indicates the number of intercepted lines in the code fragment. If it is set to `0`, this feature can be disabled.", "default": 0}, "Lua.runtime.nonstandardSymbol": {"scope": "resource", "type": "array", "markdownDescription": "Supports non-standard symbols. Make sure that your runtime environment supports these symbols.", "default": [], "items": {"enum": ["//", "/**/", "`", "+=", "-=", "*=", "/=", "%=", "^=", "//=", "|=", "&=", "<<=", ">>=", "||", "&&", "!", "!=", "continue"], "type": "string"}}, "Lua.completion.requireSeparator": {"scope": "resource", "type": "string", "markdownDescription": "The separator used when `require`.", "default": "."}, "Lua.hint.paramName": {"enum": ["All", "Literal", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "Show hints of parameter name at the function call.", "default": "All", "markdownEnumDescriptions": ["All types of parameters are shown.", "Only literal type parameters are shown.", "Disable parameter hints."]}, "Lua.completion.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable completion.", "default": true}, "Lua.workspace.checkThirdParty": {"scope": "resource", "type": "boolean", "markdownDescription": "Automatic detection and adaptation of third-party libraries, currently supported libraries are:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", "default": true}, "Lua.hint.semicolon": {"enum": ["All", "SameLine", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "If there is no semicolon at the end of the statement, display a virtual semicolon.", "default": "SameLine", "markdownEnumDescriptions": ["All statements display virtual semicolons.", "When two statements are on the same line, display a semicolon between them.", "Disable virtual semicolons."]}, "Lua.diagnostics.groupSeverity": {"properties": {"unused": {"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "strong": {"description": "* no-unknown", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "duplicate": {"description": "* duplicate-index\n* duplicate-set-field", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "redefined": {"description": "* redefined-local", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "await": {"description": "* await-in-sync\n* not-yieldable", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "strict": {"description": "* close-non-object\n* deprecated\n* discard-returns", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "ambiguity": {"description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "luadoc": {"description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "unbalanced": {"description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "codestyle": {"description": "* codestyle-check\n* spell-check", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "type-check": {"description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}, "global": {"description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global", "enum": ["Error", "Warning", "Information", "Hint", "Fallback"], "type": "string", "default": "Fallback"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Modify the diagnostic severity in a group.\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately.\nOther settings will override individual settings without end of `!`.\n", "title": "groupSeverity"}, "Lua.diagnostics.workspaceDelay": {"scope": "resource", "type": "integer", "markdownDescription": "Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics.", "default": 3000}, "Lua.type.weakNilCheck": {"scope": "resource", "type": "boolean", "markdownDescription": "When checking the type of union type, ignore the `nil` in it.\n\nWhen this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.\n", "default": false}, "Lua.misc.parameters": {"scope": "resource", "type": "array", "markdownDescription": "[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.", "default": [], "items": {"type": "string"}}, "Lua.runtime.special": {"patternProperties": {".*": {"enum": ["_G", "rawset", "rawget", "setmetatable", "require", "dofile", "loadfile", "pcall", "xpcall", "assert", "error", "type"], "type": "string", "default": "require"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support\nThe following example shows that 'include' is treated as' require '.\n```json\n\"Lua.runtime.special\" : {\n \"include\" : \"require\"\n}\n```\n", "default": {}, "title": "special"}, "Lua.workspace.userThirdParty": {"scope": "resource", "type": "array", "markdownDescription": "Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)", "default": [], "items": {"type": "string"}}, "Lua.hint.arrayIndex": {"enum": ["Enable", "Auto", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "Show hints of array index when constructing a table.", "default": "Auto", "markdownEnumDescriptions": ["Show hints in all tables.", "Show hints only when the table is greater than 3 items, or the table is a mixed table.", "Disable hints of array index."]}, "Lua.diagnostics.groupFileStatus": {"properties": {"unused": {"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "strong": {"description": "* no-unknown", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "duplicate": {"description": "* duplicate-index\n* duplicate-set-field", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "redefined": {"description": "* redefined-local", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "await": {"description": "* await-in-sync\n* not-yieldable", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "strict": {"description": "* close-non-object\n* deprecated\n* discard-returns", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "ambiguity": {"description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "luadoc": {"description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "unbalanced": {"description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "codestyle": {"description": "* codestyle-check\n* spell-check", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "type-check": {"description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}, "global": {"description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global", "enum": ["Any", "Opened", "None", "Fallback"], "type": "string", "default": "Fallback"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Modify the diagnostic needed file status in a group.\n\n* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately.\nOther settings will override individual settings without end of `!`.\n", "title": "groupFileStatus"}, "Lua.runtime.path": {"scope": "resource", "type": "array", "markdownDescription": "When using `require`, how to find the file based on the input name.\nSetting this config to `?/init.lua` means that when you enter `require 'myfile'`, `${workspace}/myfile/init.lua` will be searched from the loaded files.\nif `runtime.pathStrict` is `false`, `${workspace}/**/myfile/init.lua` will also be searched.\nIf you want to load files outside the workspace, you need to set `Lua.workspace.library` first.\n", "default": ["?.lua", "?/init.lua"], "items": {"type": "string"}}, "Lua.workspace.library": {"scope": "resource", "type": "array", "markdownDescription": "In addition to the current workspace, which directories will load files from. The files in these directories will be treated as externally provided code libraries, and some features (such as renaming fields) will not modify these files.", "default": [], "items": {"type": "string"}}, "Lua.hover.expandAlias": {"scope": "resource", "type": "boolean", "markdownDescription": "Whether to expand the alias. For example, expands `---@alias myType boolean|number` appears as `boolean|number`, otherwise it appears as `myType'.\n", "default": true}, "Lua.diagnostics.severity": {"properties": {"unreachable-code": {"description": "Enable diagnostics for unreachable code.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "unknown-cast-variable": {"description": "Enable diagnostics for casts of undefined variables.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "return-type-mismatch": {"description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "param-type-mismatch": {"description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-local": {"description": "Enable unused local variable diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "different-requires": {"description": "Enable diagnostics for files which are required by two different paths.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "need-check-nil": {"description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "assign-type-mismatch": {"description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "spell-check": {"description": "Enable diagnostics for typos in strings.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Information"}, "redundant-parameter": {"description": "Enable redundant function parameter diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "lowercase-global": {"description": "Enable lowercase global variable definition diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Information"}, "missing-return": {"description": "Enable diagnostics for functions with return annotations which have no return statement.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "newline-call": {"description": "Enable newline call diagnostics. Is's raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unknown-operator": {"description": "Enable diagnostics for unknown operators.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "close-non-object": {"description": "Enable diagnostics for attempts to close a variable with a non-object.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "no-unknown": {"description": "Enable diagnostics for cases in which the type cannot be inferred.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-function": {"description": "Enable unused function diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "undefined-global": {"description": "Enable undefined global variable diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "missing-return-value": {"description": "Enable diagnostics for return statements without values although the containing function declares returns.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unbalanced-assignments": {"description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-doc-field": {"description": "Enable diagnostics for a duplicated field annotation name.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "cast-local-type": {"description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "doc-field-no-class": {"description": "Enable diagnostics to highlight a field annotation without a defining class annotation.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-set-field": {"description": "Enable diagnostics for setting the same field in a class more than once.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unknown-diag-code": {"description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "redundant-return-value": {"description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-doc-name": {"description": "Enable diagnostics for type annotations referencing an undefined type or alias.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "empty-block": {"description": "Enable empty code block diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "deprecated": {"description": "Enable diagnostics to highlight deprecated API.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-vararg": {"description": "Enable unused vararg diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "redefined-local": {"description": "Enable redefined local variable diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "duplicate-doc-param": {"description": "Enable diagnostics for a duplicated param annotation name.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-doc-alias": {"description": "Enable diagnostics for a duplicated alias annotation name.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "newfield-call": {"description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "redundant-return": {"description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "ambiguity-1": {"description": "Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "circle-doc-class": {"description": "%config.diagnostics.circle-doc-class%", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "discard-returns": {"description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "duplicate-index": {"description": "Enable duplicate table index diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "not-yieldable": {"description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-doc-param": {"description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-field": {"description": "Enable diagnostics for cases in which an undefined field of a variable is read.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "codestyle-check": {"description": "Enable diagnostics for incorrectly styled lines.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "unused-label": {"description": "Enable unused label diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "cast-type-mismatch": {"description": "Enable diagnostics for casts where the target type does not match the initial type.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "missing-parameter": {"description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "global-in-nil-env": {"description": "Enable cannot use global variables ( `_ENV` is set to `nil`) diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "await-in-sync": {"description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "code-after-break": {"description": "Enable diagnostics for code placed after a break statement in a loop.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}, "redundant-value": {"description": "Enable the redundant values assigned diagnostics. It's raised during assignment operation, when the number of values is higher than the number of objects being assigned.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "count-down-loop": {"description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-doc-class": {"description": "Enable diagnostics for class annotations in which an undefined class is referenced.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Warning"}, "undefined-env-child": {"description": "Enable undefined environment variable diagnostics. It's raised when `_ENV` table is set to a new literal table, but the used global variable is no longer present in the global environment.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Information"}, "trailing-space": {"description": "Enable trailing space diagnostics.", "enum": ["Error", "Warning", "Information", "Hint", "Error!", "Warning!", "Information!", "Hint!"], "type": "string", "default": "Hint"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Modify the diagnostic severity.\n\nEnd with `!` means override the group setting `diagnostics.groupSeverity`.\n", "title": "severity"}, "Lua.diagnostics.libraryFiles": {"enum": ["Enable", "Opened", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "How to diagnose files loaded via `Lua.workspace.library`.", "default": "Opened", "markdownEnumDescriptions": ["Always diagnose these files.", "Only when these files are opened will it be diagnosed.", "These files are not diagnosed."]}, "Lua.window.statusBar": {"scope": "resource", "type": "boolean", "markdownDescription": "Show extension status in status bar.", "default": true}, "Lua.signatureHelp.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable signature help.", "default": true}, "Lua.type.castNumberToInteger": {"scope": "resource", "type": "boolean", "markdownDescription": "Allowed to assign the `number` type to the `integer` type.", "default": true}, "Lua.runtime.fileEncoding": {"enum": ["utf8", "ansi", "utf16le", "utf16be"], "scope": "resource", "type": "string", "markdownDescription": "File encoding. The `ansi` option is only available under the `Windows` platform.", "default": "utf8", "markdownEnumDescriptions": ["%config.runtime.fileEncoding.utf8%", "%config.runtime.fileEncoding.ansi%", "%config.runtime.fileEncoding.utf16le%", "%config.runtime.fileEncoding.utf16be%"]}, "Lua.workspace.ignoreDir": {"scope": "resource", "type": "array", "markdownDescription": "Ignored files and directories (Use `.gitignore` grammar).", "default": [".vscode"], "items": {"type": "string"}}, "Lua.diagnostics.workspaceRate": {"scope": "resource", "type": "integer", "markdownDescription": "Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting.", "default": 100}, "Lua.semantic.variable": {"scope": "resource", "type": "boolean", "markdownDescription": "Semantic coloring of variables/fields/parameters.", "default": true}, "Lua.diagnostics.disable": {"scope": "resource", "type": "array", "markdownDescription": "Disabled diagnostic (Use code in hover brackets).", "default": [], "items": {"enum": ["action-after-return", "ambiguity-1", "ambiguous-syntax", "args-after-dots", "assign-type-mismatch", "await-in-sync", "block-after-else", "break-outside", "cast-local-type", "cast-type-mismatch", "circle-doc-class", "close-non-object", "code-after-break", "codestyle-check", "count-down-loop", "deprecated", "different-requires", "discard-returns", "doc-field-no-class", "duplicate-doc-alias", "duplicate-doc-field", "duplicate-doc-param", "duplicate-index", "duplicate-set-field", "empty-block", "err-assign-as-eq", "err-c-long-comment", "err-comment-prefix", "err-do-as-then", "err-eq-as-assign", "err-esc", "err-nonstandard-symbol", "err-then-as-do", "exp-in-action", "global-in-nil-env", "index-in-func-name", "jump-local-scope", "keyword", "local-limit", "lowercase-global", "lua-doc-miss-sign", "luadoc-error-diag-mode", "luadoc-miss-alias-extends", "luadoc-miss-alias-name", "luadoc-miss-arg-name", "luadoc-miss-cate-name", "luadoc-miss-class-extends-name", "luadoc-miss-class-name", "luadoc-miss-diag-mode", "luadoc-miss-diag-name", "luadoc-miss-field-extends", "luadoc-miss-field-name", "luadoc-miss-fun-after-overload", "luadoc-miss-generic-name", "luadoc-miss-local-name", "luadoc-miss-module-name", "luadoc-miss-operator-name", "luadoc-miss-param-extends", "luadoc-miss-param-name", "luadoc-miss-sign-name", "luadoc-miss-symbol", "luadoc-miss-type-name", "luadoc-miss-vararg-type", "luadoc-miss-version", "malformed-number", "miss-end", "miss-esc-x", "miss-exp", "miss-exponent", "miss-field", "miss-loop-max", "miss-loop-min", "miss-method", "miss-name", "miss-sep-in-table", "miss-space-between", "miss-symbol", "missing-parameter", "missing-return", "missing-return-value", "need-check-nil", "need-paren", "newfield-call", "newline-call", "no-unknown", "no-visible-label", "not-yieldable", "param-type-mismatch", "redefined-label", "redefined-local", "redundant-parameter", "redundant-return", "redundant-return-value", "redundant-value", "return-type-mismatch", "set-const", "spell-check", "trailing-space", "unbalanced-assignments", "undefined-doc-class", "undefined-doc-name", "undefined-doc-param", "undefined-env-child", "undefined-field", "undefined-global", "unexpect-dots", "unexpect-efunc-name", "unexpect-lfunc-name", "unexpect-symbol", "unicode-name", "unknown-attribute", "unknown-cast-variable", "unknown-diag-code", "unknown-operator", "unknown-symbol", "unreachable-code", "unsupport-symbol", "unused-function", "unused-label", "unused-local", "unused-vararg"], "type": "string"}}, "Lua.completion.callSnippet": {"enum": ["Disable", "Both", "Replace"], "scope": "resource", "type": "string", "markdownDescription": "Shows function call snippets.", "default": "Disable", "markdownEnumDescriptions": ["Only shows `function name`.", "Shows `function name` and `call snippet`.", "Only shows `call snippet.`"]}, "Lua.completion.showWord": {"enum": ["Enable", "Fallback", "Disable"], "scope": "resource", "type": "string", "markdownDescription": "Show contextual words in suggestions.", "default": "Fallback", "markdownEnumDescriptions": ["Always show context words in suggestions.", "Contextual words are only displayed when suggestions based on semantics cannot be provided.", "Do not display context words."]}, "Lua.semantic.keyword": {"scope": "resource", "type": "boolean", "markdownDescription": "Semantic coloring of keywords/literals/operators. You only need to enable this feature if your editor cannot do syntax coloring.", "default": false}, "Lua.workspace.useGitIgnore": {"scope": "resource", "type": "boolean", "markdownDescription": "Ignore files list in `.gitignore` .", "default": true}, "Lua.semantic.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect.", "default": true}, "Lua.window.progressBar": {"scope": "resource", "type": "boolean", "markdownDescription": "Show progress bar in status bar.", "default": true}, "Lua.runtime.unicodeName": {"scope": "resource", "type": "boolean", "markdownDescription": "Allows Unicode characters in name.", "default": false}, "Lua.diagnostics.neededFileStatus": {"properties": {"unreachable-code": {"description": "Enable diagnostics for unreachable code.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "unknown-cast-variable": {"description": "Enable diagnostics for casts of undefined variables.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "return-type-mismatch": {"description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "param-type-mismatch": {"description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "unused-local": {"description": "Enable unused local variable diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "different-requires": {"description": "Enable diagnostics for files which are required by two different paths.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "need-check-nil": {"description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "assign-type-mismatch": {"description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "spell-check": {"description": "Enable diagnostics for typos in strings.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "redundant-parameter": {"description": "Enable redundant function parameter diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "lowercase-global": {"description": "Enable lowercase global variable definition diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "missing-return": {"description": "Enable diagnostics for functions with return annotations which have no return statement.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "newline-call": {"description": "Enable newline call diagnostics. Is's raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unknown-operator": {"description": "Enable diagnostics for unknown operators.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "close-non-object": {"description": "Enable diagnostics for attempts to close a variable with a non-object.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "no-unknown": {"description": "Enable diagnostics for cases in which the type cannot be inferred.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "unused-function": {"description": "Enable unused function diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "undefined-global": {"description": "Enable undefined global variable diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "missing-return-value": {"description": "Enable diagnostics for return statements without values although the containing function declares returns.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unbalanced-assignments": {"description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-doc-field": {"description": "Enable diagnostics for a duplicated field annotation name.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "cast-local-type": {"description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "doc-field-no-class": {"description": "Enable diagnostics to highlight a field annotation without a defining class annotation.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-set-field": {"description": "Enable diagnostics for setting the same field in a class more than once.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unknown-diag-code": {"description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "redundant-return-value": {"description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-doc-name": {"description": "Enable diagnostics for type annotations referencing an undefined type or alias.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "empty-block": {"description": "Enable empty code block diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "deprecated": {"description": "Enable diagnostics to highlight deprecated API.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "unused-vararg": {"description": "Enable unused vararg diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "redefined-local": {"description": "Enable redefined local variable diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "duplicate-doc-param": {"description": "Enable diagnostics for a duplicated param annotation name.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-doc-alias": {"description": "Enable diagnostics for a duplicated alias annotation name.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "newfield-call": {"description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "redundant-return": {"description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "ambiguity-1": {"description": "Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "circle-doc-class": {"description": "%config.diagnostics.circle-doc-class%", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "discard-returns": {"description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "duplicate-index": {"description": "Enable duplicate table index diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "not-yieldable": {"description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "undefined-doc-param": {"description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-field": {"description": "Enable diagnostics for cases in which an undefined field of a variable is read.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "codestyle-check": {"description": "Enable diagnostics for incorrectly styled lines.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "unused-label": {"description": "Enable unused label diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "cast-type-mismatch": {"description": "Enable diagnostics for casts where the target type does not match the initial type.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "missing-parameter": {"description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "global-in-nil-env": {"description": "Enable cannot use global variables ( `_ENV` is set to `nil`) diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "await-in-sync": {"description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "None"}, "code-after-break": {"description": "Enable diagnostics for code placed after a break statement in a loop.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}, "redundant-value": {"description": "Enable the redundant values assigned diagnostics. It's raised during assignment operation, when the number of values is higher than the number of objects being assigned.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "count-down-loop": {"description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-doc-class": {"description": "Enable diagnostics for class annotations in which an undefined class is referenced.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "undefined-env-child": {"description": "Enable undefined environment variable diagnostics. It's raised when `_ENV` table is set to a new literal table, but the used global variable is no longer present in the global environment.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Any"}, "trailing-space": {"description": "Enable trailing space diagnostics.", "enum": ["Any", "Opened", "None", "Any!", "Opened!", "None!"], "type": "string", "default": "Opened"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\nEnd with `!` means override the group setting `diagnostics.groupFileStatus`.\n", "title": "neededFileStatus"}, "Lua.runtime.builtin": {"properties": {"table": {"description": "%config.runtime.builtin.table%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "table.new": {"description": "%config.runtime.builtin.table.new%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "basic": {"description": "%config.runtime.builtin.basic%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "utf8": {"description": "%config.runtime.builtin.utf8%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "bit32": {"description": "%config.runtime.builtin.bit32%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "builtin": {"description": "%config.runtime.builtin.builtin%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "coroutine": {"description": "%config.runtime.builtin.coroutine%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "string": {"description": "%config.runtime.builtin.string%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "io": {"description": "%config.runtime.builtin.io%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "ffi": {"description": "%config.runtime.builtin.ffi%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "jit": {"description": "%config.runtime.builtin.jit%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "table.clear": {"description": "%config.runtime.builtin.table.clear%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "bit": {"description": "%config.runtime.builtin.bit%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "math": {"description": "%config.runtime.builtin.math%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "debug": {"description": "%config.runtime.builtin.debug%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "package": {"description": "%config.runtime.builtin.package%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "string.buffer": {"description": "%config.runtime.builtin.string.buffer%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}, "os": {"description": "%config.runtime.builtin.os%", "enum": ["default", "enable", "disable"], "type": "string", "default": "default"}}, "scope": "resource", "additionalProperties": false, "type": "object", "markdownDescription": "Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.\n\n* `default`: Indicates that the library will be enabled or disabled according to the runtime version\n* `enable`: always enable\n* `disable`: always disable\n", "title": "builtin"}, "Lua.diagnostics.enable": {"scope": "resource", "type": "boolean", "markdownDescription": "Enable diagnostics.", "default": true}, "Lua.runtime.pathStrict": {"scope": "resource", "type": "boolean", "markdownDescription": "When enabled, `runtime.path` will only search the first level of directories, see the description of `runtime.path`.", "default": false}, "Lua.diagnostics.globals": {"scope": "resource", "type": "array", "markdownDescription": "Defined global variables.", "default": [], "items": {"type": "string"}}, "Lua.completion.keywordSnippet": {"enum": ["Disable", "Both", "Replace"], "scope": "resource", "type": "string", "markdownDescription": "Shows keyword syntax snippets.", "default": "Replace", "markdownEnumDescriptions": ["Only shows `keyword`.", "Shows `keyword` and `syntax snippet`.", "Only shows `syntax snippet`."]}, "Lua.hint.paramType": {"scope": "resource", "type": "boolean", "markdownDescription": "Show type hints at the parameter of the function.", "default": true}, "Lua.workspace.ignoreSubmodules": {"scope": "resource", "type": "boolean", "markdownDescription": "Ignore submodules.", "default": true}, "Lua.hover.previewFields": {"scope": "resource", "type": "integer", "markdownDescription": "When hovering to view a table, limits the maximum number of previews for fields.", "default": 50}, "Lua.spell.dict": {"scope": "resource", "type": "array", "markdownDescription": "Custom words for spell checking.", "default": [], "items": {"type": "string"}}, "Lua.completion.workspaceWord": {"scope": "resource", "type": "boolean", "markdownDescription": "Whether the displayed context word contains the content of other files in the workspace.", "default": true}, "Lua.type.weakUnionCheck": {"scope": "resource", "type": "boolean", "markdownDescription": "Once one subtype of a union type meets the condition, the union type also meets the condition.\n\nWhen this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.\n", "default": false}}, "description": "Lua Language Server coded by Lua", "$schema": "http://json-schema.org/draft-07/schema#"} \ No newline at end of file diff --git a/schemas/svelte.json b/schemas/svelte.json index a4decf7..8e001db 100644 --- a/schemas/svelte.json +++ b/schemas/svelte.json @@ -1 +1 @@ -{"properties": {"svelte.plugin.svelte.format.config.svelteAllowShorthand": {"description": "Option to enable/disable component attribute shorthand if attribute name and expression are the same. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file.", "type": "boolean", "default": true, "title": "Svelte Format: Allow Shorthand"}, "svelte.plugin.typescript.diagnostics.enable": {"description": "Enable diagnostic messages for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Diagnostics"}, "svelte.plugin.css.completions.emmet": {"description": "Enable emmet auto completions for CSS", "type": "boolean", "default": true, "title": "CSS: Include Emmet Completions"}, "svelte.plugin.svelte.format.config.svelteSortOrder": {"description": "Format: join the keys `options`, `scripts`, `markup`, `styles` with a - in the order you want. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file.", "type": "string", "default": "options-scripts-markup-styles", "title": "Svelte Format: Sort Order"}, "svelte.plugin.css.globals": {"description": "Which css files should be checked for global variables (`--global-var: value;`). These variables are added to the css completions. String of comma-separated file paths or globs relative to workspace root.", "type": "string", "default": "", "title": "CSS: Global Files"}, "svelte.plugin.css.enable": {"description": "Enable the CSS plugin", "type": "boolean", "default": true, "title": "CSS"}, "svelte.plugin.css.hover.enable": {"description": "Enable hover info for CSS", "type": "boolean", "default": true, "title": "CSS: Hover Info"}, "svelte.plugin.svelte.format.config.svelteBracketNewLine": {"description": "Put the `>` of a multiline element on a new line. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file.", "type": "boolean", "default": true, "title": "Svelte Format: Bracket New Line"}, "svelte.plugin.typescript.documentSymbols.enable": {"description": "Enable document symbols for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Symbols in Outline"}, "svelte.plugin.css.completions.enable": {"description": "Enable auto completions for CSS", "type": "boolean", "default": true, "title": "CSS: Auto Complete"}, "svelte.plugin.svelte.compilerWarnings": {"description": "Svelte compiler warning codes to ignore or to treat as errors. Example: { 'css-unused-selector': 'ignore', 'unused-export-let': 'error'}", "additionalProperties": {"enum": ["ignore", "error"], "type": "string"}, "type": "object", "default": {}, "title": "Svelte: Compiler Warnings Settings"}, "svelte.plugin.svelte.codeActions.enable": {"description": "Enable Code Actions for Svelte", "type": "boolean", "default": true, "title": "Svelte: Code Actions"}, "svelte.plugin.svelte.hover.enable": {"description": "Enable hover information for Svelte", "type": "boolean", "default": true, "title": "Svelte: Hover"}, "svelte.plugin.html.enable": {"description": "Enable the HTML plugin", "type": "boolean", "default": true, "title": "HTML"}, "svelte.plugin.css.documentColors.enable": {"description": "Enable document colors for CSS", "type": "boolean", "default": true, "title": "CSS: Document Colors"}, "svelte.language-server.ls-path": {"description": "- You normally don't set this - Path to the language server executable. If you installed the \"svelte-language-server\" npm package, it's within there at \"bin/server.js\". Path can be either relative to your workspace root or absolute. Set this only if you want to use a custom version of the language server. This will then also use the workspace version of TypeScript. This setting can only be changed in user settings for security reasons.", "scope": "application", "type": "string", "title": "Language Server Path"}, "svelte.plugin.typescript.codeActions.enable": {"description": "Enable code actions for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Code Actions"}, "svelte.plugin.css.documentSymbols.enable": {"description": "Enable document symbols for CSS", "type": "boolean", "default": true, "title": "CSS: Symbols in Outline"}, "svelte.plugin.typescript.signatureHelp.enable": {"description": "Enable signature help (parameter hints) for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Signature Help"}, "svelte.plugin.svelte.completions.enable": {"description": "Enable auto completions for Svelte", "type": "boolean", "default": true, "title": "Svelte: Completions"}, "svelte.plugin.typescript.hover.enable": {"description": "Enable hover info for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Hover Info"}, "svelte.plugin.html.hover.enable": {"description": "Enable hover info for HTML", "type": "boolean", "default": true, "title": "HTML: Hover Info"}, "svelte.plugin.svelte.format.config.printWidth": {"description": "Maximum line width after which code is tried to be broken up. This is a Prettier core option. If you have the Prettier extension installed, this option is ignored and the corresponding option of that extension is used instead. This option is also ignored if there's any kind of configuration file, for example a `.prettierrc` file.", "type": "number", "default": 80, "title": "Svelte Format: Print Width"}, "svelte.plugin.svelte.enable": {"description": "Enable the Svelte plugin", "type": "boolean", "default": true, "title": "Svelte"}, "svelte.plugin.html.documentSymbols.enable": {"description": "Enable document symbols for HTML", "type": "boolean", "default": true, "title": "HTML: Symbols in Outline"}, "svelte.plugin.svelte.format.enable": {"description": "Enable formatting for Svelte (includes css & js). You can set some formatting options through this extension. They will be ignored if there's any kind of configuration file, for example a `.prettierrc` file.", "type": "boolean", "default": true, "title": "Svelte: Format"}, "svelte.plugin.svelte.useNewTransformation": {"description": "Svelte files need to be transformed to something that TypeScript understands for intellisense. Version 2.0 of this transformation can be enabled with this setting. It will be the default, soon.", "type": "boolean", "default": false, "title": "Use a new transformation for intellisense"}, "svelte.plugin.html.completions.enable": {"description": "Enable auto completions for HTML", "type": "boolean", "default": true, "title": "HTML: Auto Complete"}, "svelte.plugin.typescript.enable": {"description": "Enable the TypeScript plugin", "type": "boolean", "default": true, "title": "TypeScript"}, "svelte.plugin.typescript.semanticTokens.enable": {"description": "Enable semantic tokens (semantic highlight) for TypeScript.", "type": "boolean", "default": true, "title": "TypeScript: Semantic Tokens"}, "svelte.enable-ts-plugin": {"description": "Enables a TypeScript plugin which provides intellisense for Svelte files inside TS/JS files.", "type": "boolean", "default": false, "title": "Enable TypeScript Svelte plugin"}, "svelte.language-server.port": {"description": "- You normally don't set this - At which port to spawn the language server. Can be used for attaching to the process for debugging / profiling. If you experience crashes due to \"port already in use\", try setting the port. -1 = default port is used.", "type": "number", "default": -1, "title": "Language Server Port"}, "svelte.trace.server": {"description": "Traces the communication between VS Code and the Svelte Language Server.", "enum": ["off", "messages", "verbose"], "type": "string", "default": "off"}, "svelte.plugin.svelte.format.config.svelteStrictMode": {"description": "More strict HTML syntax. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file.", "type": "boolean", "default": false, "title": "Svelte Format: Strict Mode"}, "svelte.plugin.html.completions.emmet": {"description": "Enable emmet auto completions for HTML", "type": "boolean", "default": true, "title": "HTML: Include Emmet Completions"}, "svelte.plugin.svelte.selectionRange.enable": {"description": "Enable selection range for Svelte", "type": "boolean", "default": true, "title": "Svelte: Selection Range"}, "svelte.plugin.svelte.diagnostics.enable": {"description": "Enable diagnostic messages for Svelte", "type": "boolean", "default": true, "title": "Svelte: Diagnostics"}, "svelte.plugin.typescript.selectionRange.enable": {"description": "Enable selection range for TypeScript", "type": "boolean", "default": true, "title": "TypeScript: Selection Range"}, "svelte.plugin.html.tagComplete.enable": {"description": "Enable HTML tag auto closing", "type": "boolean", "default": true, "title": "HTML: Tag Auto Closing"}, "svelte.plugin.svelte.format.config.svelteIndentScriptAndStyle": {"description": "Whether or not to indent code inside `