Alexander Gonzalez
1a0a5da1a4
refactor: Make handle_hover handle ranges too
2021-07-27 18:29:22 -04:00
Alexander Gonzalez
18644720eb
feat: Completed the client side implementation of rust-analyzer/hoverRange
2021-07-27 18:29:22 -04:00
Kirill Bulatov
a05163db14
Create tasks for all workspaces
2021-05-26 01:11:52 +03:00
Kirill Bulatov
c1f6a5a0b0
Fix ts lint errors
2021-05-23 23:47:58 +03:00
Kirill Bulatov
b3383b0661
Send detached files info to server via init params
2021-05-23 22:46:20 +03:00
Kirill Bulatov
d9a5490646
Start rust-analyzer server for arbitrary rust files
2021-05-23 22:46:20 +03:00
Aleksey Kladov
8fe20b19d4
More robust status notifications
2021-04-06 15:45:31 +03:00
kjeremy
a403be6456
Remove Semantic Tokens flicker workaround
...
https://github.com/microsoft/vscode-languageserver-node/issues/576 has been closed with
the latest vscode-languageclient release.
2021-02-16 16:27:30 -05:00
Jeremy Kolb
8105418b25
Start LSP 3.17 support
2021-02-14 14:51:29 -05:00
Sahandevs
2f82a84d2a
fix errors
2021-02-07 22:06:16 +03:30
Sahandevs
1d0e93b58e
handle promise catches
2021-02-07 21:27:21 +03:30
Sahandevs
06c02021a3
remove unnecessary
2021-02-07 21:15:13 +03:30
lf-
f7f6ac3554
Add an option for extra env vars in the Code extension
2020-12-30 04:51:07 -08:00
kjeremy
1d333a8387
Use vscode-languageclient 7.0.0-next.14
2020-11-17 10:10:34 -05:00
Aleksey Kladov
7d2eb000b0
Switch to upstream protocol for resolving code action
...
Note that we have to maintain custom implementation on the client
side: I don't see how to marry bulitin resolve support with groups and
snippets.
2020-11-10 18:48:46 +01:00
Charles Pierce
d2bf2ebe15
Restore semantic token flickering workaround removed in #5697
2020-11-04 10:26:58 -08:00
kjeremy
b527257330
Move to vscode-languageclient 7.0.0-next.9
...
Stabilizes call hierarchy and semantic tokens features.
2020-09-02 09:40:59 -04:00
Jeremy Kolb
58c97bdcbf
Remove 'as any'
2020-08-09 18:09:27 -04:00
Jeremy Kolb
7252babc13
Remove workaround for semantic token flickering
...
See: https://github.com/microsoft/vscode-languageserver-node/issues/576#issuecomment-593384479
This has been fixed since vscode 1.44
2020-08-09 17:57:27 -04:00
James Leitch
995c624f57
ProblemMatcher auto detects relative/absolute paths and matches VSCode LSP's owner and source. VSCode LSP updated to specify owner.
2020-07-22 22:34:47 -07:00
Jeremy Kolb
5b9257561f
Pass CodeActionKind through our middleware to populate menus
2020-07-02 17:13:03 -04:00
Aleksey Kladov
3ef7676076
Implement StatusBar
2020-07-02 15:32:14 +02:00
vsrs
78c9223b7b
Remove hover contents marking as trusted.
...
Hover contents might be extracted from raw
doc comments and need some validation.
2020-06-05 15:25:01 +03:00
vsrs
da7ec4b339
Add hover actions LSP extension documentation.
2020-06-05 15:00:28 +03:00
vsrs
7d0dd17b09
Add hover actions as LSP extension
2020-06-05 14:59:26 +03:00
Mikhail Rakhmanov
bacd0428fa
Fix review comments
2020-06-03 18:39:01 +02:00
Mikhail Rakhmanov
57cd936c52
Preliminary implementation of lazy CodeAssits
2020-06-02 23:10:53 +02:00
Aleksey Kladov
2075e77ee5
CodeAction groups
2020-05-22 17:32:46 +02:00
Aleksey Kladov
3dd68c1ba3
Implement client-side of SnippetTextEdit
2020-05-19 20:28:27 +02:00
Aleksey Kladov
a752853350
Add snippetTextEdit protocol extension
2020-05-19 20:28:27 +02:00
bors[bot]
45832b990c
Merge #4145
...
4145: Remove dead code r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-04-25 19:30:04 +00:00
Aleksey Kladov
0ac5ed5a84
Remove dead code
2020-04-25 21:22:40 +02:00
veetaha
5f88df82a6
Remove unnecessary async from vscode language client creation
2020-04-25 20:52:50 +03:00
kjeremy
6f0f86d2c5
Enable the SemanticTokensFeature by default
...
This is covered under vscode's "editor.semanticHighlighting.enabled"
setting plus the user has to have a theme that has opted into highlighting.
Bumps required vscode stable to 1.44
2020-04-08 15:45:39 -04:00
Aleksey Kladov
48c58309cc
Lean onto default implementation of configs
2020-04-02 12:47:58 +02:00
Aleksey Kladov
309fc70155
Remove old syntax highlighting
2020-04-02 09:52:27 +02:00
Tim
3eb45b9922
Pass string instread of WorkspaceFolder
2020-03-31 10:24:01 +01:00
Tim
a781a58fe2
Throw error if no folder is opened
2020-03-31 09:06:52 +01:00
Tim
768aa4259f
Add basic task support
...
This adds basic support for running `cargo build`, `cargo run`, etc.
2020-03-30 21:23:21 +01:00
Kirill Bulatov
b892a48740
Code review fixes
...
Co-Authored-By: Veetaha <veetaha2@gmail.com>
2020-03-30 13:39:14 +03:00
Kirill Bulatov
8a23bec2cd
Style fixes
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
Matt Hooper
6f239a581a
Extension types and rendering
2020-03-24 23:22:41 +01:00
Aleksey Kladov
be4977da7f
Don't try to enable proposed API's on stable
2020-03-24 09:34:54 +01:00
Emil Lauridsen
9e7dbb1abd
Remove unused config from VSCode ext
2020-03-17 14:47:05 +01:00
bors[bot]
4c85e53531
Merge #3561 #3577
...
3561: feat: add debug code lens r=matklad a=hdevalke
Refs #3539
3577: Protect against infinite macro expansion in def collector r=edwin0cheng a=flodiebold
Something I noticed while trying to make macro expansion more resilient against errors.
There was a test for this, but it wasn't actually working because the first recursive expansion failed. (The comma...)
Even with this limit, that test (when fixed) still takes some time to pass because of the exponential growth of the expansions, so I disabled it and added a different one without growth.
CC @edwin0cheng
Co-authored-by: Hannes De Valkeneer <hannes@de-valkeneer.be>
Co-authored-by: hdevalke <2261239+hdevalke@users.noreply.github.com>
Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>
2020-03-13 14:01:29 +00:00
Hannes De Valkeneer
39c92b3872
fixup! feat: add debug code lens
...
autodetect vscode-lldb
2020-03-12 22:31:47 +01:00
Aleksey Kladov
b3fa7312a7
Simpler deserialization
2020-03-12 18:01:36 +01:00
bors[bot]
d98a5fab46
Merge #3543
...
3543: Parameter inlay hint separate from variable type inlay? #2876 r=matklad a=slyngbaek
Add setting to allow enabling either type inlay hints or parameter
inlay hints or both. Group the the max inlay hint length option
into the object.
- Add a new type for the inlayHint options.
- Add tests to ensure the inlays don't happen on the server side
Co-authored-by: Steffen Lyngbaek <steffenlyngbaek@gmail.com>
2020-03-12 16:02:55 +00:00
Steffen Lyngbaek
58248e24cd
Switch from Vec<InlayKind> to object with props
...
- Instead of a single object type, use several individual nested types
to allow toggling from the settings GUI
- Remove unused struct definitions
- Install and test that the toggles work
2020-03-11 20:14:39 -07:00