1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
denoland-deno/cli/lsp
Bartek Iwańczuk bb88418221
refactor(cli): remove 'js' module, simplify compiler snapshot (#9020)
This commit removes "js" module from "cli".

It contained stuff related to TypeScript compiler (snapshot,
declaration files) and thus it was moved to "tsc" module.
2021-01-06 02:38:23 +01:00
..
analysis.rs fix(lsp): provide diagnostics for unresolved modules (#8872) 2020-12-24 21:53:03 +11:00
capabilities.rs feat(lsp): Implement textDocument/rename (#8910) 2020-12-30 11:58:20 +11:00
config.rs fix(lsp): Respect client capabilities for config and dynamic registration (#8865) 2021-01-05 08:52:20 +11:00
diagnostics.rs feat(lsp): support specifying a tsconfig file (#8926) 2020-12-31 14:33:44 +11:00
language_server.rs fix(lsp): Respect client capabilities for config and dynamic registration (#8865) 2021-01-05 08:52:20 +11:00
memory_cache.rs refactor: rewrite lsp to be async (#8727) 2020-12-21 08:44:26 -05:00
mod.rs refactor: rewrite lsp to be async (#8727) 2020-12-21 08:44:26 -05:00
README.md refactor: rewrite lsp to be async (#8727) 2020-12-21 08:44:26 -05:00
sources.rs feat(lsp): add cache command (#8911) 2020-12-30 15:17:17 +11:00
text.rs refactor: rewrite lsp to be async (#8727) 2020-12-21 08:44:26 -05:00
tsc.rs refactor(cli): remove 'js' module, simplify compiler snapshot (#9020) 2021-01-06 02:38:23 +01:00
utils.rs refactor: rewrite lsp to be async (#8727) 2020-12-21 08:44:26 -05:00

Deno Language Server

The Deno Language Server provides a server implementation of the Language Server Protocol which is specifically tailored to provide a Deno view of code. It is integrated into the command line and can be started via the lsp sub-command.

⚠️ The Language Server is highly experimental and far from feature complete. This document gives an overview of the structure of the language server.

Structure

When the language server is started, a LanguageServer instance is created which holds all of the state of the language server. It also defines all of the methods that the client calls via the Language Server RPC protocol.