Benjamin Coenen
0a1585075c
Merge branch 'master' of github.com:rust-analyzer/rust-analyzer
2020-04-17 10:30:39 +02:00
bors[bot]
8d296be109
Merge #3995
...
3995: Separate project discovery from project loading r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-04-16 20:36:19 +00:00
Aleksey Kladov
422ae477ce
Unmix error handling when discovering workspaces
...
Hitting an io::Error is a legit problem. Finding more than one
Cargo.toml is not.
2020-04-16 22:35:50 +02:00
Aleksey Kladov
be2654b0ed
Decouple project loading from project discovery a bit
2020-04-16 22:02:10 +02:00
Benjamin Coenen
6ebc8bbeb0
feat: improve dot completions with scoring
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2020-04-16 18:30:08 +02:00
Edwin Cheng
177becea98
Add proc-macro cli command for rust-analyzer
2020-04-16 21:13:57 +08:00
Edwin Cheng
ca7dc69a8e
Add tests for proc_macro
2020-04-16 19:28:06 +08:00
Edwin Cheng
a4b0ce07f8
Add config for proc_macro
2020-04-16 19:28:06 +08:00
Edwin Cheng
22e33f308a
Add with-proc-macro in bench ,stats and diagnositcs
2020-04-16 19:27:44 +08:00
Josh Mcguigan
6be972770e
diagnostics cli, iterate over members
2020-04-14 16:26:03 -07:00
Benjamin Coenen
c5d18f570c
add sort_text to sort in editor view
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2020-04-14 19:28:33 +02: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
0aece75cdd
Remove dead code
2020-04-11 19:36:31 +02:00
Edwin Cheng
73e512215a
Fix non canonicallized path for crate file
2020-04-11 18:12:50 +08:00
Josh Mcguigan
8f7fceeb9c
fix cargo check config with custom command
2020-04-06 21:41:31 -07:00
Aleksey Kladov
bf569f8b29
Check for eprintln on CI
2020-04-06 17:00:18 +02:00
Aleksey Kladov
ec3fb1cdb4
Merge pull request #3853 from matklad/cf
...
Make control token modifier less ambiguous
2020-04-06 11:53:56 +02:00
Aleksey Kladov
48bc0ca745
Make control token modifier less ambiguous
...
In textmate, keyword.control is used for all kinds of things; in fact,
the default scope mapping for keyword is keyword.control!
So let's add a less ambiguous controlFlow modifier
See Microsoft/vscode#94367
2020-04-06 09:57:50 +02:00
veetaha
a1773f8a67
Remove explicit generic type parameter
2020-04-04 16:12:09 +03:00
veetaha
b5a7cb331f
Simplify config
2020-04-04 16:04:49 +03:00
veetaha
c0cf60dca2
Apply cargo xtask format
2020-04-02 21:12:28 +03:00
veetaha
6190caeeae
Migrate to privacy as per review commets
2020-04-02 21:09:03 +03:00
veetaha
b7d5172f69
Simpify workspace handling
2020-04-02 21:07:05 +03:00
veetaha
4b2bf9cf66
Don't clone where you can copy
2020-04-02 21:07:05 +03:00
Aleksey Kladov
8a788c764f
Allow fully overriding check and fmt commands
2020-04-02 14:35:51 +02:00
Aleksey Kladov
7a4ebd2c8d
Remove vscode_lldb setting
2020-04-02 12:56:14 +02:00
Aleksey Kladov
e21bf1b2b9
Siplify
2020-04-02 12:50:34 +02:00
Aleksey Kladov
48c58309cc
Lean onto default implementation of configs
2020-04-02 12:47:58 +02:00
Aleksey Kladov
e4cf40a152
New config in package.json
2020-04-02 12:27:09 +02:00
Aleksey Kladov
0dde0f92de
Reorder fields
2020-04-02 11:33:49 +02:00
Aleksey Kladov
309fc70155
Remove old syntax highlighting
2020-04-02 09:52:27 +02:00
Aleksey Kladov
1225f719fe
Fix pointer syntax
2020-04-01 19:27:45 +02:00
Aleksey Kladov
1ac345a9f6
Centralize defaults
2020-04-01 18:56:47 +02: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
Aleksey Kladov
1e012eb991
Move all config to config
2020-04-01 17:22:56 +02:00
Aleksey Kladov
797cd34c7c
Reduce feature flags
2020-04-01 17:00:37 +02:00
Aleksey Kladov
b9bf29019d
Move config to config.rs
2020-04-01 14:32:04 +02:00
Aleksey Kladov
6ac9668998
Generalize rustfmt config
2020-04-01 14:26:08 +02:00
Aleksey Kladov
f01846b8ee
Generalize Flycheckconfig
2020-04-01 13:14:38 +02:00
Aleksey Kladov
65c89c3a20
Cleanup
2020-04-01 12:34:12 +02:00
Aleksey Kladov
3990d971e5
Crisper name
...
https://www.flycheck.org/en/latest/
2020-04-01 11:09:19 +02:00
Aleksey Kladov
dda942debe
Pull enabled check up
2020-04-01 11:06:16 +02:00
Aleksey Kladov
a4f9d966f0
Add integrated test for concat include env
2020-03-31 19:19:14 +02:00
Aleksey Kladov
70730d7655
Rename cargo_watch -> flycheck
2020-03-31 17:29:40 +02:00
Edwin Cheng
207903a1c3
Fix rebased
2020-03-31 22:29:27 +08:00
Edwin Cheng
503cbd3f4b
Implement ra_proc_macro client logic
2020-03-31 22:20:18 +08:00
Aleksey Kladov
569f47e427
Better names for config structs
2020-03-31 16:05:25 +02:00