mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Add basic Deno configuration docs (#17447)
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
2238439427
commit
629a412c2e
@ -4,8 +4,36 @@ Deno support is available through the [Deno extension](https://github.com/zed-in
|
||||
|
||||
- Language server: [Deno Language Server](https://docs.deno.com/runtime/manual/advanced/language_server/overview/)
|
||||
|
||||
## Deno Configuration
|
||||
|
||||
To use the Deno Language Server with TypeScript and TSX files, you will likely wish to to disable the default language servers and enable deno by adding the following to your settings.json:
|
||||
|
||||
```json
|
||||
{
|
||||
"languages": {
|
||||
"TypeScript": {
|
||||
"language_servers": [
|
||||
"deno",
|
||||
"!typescript-language-server",
|
||||
"!vtsls",
|
||||
"!eslint"
|
||||
]
|
||||
},
|
||||
"TSX": {
|
||||
"language_servers": [
|
||||
"deno",
|
||||
"!typescript-language-server",
|
||||
"!vtsls",
|
||||
"!eslint"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
See [Configuring supported languages](../configuring-languages.md) in the Zed documentation for more information.
|
||||
|
||||
<!--
|
||||
TBD: Document Deno configuration
|
||||
TBD: Deno Typescript REPL instructions [docs/repl#typescript-deno](../repl.md#typescript-deno)
|
||||
-->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user