summaryrefslogtreecommitdiff
path: root/cli/lsp/README.md
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-08-19 13:19:12 +1000
committerGitHub <noreply@github.com>2021-08-19 13:19:12 +1000
commit0d83afd93973cf4051aa73a0a05a78b451763d33 (patch)
treeba97847619ed540356f06a6db811e5a8c039ae5c /cli/lsp/README.md
parentbf0bacbc0ec3bd7ef1c55ddc01ef44b2ce593d4a (diff)
fix(lsp): better handling of languageId (#11755)
Fixes #11521 Fixes #11742
Diffstat (limited to 'cli/lsp/README.md')
-rw-r--r--cli/lsp/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/cli/lsp/README.md b/cli/lsp/README.md
index 53e35e8cc..8b0135f25 100644
--- a/cli/lsp/README.md
+++ b/cli/lsp/README.md
@@ -22,6 +22,7 @@ There are several settings that the language server supports for a workspace:
- `deno.cache`
- `deno.config`
- `deno.importMap`
+- `deno.internalDebug`
- `deno.codeLens.implementations`
- `deno.codeLens.references`
- `deno.codeLens.referencesAllFunctions`
@@ -159,3 +160,21 @@ client:
suggestions: boolean;
}
```
+
+## Language IDs
+
+The language server supports diagnostics and formatting for the following
+[text document language IDs](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocumentItem):
+
+- `"javascript"`
+- `"javascriptreact"`
+- `"jsx"` _non standard, same as `javascriptreact`_
+- `"typescript"`
+- `"typescriptreact"`
+- `"tsx"` _non standard, same as `typescriptreact`_
+
+The language server supports only formatting for the following language IDs:
+
+- `"json"`
+- `"jsonc"`
+- `"markdown"`