1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-15 03:48:02 -05:00
denoland-deno/cli/lsp
2021-01-27 11:32:49 +11:00
..
analysis.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
capabilities.rs feat(lsp): Add textDocument/implementation (#9071) 2021-01-13 08:53:27 +11:00
config.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
diagnostics.rs fix(lsp): complete list of unused diagnostics (#9274) 2021-01-26 21:55:59 +11:00
documents.rs fix(lsp): handle mbc documents properly (#9151) 2021-01-22 21:03:16 +11:00
language_server.rs feat(lsp): add performance measurements (#9209) 2021-01-27 11:32:49 +11:00
mod.rs feat(lsp): add performance measurements (#9209) 2021-01-27 11:32:49 +11:00
performance.rs feat(lsp): add performance measurements (#9209) 2021-01-27 11:32:49 +11:00
README.md refactor: rewrite lsp to be async (#8727) 2020-12-21 08:44:26 -05:00
sources.rs fix(lsp): fix deadlocks, use one big mutex (#9271) 2021-01-26 10:55:04 +01:00
text.rs fix(lsp): handle mbc properly when formatting (#9273) 2021-01-27 07:50:13 +11:00
tsc.rs fix(lsp): fix deadlocks, use one big mutex (#9271) 2021-01-26 10:55:04 +01:00
utils.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01: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.