Aleksey Kladov
8baa4c5d07
Groundwork for specifying the set of projects via config
2020-06-03 12:22:01 +02:00
kjeremy
acc5e8d64b
Add version
2020-05-19 18:12:07 -04:00
kjeremy
6bf4fc27d9
LSP: Two stage initialization
...
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.
2020-05-19 11:56:51 -04:00
bors[bot]
de1fe23c1e
Merge #4403
...
4403: Check client capabilities before sending progress notifications r=kjeremy a=kjeremy
Fixes #4384
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
2020-05-11 17:25:34 +00:00
Jeremy Kolb
d4471dccfe
Check client capabilities before sending progress notifications
...
Fixes #4384
2020-05-11 13:16:46 -04:00
Aleksey Kladov
72e229fcb3
Use RA_LOG instead of RUST_LOG for logging
...
RUST_LOG might be set up for debugging the user's problem, slowing
down rust-analyzer considerably. That's the same reason why rustc uses
RUSTC_LOG.
2020-05-11 19:16:00 +02:00
Edwin Cheng
1627b55028
Bubble up error
2020-04-24 01:38:58 +08:00
Andrew Chin
165f5c6577
Don't panic on rust-analyzer --help
...
Special case handling for `-h` and `--help` if no subcommand is given.
Closes #4068
2020-04-21 20:23:01 -04:00
Aleksey Kladov
d9bed8aa45
Cleanup args a bit
2020-04-21 12:06:25 +02:00
veetaha
d3019164dc
ra_proc_macro: cleanups here and there
2020-04-20 21:37:02 +03:00
Edwin Cheng
177becea98
Add proc-macro cli command for rust-analyzer
2020-04-16 21:13:57 +08:00
Edwin Cheng
22e33f308a
Add with-proc-macro in bench ,stats and diagnositcs
2020-04-16 19:27:44 +08:00
Josh Mcguigan
f9701efbe7
cli diagnostics walk files
2020-04-14 04:35:34 -07:00
Josh Mcguigan
f62c73a972
add diagnostics subcommand to rust-analyzer CLI
2020-04-13 18:40:41 -07:00
Aleksey Kladov
4936abdd49
Reduce scope of deserialization
2020-04-01 18:51:16 +02:00
Aleksey Kladov
e870cbc23d
Centralize client capabilities
2020-04-01 18:46:26 +02:00
Aleksey Kladov
a97e5eb85d
Centralize all config
2020-04-01 18:41:43 +02:00
Emil Lauridsen
f84deffd72
Support loading OUT_DIR for CLI runs
2020-03-17 14:47:05 +01:00
Aleksey Kladov
17876d79e4
Fix options for analysis-bench
2020-03-05 13:58:11 +01:00
Kirill Bulatov
b8ddcb0652
Run cargo +nightly fix --clippy -Z unstable-options
2020-02-18 16:03:08 +02:00
Aleksey Kladov
865759925b
Rename folder
2020-02-18 12:37:45 +01:00