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
Luca Casonato a44349dfdf
feat: denort binary (#9041)
This commit adds new binary target called "denort".

It is a "lite" version of "deno" binary that can only execute
code embedded inside the binary itself.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-08 03:08:51 +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: denort binary (#9041) 2021-01-08 03:08:51 +01: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.