Aleksey Kladov
68b7d84974
Restore internal applySourceChange command
2019-12-30 23:46:13 +01:00
Aleksey Kladov
04f0f5077a
Reformat with tsfmt
2019-12-30 23:30:35 +01:00
Aleksey Kladov
b8368f09b4
Dead code
2019-12-30 20:16:57 +01:00
Aleksey Kladov
6cc55e4c5c
status is not a command
2019-12-30 20:16:07 +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
da80b6c1e1
Minor refactor
2019-12-30 20:00:46 +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
68f47a5b10
Cleanup
2019-12-30 19:12:49 +01:00
Aleksey Kladov
260df66b77
Cleanup imports
2019-12-30 19:07:59 +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
Aleksey Kladov
2008f9e0b9
Simplify
2019-12-30 12:29:33 +01:00
Emil Lauridsen
b9c10ed97f
Re-format VSCode extension changes
2019-12-25 19:10:30 +01:00
Emil Lauridsen
178c23f505
Re-implement status display using LSP 3.15 progress event
2019-12-25 19:08:44 +01:00
Emil Lauridsen
41a1ec723c
Remove cargo-watch from vscode extension.
...
Still keeps tests around for reference when porting them to rust
2019-12-25 17:37:40 +01:00
kjeremy
6049f60a05
Protect against null as revealed by npm test
2019-12-20 13:52:34 -05:00
Vadzim Dambrouski
22ae4cb906
Fix formatting
2019-12-16 09:01:38 +05:30
Vadzim Dambrouski
a85cd6455a
Add option to disable all-targets.
...
Can be useful in embedded.
2019-12-15 23:32:13 +05:30
Tetsuharu OHZEKI
0e9cabab3f
Enable noImplicitReturns option for vscode extension
2019-12-12 01:11:53 +09:00
Tetsuharu OHZEKI
b21bb44c8d
Enable noUnusedParameters option for vscode extension
2019-12-12 00:56:29 +09:00
Laurențiu Nicola
273299693b
Code: enable prettier trailing commas
2019-12-09 21:07:19 +02:00
Aleksey Kladov
eec68e6f45
Merge pull request #2297 from kiljacken/master
...
Add fancy truncation of type hints.
2019-11-20 08:38:25 +03:00
Edwin Cheng
1d56b80250
Minor fix for outpu text formating
2019-11-20 01:22:28 +08:00
Edwin Cheng
d16cc223e1
Use DocumentProvider instead of Hover
2019-11-20 01:06:10 +08:00
Emil Lauridsen
dadad36bb9
Move type inlay hint truncation to language server
...
This commit implements a general truncation framework for HirFormatter
that keeps track of how much has been output so far. This information
can then be used to perform truncation inside the language server,
instead of relying on the client.
Initial support is implemented for truncating types hints using the
maxInlayHintLength server config option. The existing solution in the
VSCode extension has been removed in favor of letting the server
truncate type hints.
2019-11-19 17:23:50 +01:00
Edwin Cheng
4012da07fd
Change return type of expand_macro
2019-11-19 22:56:48 +08:00
Edwin Cheng
8010b42b21
Fix npm formatting
2019-11-19 21:49:06 +08:00
Edwin Cheng
3ccd05fedc
Add recursive expand in vscode
2019-11-19 21:49:06 +08:00
oxalica
b4fae56a25
Fix format
2019-11-16 18:52:47 +08:00
oxalica
4c175fbe8a
Check exit code of cargo watch
2019-11-16 03:44:38 +08:00
oxalica
503920532d
Handle errors when cargo watch
fails
2019-11-16 02:49:44 +08:00
bors[bot]
d2e1f9f6da
Merge #1980
...
1980: Shorten inline type hints r=matklad a=detrumi
Implements #1946
Co-authored-by: Wilco Kusee <wilcokusee@gmail.com>
2019-10-23 11:13:04 +00:00
Wilco Kusee
770bb8dc9b
Do not truncate the range
2019-10-23 13:11:40 +02:00
Wilco Kusee
3b61acb4ae
Make inlay hint length configurable
2019-10-18 13:45:04 +02:00
Roberto Vidal
f4d50de275
Adds config option for cargo-watch --ignore
flag
2019-10-17 20:21:07 +02:00
Wilco Kusee
ce4fb06dec
Truncate hints longer than 20 characters
2019-10-10 14:52:05 +02:00
Lucas Spits
80b45d5928
Replace watcher file existence check with vscode.fs version
2019-09-09 20:24:31 +02:00
Kirill Bulatov
c5598d9ade
Avoid shared mutable state
2019-08-05 23:11:16 +03:00
Kirill Bulatov
777552b6a8
Cache decorations before the first change only
2019-08-05 13:41:02 +03:00
Kirill Bulatov
f358b4c0c0
Use WeakMap to avoid memory leaks
2019-08-05 11:14:18 +03:00
Kirill Bulatov
3fb6462d54
Style and test fixes
2019-08-05 01:02:36 +03:00
Kirill Bulatov
2c02aebeb5
Query less hints on file open
2019-08-05 00:23:58 +03:00