veetaha
f3612b7024
vscode: scroll to the syntax node in rust editor when highlighting
2020-03-31 20:28:10 +03:00
veetaha
e86bfc0995
vscode: add docs about syntax tree
2020-03-31 18:26:53 +03:00
veetaha
4fbca1c64d
vscode: use ctx.subscriptions instead of local .disposables
2020-03-31 16:57:03 +03:00
veetaha
09a760e52e
vscode: add syntax tree inspection hovers and highlights
2020-03-31 16:20:59 +03:00
bors[bot]
6f0d8db529
Merge #3775
...
3775: Fix typo r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-30 16:51:56 +00:00
Aleksey Kladov
beab6f34ce
Fix typo
2020-03-30 18:51:30 +02:00
bors[bot]
159393745e
Merge #3774
...
3774: Simplify SemanticTokensBuilder build method r=matklad a=kjeremy
This matches the next stable vscode api
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-03-30 16:38:53 +00:00
kjeremy
d4c317320d
Simplify SemanticTokensBuilder build method
...
This matches the next stable vscode api
2020-03-30 12:07:27 -04:00
bors[bot]
671926ac93
Merge #3666
...
3666: Reload part of the server configuration without restarts r=matklad a=SomeoneToIgnore
Partially addresses https://github.com/rust-analyzer/rust-analyzer/issues/2857
Closes #3751
Reloads all server configuration that's not related to VFS without restarts.
The VFS-related parameters are not considered, since VFS is planned to be rewritten/replaced in the future and I have a suspicion that with the current code, swapping the VFS and the file watchers on the fly will cause big troubles.
I have to store and process the config request id separately, since the `workspace/configuration` response returns `any[]` (https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_configuration ), if there's a better way to handle those responses, let me know.
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2020-03-30 12:45:49 +00:00
Kirill Bulatov
4c897d8d2d
Fix the endless progress bar issue
2020-03-30 14:38:01 +03:00
Kirill Bulatov
8e78371222
Rebase fixes
2020-03-30 13:39:14 +03:00
Kirill Bulatov
2a19459ee9
Avoid failing on incorrect settings response
2020-03-30 13:39:14 +03:00
Kirill Bulatov
fbef0127ba
Small style fix
2020-03-30 13:39:14 +03:00
Kirill Bulatov
b892a48740
Code review fixes
...
Co-Authored-By: Veetaha <veetaha2@gmail.com>
2020-03-30 13:39:14 +03:00
Kirill Bulatov
590af37bff
Small style fix
...
Co-Authored-By: Veetaha <veetaha2@gmail.com>
2020-03-30 13:39:14 +03:00
Kirill Bulatov
392eb74b5f
Remove an obsolete fixme
2020-03-30 13:39:14 +03:00
Kirill Bulatov
bbe59c7197
Reload watcher configuration
2020-03-30 13:39:14 +03:00
Kirill Bulatov
8a23bec2cd
Style fixes
2020-03-30 13:39:14 +03:00
Kirill Bulatov
332799d914
Reload only the properties that do not affect vfs
2020-03-30 13:39:14 +03:00
Kirill Bulatov
2feaef91bd
Read new config on the server side
2020-03-30 13:39:14 +03:00
Kirill Bulatov
a9dd442733
Send the config from the client
2020-03-30 13:39:14 +03:00
Kirill Bulatov
019f269a0a
Process configuration response draft
2020-03-30 13:39:14 +03:00
Kirill Bulatov
8c4aab0c80
Client side draft
2020-03-30 13:39:14 +03:00
bors[bot]
9e12b9e6fd
Merge #3771
...
3771: Use IntoIter r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-30 10:30:23 +00:00
Aleksey Kladov
0cfa9eb445
Use IntoIter
2020-03-30 12:28:22 +02:00
bors[bot]
d2ea3f25b5
Merge #3761
...
3761: Append new match arms rather than replacing all of them r=matklad a=mattyhall
This means we now retain comments when filling in match arms. This fixes #3687 . This is my first contribution so apologies if it needs a rethink! I think in particular the way I find the position to append to and remove_if_only_whitespace are a little hairy.
Co-authored-by: Matthew Hall <matthew@quickbeam.me.uk>
2020-03-30 10:19:02 +00:00
bors[bot]
3901198e87
Merge #3763
...
3763: Simplify r=matklad a=Veetaha
Co-authored-by: veetaha <veetaha2@gmail.com>
2020-03-30 09:57:40 +00:00
bors[bot]
78a2678b6d
Merge #3770
...
3770: Pull options outwards r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-30 09:48:50 +00:00
Aleksey Kladov
4c9272583c
Pull options outwards
2020-03-30 11:46:04 +02:00
bors[bot]
df8752bf3f
Merge #3754
...
3754: Use automatic thread joining for cargo-watch r=matklad a=matklad
r? @kiljacken
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-30 09:33:43 +00:00
Aleksey Kladov
12297ab675
Fix race in the tests
2020-03-30 11:33:01 +02:00
Aleksey Kladov
f7df0b56a7
Use automatic thread joining for cargo-watch
2020-03-30 11:33:01 +02:00
Aleksey Kladov
8bea5ace7e
⬆️ jod-thread
2020-03-30 11:33:01 +02:00
Aleksey Kladov
846cbe7d4e
Merge pull request #3769 from matklad/bt
...
Enable backtrace on CI
2020-03-30 10:51:59 +02:00
Aleksey Kladov
700ac8159a
Enable backtrace on CI
2020-03-30 10:49:11 +02:00
bors[bot]
6677ccdb18
Merge #3764
...
3764: Move roots_to_scan to LoopState r=matklad a=edwin0cheng
closes #3760
cc @lnicola
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-30 08:41:02 +00:00
Edwin Cheng
36812b9d7b
Fix review comments
2020-03-30 02:39:03 +08:00
Matthew Hall
ddb9cc47d1
Tidy up insertion position logic
2020-03-29 12:45:15 +01:00
Matthew Hall
b8b271d984
Remove unneeded variables
2020-03-29 12:32:01 +01:00
Edwin Cheng
dc0076de12
Move roots_to_scan to LoopState
2020-03-29 06:33:16 +08:00
veetaha
3d73345cdb
Simplify
2020-03-28 23:48:37 +02:00
Matthew Hall
77bb9a56f1
Remove "TODO" in comment in test
2020-03-28 21:24:26 +00:00
Matthew Hall
ecc2615ba2
Append new match arms rather than replacing all of them
...
This means we now retain comments when filling in match arms.
2020-03-28 20:58:46 +00:00
bors[bot]
1c2d4135db
Merge #3756
...
3756: Update docs to mention vscode installation path on Windows r=edwin0cheng a=edwin0cheng
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-28 13:04:46 +00:00
Edwin Cheng
df68373c8e
Update docs to mention on Windows
2020-03-28 21:04:02 +08:00
bors[bot]
5749554b07
Merge #3755
...
3755: Update docs to mention vscode installation path on macOS r=matklad a=klochowicz
It took me a while to find it on macOS so I thought I'd spare the effort for others ;)
Co-authored-by: Mariusz Klochowicz <klochowicz@pm.me>
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-28 11:56:19 +00:00
Aleksey Kladov
1cf27b2e78
Update docs/user/readme.adoc
...
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-03-28 12:55:56 +01:00
Mariusz Klochowicz
92412bc3be
Update docs to mention vscode installation path on macOS
2020-03-28 22:16:19 +10:30
bors[bot]
c30425dc96
Merge #3753
...
3753: Introduce stdx crate r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-03-28 11:28:31 +00:00
Aleksey Kladov
311cbbdad5
Remove some unwraps
2020-03-28 12:27:54 +01:00