Aleksey Kladov
f01846b8ee
Generalize Flycheckconfig
2020-04-01 13:14:38 +02:00
bors[bot]
aad0e63d74
Merge #3779
...
3779: Complete only missing fields in pats r=matklad a=SomeoneToIgnore
A follow-up for https://github.com/rust-analyzer/rust-analyzer/pull/3694
Same name vs string [issue](https://github.com/rust-analyzer/rust-analyzer/pull/3694#discussion_r396986819 ) persists here, now I'm able to obtain `ast::Name`, but I see no way to convert it into `hir::Name` or vice versa.
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2020-04-01 10:41:46 +00:00
bors[bot]
ab284f30ce
Merge #3803
...
3803: Cleanup r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-04-01 10:34:36 +00:00
Aleksey Kladov
65c89c3a20
Cleanup
2020-04-01 12:34:12 +02:00
Laurențiu Nicola
70960df437
Don't show chaining hints for record literals and unit structs
2020-04-01 13:14:41 +03:00
Kirill Bulatov
1335608dae
Unite record completion logic into a single module
2020-04-01 13:03:56 +03:00
bors[bot]
e3a1f1c001
Merge #3765
...
3765: Adds sort for RecordLit comparison in SSR r=edwin0cheng a=mikhail-m1
an item from #3186
Co-authored-by: Mikhail Modin <mikhailm1@gmail.com>
2020-04-01 10:01:16 +00:00
Kirill Bulatov
d35b943520
Split draft
2020-04-01 12:49:31 +03:00
Kirill Bulatov
bc71631e75
Complete only missing fields in pats
2020-04-01 12:49:31 +03:00
bors[bot]
8cce752bcb
Merge #3802
...
3802: Crisper name r=matklad a=matklad
https://www.flycheck.org/en/latest/
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-04-01 09:17:09 +00:00
Aleksey Kladov
b5306ea706
Simplify
2020-04-01 11:16:43 +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
Mikhail Modin
47e8f3c93b
Adds sort for RecordLit comparison in SSR
2020-04-01 09:39:33 +01:00
bors[bot]
fae6cecf54
Merge #3799
...
3799: Streamline flycheck implementation r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-04-01 08:21:17 +00:00
Aleksey Kladov
c86d8d40c2
Streamline flycheck implementation
2020-04-01 09:42:23 +02:00
Aleksey Kladov
b46fd38632
sort imports
2020-04-01 00:16:16 +02:00
bors[bot]
f77fc158fc
Merge #3780 #3787
...
3780: Simplify r=matklad a=Veetaha
I absolutely love tha fact that removing `.clone()` simplifies the code comparing to other languages where it's actually the contrary (ahem ~~`std::move()`~~)
3787: vscode: add syntax tree inspection hovers and highlights r=matklad a=Veetaha
![inspect-tree](https://user-images.githubusercontent.com/36276403/78029767-c7426900-7369-11ea-9ed6-b8a0f8e05bac.gif )
I implemented the reverse mapping (when you hover in the rust editor), but it seems overcomplicated, so I removed it
Related #3682
Co-authored-by: veetaha <veetaha2@gmail.com>
Co-authored-by: Veetaha <veetaha2@gmail.com>
2020-03-31 17:40:03 +00:00
bors[bot]
f9f0a96b7f
Merge #3795
...
3795: Reduce deps r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-31 17:30:18 +00:00
Aleksey Kladov
8d27829781
Reduce deps
2020-03-31 19:29:11 +02:00
veetaha
90cc8cc528
vscode: small refactor
2020-03-31 20:29:07 +03:00
veetaha
f3612b7024
vscode: scroll to the syntax node in rust editor when highlighting
2020-03-31 20:28:10 +03:00
bors[bot]
37a01de42c
Merge #3793
...
3793: Add integrated test for concat include env r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-31 17:19:37 +00:00
Aleksey Kladov
a4f9d966f0
Add integrated test for concat include env
2020-03-31 19:19:14 +02:00
Veetaha
3b09768ebc
vscode: apply review nits
2020-03-31 19:06:07 +03:00
veetaha
611adc83da
Simplify
2020-03-31 19:00:23 +03:00
bors[bot]
47c9ee2355
Merge #3792
...
3792: Rename cargo_watch -> flycheck r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-31 15:30:23 +00:00
Aleksey Kladov
70730d7655
Rename cargo_watch -> flycheck
2020-03-31 17:29:40 +02:00
veetaha
e86bfc0995
vscode: add docs about syntax tree
2020-03-31 18:26:53 +03:00
bors[bot]
33a9b947a2
Merge #3791
...
3791: Revert accidental package.json changes r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-31 15:00:50 +00:00
Aleksey Kladov
6343ddd009
Revert accidental package.json changes
2020-03-31 17:00:15 +02:00
bors[bot]
7a546490ec
Merge #3738
...
3738: Implement ra_proc_macro client logic r=matklad a=edwin0cheng
This PR add the actual client logic for `ra_proc_macro` crate:
1. Define all necessary rpc serialization data structure, which include `ra_tt` related data and some task messages. Although adding `Serialize` and `Deserialize` trait to ra_tt directly seem to be much easier, we deliberately duplicate the `ra_tt` struct with `#[serde(with = "XXDef")]` for separation of code responsibility.
2. Define a simplified version of lsp base protocol for rpc, which basically copy from lsp-server code base.
3. Implement the actual `IO` for the client side progress spawning and message passing.
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-31 14:30:24 +00:00
Edwin Cheng
207903a1c3
Fix rebased
2020-03-31 22:29:27 +08:00
Edwin Cheng
3bc1670feb
Redirect stderr to null
2020-03-31 22:20:19 +08:00
Edwin Cheng
6ed030d4b6
Pipe error to stderr
2020-03-31 22:20:19 +08:00
Edwin Cheng
02b849a2a0
Refactor a bit
2020-03-31 22:20:19 +08:00
Edwin Cheng
f461dc48d1
Use a weak ptr to hold the send end of channel
2020-03-31 22:20:19 +08:00
Edwin Cheng
b929d05c74
Add drop for process
2020-03-31 22:20:19 +08:00
Edwin Cheng
e7d1549e13
Unwrap channel send()
2020-03-31 22:20:19 +08:00
Edwin Cheng
7f7a16675d
Use jod_thread
2020-03-31 22:20:19 +08:00
Edwin Cheng
39706a5786
Fix formatting
2020-03-31 22:20:19 +08:00
Edwin Cheng
0aacacd4a2
Simple cross-process message protocol
2020-03-31 22:20:18 +08:00
Edwin Cheng
7155d5df89
Remove unused struct
2020-03-31 22:20:18 +08:00
Edwin Cheng
55061b489f
Improve shutdown process
2020-03-31 22:20:18 +08:00
Edwin Cheng
1b8a26653f
Use matches in is_dylib
2020-03-31 22:20:18 +08:00
Edwin Cheng
3b97220926
Add back doc string for process
2020-03-31 22:20:18 +08:00
Edwin Cheng
fa621f80fa
Fix test
2020-03-31 22:20:18 +08:00
Edwin Cheng
503cbd3f4b
Implement ra_proc_macro client logic
2020-03-31 22:20:18 +08:00
bors[bot]
fa3c7742af
Merge #3790
...
3790: Better names for config structs r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-31 14:06:03 +00:00
Aleksey Kladov
569f47e427
Better names for config structs
2020-03-31 16:05:25 +02:00