rust-analyzer/crates/rust-analyzer
bors[bot] 5aa3a4c04f
Merge #4516
4516: LSP: Two stage initialization r=kjeremy a=kjeremy

Fills in server information.

Derives CodeAction capabilities from the client. If code action literals
are unsupported we fall back to the "simple support" which just sends back
commands (this is already supported in our config). The difference being
that we did not adjust our server capabilities so that if the client was
checking for `CodeActionProvider: "true"` in the response that would have failed.

Part of #144
Fixes #4130 (the specific case called out in that issue)

Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-05-22 13:12:57 +00:00
..
src Merge #4516 2020-05-22 13:12:57 +00:00
tests/heavy_tests Transition OnEnter to WorkspaceSnippetEdit 2020-05-21 15:08:03 +02:00
build.rs Remove unused placeholder 2020-02-21 18:33:45 +08:00
Cargo.toml Better structure 2020-05-15 01:58:39 +02:00