diff --git a/.cargo/config b/.cargo/config index b9db30c969e..3fba0f71d98 100644 --- a/.cargo/config +++ b/.cargo/config @@ -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. diff --git a/README.md b/README.md index 8d4e3270497..74f281ccbd9 100644 --- a/README.md +++ b/README.md @@ -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 ```