Kirill Bulatov
230ed3304a
Better releaseId naming
2021-05-23 11:51:35 +03:00
Kirill Bulatov
be3e997ddf
Remove nightly release id from local storage for stable extensions
2021-05-23 11:49:34 +03:00
Kirill Bulatov
b8635a8e60
Download nightly extension when configured and run from stable extension version
2021-05-23 11:28:06 +03:00
Jonas Schievink
463ecefc64
Use .rs
file ending to get syntax highlighting
2021-05-22 00:11:54 +02:00
Jonas Schievink
271ec6b990
Add a "Debug ItemTree" LSP request
2021-05-21 23:59:52 +02:00
Jonas Schievink
a85a2c4d15
Allow viewing the crate graph in a webview
2021-05-11 16:15:31 +02:00
bors[bot]
fb45d2adec
Merge #8624
...
8624: Automatically detect rust library source file map r=vsrs a=vsrs
This PR adds a new possible `rust-analyzer.debug.sourceFileMap` value:
```json
{
"rust-analyzer.debug.sourceFileMap": "auto"
}
```
I did not make it the default because it uses two shell calls (`rustc --print sysroot` and `rustc -V -v`). First one can be slow (https://github.com/rust-lang/rustup/issues/783 )
Fixes #8619
Co-authored-by: vsrs <vit@conrlab.com>
2021-04-27 20:41:35 +00:00
Jorge Mederos Alvarado
0230f22d2a
Fix how and when old inlay hint decorations are disposed
2021-04-26 20:29:54 -04:00
Jorge Mederos Alvarado
9e5ef0ce72
Add option to opt out from smaller inlay hints font size
2021-04-26 20:29:54 -04:00
vsrs
1b4197cb35
Use explicit rustc commit-hash
...
Required for lldb on mac
2021-04-22 18:59:03 +03:00
vsrs
1ebfe11730
Add special auto
value for debug.sourceFileMap
2021-04-22 16:09:46 +03:00
vsrs
8f781e782c
Autodetect rust library source file map
2021-04-22 15:27:56 +03:00
Jonas Schievink
30aae2cefb
Move cursor position when using item movers
2021-04-14 00:03:04 +02:00
Aleksey Kladov
ad02bfe58f
Sacrifice for the semicolon god
2021-04-06 15:50:02 +03:00
Aleksey Kladov
8fe20b19d4
More robust status notifications
2021-04-06 15:45:31 +03:00
Jonas Schievink
e6580aa380
Use const
instead of let
2021-03-27 19:02:08 +01:00
Jonas Schievink
201fbac8a9
Fix handling of multi-cursor snippets
...
This allows one snippet per TextEdit, multiple in the same TextEdit
are still broken
2021-03-27 18:50:55 +01:00
ivan770
236abe2e60
Improve cursor positioning after moving
2021-03-18 11:22:28 +02:00
ivan770
5f5a3e6eae
Fix tsfmt and eslint warnings
2021-03-18 11:22:27 +02:00
ivan770
a154ef7ca1
Remove movable array, improve client code
2021-03-18 11:22:27 +02:00
ivan770
7d60458495
Item up and down movers
2021-03-18 11:22:27 +02:00
Lukas Wirth
f05fef7063
Support multiple parents in parentModule in vscode-client
2021-03-15 15:50:55 +01:00
bors[bot]
7accf6bc37
Merge #7799
...
7799: Related tests r=matklad a=vsrs
![tests](https://user-images.githubusercontent.com/62505555/109397453-a9013680-7947-11eb-8b11-ac03079f7645.gif )
This adds an ability to look for tests for the item under the cursor: function, constant, data type, etc
The LSP part is bound to change. But the feature itself already works and I'm looking for a feedback :)
Co-authored-by: vsrs <vit@conrlab.com>
2021-03-13 13:50:35 +00:00
Laurențiu Nicola
88ef0541a5
Improve version display
2021-03-12 19:49:00 +02:00
vsrs
daa2637486
Apply review suggestions
2021-03-11 17:39:41 +03:00
Kam Y. Tse
77b7c96aea
Make extension respect http proxy settings
2021-03-07 18:21:48 +08:00
vsrs
f234b80520
Remove erroneous comment
2021-02-27 21:59:53 +03:00
vsrs
45d4e6b639
Add progress reporting
2021-02-27 21:07:23 +03:00
vsrs
669e117644
Add LSP request and VSCode command
2021-02-27 20:04:43 +03:00
Laurențiu Nicola
23a8fc5284
Try to detect musl distros in the Code extension
2021-02-20 18:44:28 +02: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
Yaroslav Bolyukin
471795b019
fix: tolerate spaces in nix binary patching
...
If path to original file contains space (I.e on code insiders, where
default data directory is ~/Code - Insiders/), then there is syntax
error evaluating src arg.
Instead pass path as str, and coerce to path back in nix expression
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
2021-02-13 23:11:00 +03:00
bors[bot]
82a1b91f20
Merge #7625
...
7625: Add **Copy Run Command Line** command for vscode r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-02-10 11:38:56 +00:00
Aleksey Kladov
97166e2ad9
Add **Copy Run Command Line** command for vscode
...
This is useful when you want to, e.g., run a specific test in a terminal
with `--release`.
2021-02-10 14:37:27 +03:00
Sahandevs
91dd61b9a6
use await instead
2021-02-09 17:42:46 +03:30
Sahandevs
2f82a84d2a
fix errors
2021-02-07 22:06:16 +03:30
Sahandevs
3a0234d60f
format
2021-02-07 21:59:06 +03:30
Sahandevs
1bb4e973ff
handle Thenable type rejects
2021-02-07 21:52:32 +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
Lukas Wirth
fb2b1f5ea6
Fix resolveCodeAction trying to edit files before creating them
2021-02-05 21:33:37 +01:00
Edwin Cheng
35310f1032
Update vscode for new status
2021-01-29 01:04:14 +08:00
Laurențiu Nicola
03a1da9d46
Simplify file download code
2021-01-25 19:12:54 +02:00
bors[bot]
83231dd987
Merge #7409 #7421
...
7409: Add References CodeLens. r=matklad a=vsrs
Closes #5836
7421: Fix RA_LOG example in dev docs r=lnicola a=lnicola
bors r+
Co-authored-by: vsrs <vit@conrlab.com>
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-01-25 11:18:58 +00:00
Laurențiu Nicola
5bd84716ed
Code: reduce progress notification spam
2021-01-25 10:05:38 +02:00
vsrs
3618c4e0d3
Add References code lens.
...
For Struct, Enum, Union and Trait symbols.
2021-01-23 16:56:20 +03:00
Laurențiu Nicola
a19728604f
Download aarch64-unknown-linux-gnu from GitHub
2021-01-17 16:35:57 +02:00
Laurențiu Nicola
1749a78ada
Fix server path comparison
2021-01-14 15:38:57 +02:00
Laurențiu Nicola
c547ec1cd6
Don't update the server if managed by the user
2021-01-07 16:37:08 +02:00