Add install-lsp subcommand
This commit is contained in:
parent
0b942cbcb0
commit
7bd38fb927
2 changed files with 5 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
|||
[alias]
|
||||
# Automatically generates the ast and syntax kinds files
|
||||
gen-syntax = "run --package tools --bin tools -- gen-syntax"
|
||||
# Extracts the tests from
|
||||
# Extracts the tests from
|
||||
gen-tests = "run --package tools --bin tools -- gen-tests"
|
||||
# Installs ra_lsp_server
|
||||
install-lsp = "install --path crates/ra_lsp_server --force"
|
||||
# Installs the visual studio code extension
|
||||
install-code = "run --package tools --bin tools -- install-code"
|
||||
# Formats the full repository or installs the git hook to do it automatically.
|
||||
|
|
|
@ -29,6 +29,8 @@ $ cargo run --package ra_cli parse < crates/ra_syntax/src/lib.rs
|
|||
$ cargo run --package ra_cli symbols < crates/ra_syntax/src/lib.rs
|
||||
|
||||
# install the language server
|
||||
$ cargo install-lsp
|
||||
or
|
||||
$ cargo install --path crates/ra_lsp_server
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue