Skip to main content
On this page

deno lsp

Info

通常情况下,用户不会直接使用此子命令。deno lsp 可以为 IDE 提供跳转到定义的支持以及自动代码格式化。

启动 Deno 语言服务器。该语言服务器供编辑器使用,用于提供诸如 IntelliSense、代码格式化等功能。

用法 Jump to heading

>_
deno lsp

语言服务器通过 stdin/stdout 使用 语言服务器协议进行通信。 你通常不会直接运行它——你的编辑器会自动启动它。

编辑器设置 Jump to heading

有关将编辑器配置为使用 Deno 语言服务器的说明,请参见:

Command line usage:
deno lsp [OPTIONS]

The 'deno lsp' subcommand provides a way for code editors and IDEs to interact with Deno using the Language Server Protocol. Usually humans do not use this subcommand directly. For example, 'deno lsp' can provide IDEs with go-to-definition support and automatic code formatting.

How to connect various editors and IDEs to 'deno lsp': https://docs.deno.com/go/lsp

Last updated on

Did you find what you needed?

编辑此页面
Privacy policy