Aleksey Kladov
6058b8b0f6
Flatten commands.ts
2020-05-25 12:14:44 +02:00
Aleksey Kladov
021b3da672
Flatten simple commands
2020-05-25 11:10:31 +02:00
Aleksey Kladov
4a013ec62d
Remove dead code
2020-05-25 10:59:54 +02:00
veetaha
5dab5e7379
Introduce toggle inlay hints
vscode command
...
Users now can assign a shortcut for this command
via the general vscode
keybindings ui or `keybinding.json file`
Closes : #4599
2020-05-25 03:59:46 +03:00
Aleksey Kladov
2075e77ee5
CodeAction groups
2020-05-22 17:32:46 +02:00
Aleksey Kladov
4b495da368
Transition OnEnter to WorkspaceSnippetEdit
...
This also changes our handiling of snippet edits on the client side.
`editor.insertSnippet` unfortunately forces indentation, which we
really don't want to have to deal with. So, let's just implement our
manual hacky way of dealing with a simple subset of snippets we
actually use in rust-analyzer
2020-05-21 15:08:03 +02:00
Aleksey Kladov
39ec581bf6
Fix client-side snippets
2020-05-20 00:49:44 +02:00
Aleksey Kladov
3dd68c1ba3
Implement client-side of SnippetTextEdit
2020-05-19 20:28:27 +02:00
Veetaha
c9a2fa1835
vscode: migrate collectGarbage to rust-analyzer-api.ts
2020-02-25 00:50:57 +02:00
Edwin Cheng
4e48a73f9c
Improve server version info
2020-02-21 18:33:45 +08:00
Veetaha
7379964048
vscode: press ; to respect semicolons
2020-02-17 22:09:44 +02:00
Aleksey Kladov
dcdbbddd16
Simplify TS reload logic
...
Fixes #3164
2020-02-17 13:40:47 +01:00
Mikhail Modin
f8f454ab5c
Init implementation of structural search replace
2020-02-14 21:45:42 +00:00
Veetaha
8153b60e1d
vscode: eliminate floating promises and insane amount of resource handle leaks
2020-02-05 22:39:47 +02:00
Veetaha
8184752470
vscode refactoring: use more laconic export snytax, split huge string to several lines
2020-02-02 21:37:22 +02:00
Veetaha
420462421d
vscode extension cleanup: migrate to prefer-const tslint rule
2020-02-02 21:12:59 +02:00
Kirill Bulatov
78a21253b4
Apply the api design suggestions
2020-01-15 20:17:17 +02:00
Kirill Bulatov
73dc8b6f06
Another attempt to add multiple edits
2020-01-15 20:16:27 +02:00
Aleksey Kladov
ff0ceb30a9
Add semicolons
2019-12-31 18:55:34 +01:00
Aleksey Kladov
087af54069
Refactor server lifecycle
2019-12-31 18:32:17 +01:00
Aleksey Kladov
68b7d84974
Restore internal applySourceChange command
2019-12-30 23:46:13 +01:00
Aleksey Kladov
7b199f6a4b
Hints are not commands
2019-12-30 20:10:40 +01:00
Aleksey Kladov
3d008a78d0
Move all commands to ctx
2019-12-30 20:07:04 +01:00
Aleksey Kladov
6b118c9b8d
Refactor runables
2019-12-30 19:58:44 +01:00
Aleksey Kladov
94be27fc44
Move expand macro to the new context
2019-12-30 19:31:07 +01:00
Aleksey Kladov
ca5c59507f
Refactor show syntax tree action
2019-12-30 19:07:59 +01:00
Aleksey Kladov
ac3d0e8340
Run prettier on all files
2019-12-30 19:07:59 +01:00
Aleksey Kladov
9bfeac708d
Move parentModule to the new Ctx
2019-12-30 19:07:59 +01:00
Aleksey Kladov
5aebf1081d
Refactor applySourceChange
2019-12-30 19:07:59 +01:00
Aleksey Kladov
83d2527880
Move joinLines to the new Ctx
2019-12-30 19:07:59 +01:00
Aleksey Kladov
5dd9edaeaf
Move matching brace to new Ctx
2019-12-30 15:23:55 +01:00
Aleksey Kladov
29e86c0c72
More second command to Ctx
2019-12-30 14:53:43 +01:00
Aleksey Kladov
e53ccb6e99
Start new ctx module
2019-12-30 14:42:59 +01:00
Laurențiu Nicola
273299693b
Code: enable prettier trailing commas
2019-12-09 21:07:19 +02:00
Edwin Cheng
3ccd05fedc
Add recursive expand in vscode
2019-11-19 21:49:06 +08:00
Kirill Bulatov
583f5c9612
Fix linter issues
2019-07-25 15:17:28 +03:00
Kirill Bulatov
169e69d217
Show type decorators
2019-07-25 15:17:28 +03:00
Aleksey Kladov
fa12ed2b8f
switch to official extend selection API
2019-04-21 12:13:48 +03:00
Aleksey Kladov
0ba7e2eaeb
ad status command
2019-01-23 01:24:53 +03:00
Adolfo Ochagavía
f2d719b24a
Format vscode extension and add npm run fix
2018-10-09 22:56:22 +02:00
Aleksey Kladov
2b956fd3a8
Add on-enter handler
...
Now, typing doc comments is much more pleasant
2018-10-09 19:52:06 +03:00
Daniel McNab
e26071d96e
Run prettier on all files
2018-10-08 22:38:33 +01:00
Adolfo Ochagavía
62b1b05a0d
Fix remaining tslint suggestions
2018-10-08 20:18:55 +02:00