rust-analyzer/crates/ra_lsp_server
Michael Bolin e81a47b8eb Remove executeCommandProvider: apply_code_action.
This appears to have been introduced ages ago in
be742a5877
but has since been removed.

As it stands, it is problematic if multiple instances of the
rust-analyzer LSP are launched during the same VS Code session because
VS Code complains about multiple LSP servers trying to register the
same command.

Most LSP servers workaround this by parameterizing the command by the
process id. For example, this is where `rls` does this:

ff0b9057c8/rls/src/server/mod.rs (L413-L421)

Though `apply_code_action` does not seems to be used, so it seems better
to delete it than to parameterize it.
2019-07-10 22:49:35 -07:00
..
src Remove executeCommandProvider: apply_code_action. 2019-07-10 22:49:35 -07:00
tests/heavy_tests don't send LocationLink unless the client opts-in 2019-07-08 14:09:38 +03:00
Cargo.toml Remove unused dependencies 2019-07-09 00:28:00 +09:00