Aleksey Kladov
ed6304131a
Simplify
2020-08-26 13:20:46 +02:00
Aleksey Kladov
bb50614d88
Simplify help
2020-08-26 13:20:46 +02:00
Aleksey Kladov
a53c6f6fee
Allow redirecting logs to a specific file
...
There's a surprising lack of crates which are like env_logger, but
also allow writing to a file. Let's write our own then!
2020-08-26 13:20:46 +02:00
Aleksey Kladov
3a72afed8c
Improve logging
2020-08-25 11:43:21 +02:00
Aleksey Kladov
ae3abd6e57
Rename ra_ssr -> ssr
2020-08-13 17:02:44 +02:00
Pavan Kumar Sunkara
eac24d52e6
Rename ra_project_model -> project_model
2020-08-13 12:05:30 +02:00
Pavan Kumar Sunkara
349e6c62ad
Rename ra_proc_macro_srv -> proc_macro_srv
2020-08-13 03:18:19 +02:00
Aleksey Kladov
208b7bd7ba
Rename ra_prof -> profile
2020-08-12 16:35:29 +02:00
Laurențiu Nicola
562491b16b
Simplify argument parsing
2020-08-01 19:31:14 +03:00
Aleksey Kladov
cd9f863b01
Use CmdArgs pattern for bench & analysis stats
2020-07-30 22:38:24 +02:00
Aleksey Kladov
9ad41eb908
Setup global allocator in the correct crate
...
It worked before, but was roundabout
2020-07-22 13:42:53 +02:00
Aleksey Kladov
deed44a472
Remove support for jemalloc
...
We only used it for measuring memory usage, but now we can use glibc's
allocator for that just fine
2020-07-22 13:40:45 +02:00
Jonas Schievink
9086c8c663
Add --memory-usage to analysis-bench
2020-07-15 12:14:51 +02:00
Aleksey Kladov
17edf50e2c
Avoid accidently stumping over config values
2020-07-10 10:07:08 +02:00
Aleksey Kladov
7ae696ba76
Remove unwanted dependency
2020-07-08 18:26:31 +02:00
Aleksey Kladov
000d1db351
Fix bench to work with relative paths
2020-07-04 17:03:02 +02:00
David Lattimore
95f8310514
Structured search debugging
2020-07-01 16:50:45 +10:00
Jonas Schievink
4602c2eeaa
analysis-stats: allow parallel type inference
2020-06-30 17:00:17 +02:00
David Lattimore
ef49bbeec4
Fix some typos
2020-06-30 10:43:37 +10:00
David Lattimore
93a91ae9de
Add a simple SSR subcommand to the rust-analyzer command line binary
2020-06-29 13:34:45 +10:00
Aleksey Kladov
154cb8243b
Be more explicit about absolute paths at various places
2020-06-24 14:39:34 +02:00
Thiébaud Weksteen
44f28f65af
Accept relative paths in rust-project.json
...
If a relative path is found as part of Crate.root_module or Root.path,
interpret it as relative to the location of the rust-project.json file.
2020-06-15 13:11:53 +02:00
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