Files
dotfiles/.local/share/nvim/mason/packages/deno/mason-schemas/lsp.json
T
2026-03-30 00:25:15 -04:00

1 line
10 KiB
JSON

{"type":"object","title":"Deno","properties":{"deno.maxTsServerMemory":{"type":"number","scope":"resource","markdownDescription":"Maximum amount of memory the TypeScript isolate can use. Defaults to 3072 (3GB).","default":3072},"deno.suggest.imports.autoDiscover":{"type":"boolean","scope":"resource","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.trace.server":{"default":"off","scope":"window","enum":["messages","off","verbose"],"markdownDescription":"Traces the communication between VS Code and the Deno Language Server."},"deno.suggest.imports.hosts":{"scope":"resource","type":"object","examples":{"https://deno.land":true},"default":{"https://deno.land":true},"markdownDescription":"Controls which hosts are enabled for import suggestions."},"deno.enable":{"scope":"resource","type":["boolean","null"],"examples":[true,false],"default":null,"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 omitted, your preference will be inferred as true if there is a `deno.json[c]` at your workspace root and false if not.\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.**"},"deno.testing.args":{"markdownDescription":"Arguments to use when running tests via the Test Explorer. Defaults to `[ \"--allow-all\" ]`.","type":"array","scope":"resource","default":["--allow-all","--no-check"],"items":{"type":"string"}},"deno.cacheOnSave":{"scope":"resource","type":"boolean","examples":[true,false],"default":true,"markdownDescription":"Controls if the extension should cache the active document's dependencies on save."},"deno.unsafelyIgnoreCertificateErrors":{"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.","type":"array","scope":"window","default":null,"items":{"type":"string"}},"deno.unstable":{"markdownDescription":"Controls which `--unstable-*` features tests will be run with when running them via the explorer.\n\n**Not recommended to be enabled globally.**","type":"array","scope":"resource","default":[],"items":{"type":"string"}},"deno.enablePaths":{"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.**","examples":[["./worker"]],"type":"array","scope":"resource","default":null,"items":{"type":"string"}},"deno.lint":{"scope":"resource","type":"boolean","examples":[true,false],"default":true,"markdownDescription":"Controls if linting information will be provided by the Deno Language Server.\n\n**Not recommended to be enabled globally.**"},"deno.path":{"scope":"window","type":"string","examples":["/usr/bin/deno","C:\\Program Files\\deno\\deno.exe"],"default":null,"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."},"deno.env":{"patternProperties":{".+":{"type":"string"}},"markdownDescription":"Additional environment variables to pass to Deno processes. Overrides the user's env and `deno.envFile`. These will be overridden by more specific settings such as `deno.future` for `DENO_FUTURE`, and invariables like `NO_COLOR=1`.","type":"object","examples":[{"HTTP_PROXY":"http://localhost:8080"}],"scope":"window","default":{}},"deno.organizeImports.enabled":{"scope":"resource","type":"boolean","examples":[true,false],"default":true,"markdownDescription":"Controls if the Deno language server contributes organize imports code actions. Disable to rely on VS Code's built-in TypeScript/JavaScript organize imports instead."},"deno.cache":{"type":"string","scope":"window","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.certificateStores":{"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.","type":"array","scope":"window","default":null,"items":{"type":"string"}},"deno.internalDebug":{"scope":"window","type":"boolean","examples":[true,false],"default":false,"markdownDescription":"Determines if the internal debugging information for the Deno language server will be logged to the _Deno Language Server_ console."},"deno.codeLens.references":{"scope":"resource","type":"boolean","examples":[true,false],"default":false,"markdownDescription":"Enables or disables the display of code lens information for references of items in the code."},"deno.codeLens.referencesAllFunctions":{"scope":"resource","type":"boolean","examples":[true,false],"default":false,"markdownDescription":"Enables or disables the display of code lens information for all functions in the code."},"deno.logFile":{"scope":"window","type":"boolean","examples":[true,false],"default":false,"markdownDescription":"Write logs to a file in a project-local directory."},"deno.codeLens.test":{"type":"boolean","scope":"resource","markdownDescription":"Enables or disables the display of code lenses that allow running of individual tests in the code.","default":false},"deno.defaultTaskCommand":{"scope":"resource","type":"string","default":"open","enum":["open","run"],"markdownDescription":"Controls the default action when clicking on a task in the _Deno Tasks sidebar_."},"deno.codeLens.testArgs":{"markdownDescription":"Additional arguments to use with the run test code lens. Defaults to `[ \"--allow-all\", \"--no-check\" ]`.","type":"array","scope":"resource","default":["--allow-all","--no-check"],"items":{"type":"string"}},"deno.config":{"scope":"resource","type":"string","examples":["./deno.jsonc","/path/to/deno.jsonc","C:\\path\\to\\deno.jsonc"],"default":null,"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.**"},"deno.documentPreloadLimit":{"scope":"resource","type":"number","examples":[0,100,1000],"default":1000,"markdownDescription":"Maximum number of file system entries to traverse when finding scripts to preload into TypeScript on startup. Set this to 0 to disable document preloading."},"deno.internalInspect":{"scope":"window","type":["boolean","string"],"examples":[true,false,"127.0.0.1:9222"],"default":false,"markdownDescription":"Enables the inspector server for the JS runtime used by the Deno Language Server to host its TS server. Optionally provide an address for the inspector listener e.g. \"127.0.0.1:9222\" (default)."},"deno.forcePushBasedDiagnostics":{"scope":"window","type":"boolean","examples":[true,false],"default":false,"markdownDescription":"Disables the server-capability for pull diagnostics to force push-based diagnostics."},"deno.envFile":{"scope":"window","type":"string","examples":[".env"],"default":null,"markdownDescription":"Env file containing additional environment variables to pass to Deno processes. Overrides the user's env. These will be overridden by `deno.env`, more specific settings such as `deno.future` for `DENO_FUTURE`, and invariables like `NO_COLOR=1`."},"deno.future":{"deprecationMessage":"Deno 2.0 has been released. This setting still affects 1.x.x installations, however.","examples":[true,false],"type":"boolean","scope":"window","markdownDescription":"Enable breaking features likely to be shipped in Deno 2.0.","default":false},"deno.symbols.document.enabled":{"scope":"resource","type":"boolean","examples":[true,false],"default":true,"markdownDescription":"Controls if the Deno language server provides document symbols. Disable to rely on VS Code's built-in providers instead."},"deno.tlsCertificate":{"type":"string","scope":"window","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.disablePaths":{"markdownDescription":"Disables the Deno Language Server for specific paths. This will leave the built in TypeScript/JavaScript language server enabled for those paths. Takes priority over `deno.enablePaths`.\n\n**Not recommended to be enabled in user settings.**","examples":[["./worker"]],"type":"array","scope":"resource","default":[],"items":{"type":"string"}},"deno.importMap":{"scope":"resource","type":"string","examples":["./import_map.json","/path/to/import_map.json","C:\\path\\to\\import_map.json"],"default":null,"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.**"},"deno.codeLens.implementations":{"scope":"resource","type":"boolean","examples":[true,false],"default":false,"markdownDescription":"Enables or disables the display of code lens information for implementations of items in the code."},"deno.symbols.workspace.enabled":{"scope":"resource","type":"boolean","examples":[true,false],"default":true,"markdownDescription":"Controls if the Deno language server provides workspace symbols. Disable to rely on VS Code's built-in providers instead."}}}