aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #8624bors[bot]2021-04-274-6/+57
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * Use explicit rustc commit-hashvsrs2021-04-223-3/+15
| | | | | | | | Required for lldb on mac
| * Add special `auto` value for `debug.sourceFileMap`vsrs2021-04-224-25/+35
| |
| * Autodetect rust library source file mapvsrs2021-04-222-2/+31
| |
* | Fix how and when old inlay hint decorations are disposedJorge Mederos Alvarado2021-04-271-16/+33
| |
* | Add option to opt out from smaller inlay hints font sizeJorge Mederos Alvarado2021-04-272-6/+30
|/
* Move cursor position when using item moversJonas Schievink2021-04-132-23/+5
|
* Sacrifice for the semicolon godAleksey Kladov2021-04-062-5/+5
|
* More robust status notificationsAleksey Kladov2021-04-063-34/+24
|
* Use `const` instead of `let`Jonas Schievink2021-03-271-1/+1
|
* Fix handling of multi-cursor snippetsJonas Schievink2021-03-271-5/+5
| | | | | This allows one snippet per TextEdit, multiple in the same TextEdit are still broken
* Improve cursor positioning after movingivan7702021-03-181-1/+14
|
* Fix tsfmt and eslint warningsivan7702021-03-182-4/+4
|
* Remove movable array, improve client codeivan7702021-03-182-2/+6
|
* Item up and down moversivan7702021-03-183-0/+43
|
* Support multiple parents in parentModule in vscode-clientLukas Wirth2021-03-151-9/+15
|
* Merge #7799bors[bot]2021-03-133-9/+50
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * Apply review suggestionsvsrs2021-03-111-4/+1
| |
| * Remove erroneous commentvsrs2021-02-271-1/+1
| |
| * Add progress reportingvsrs2021-02-271-16/+17
| |
| * Add LSP request and VSCode commandvsrs2021-02-273-9/+52
| |
* | Improve version displayLaurențiu Nicola2021-03-121-3/+2
| |
* | Make extension respect http proxy settingsKam Y. Tse2021-03-073-5/+34
|/
* Try to detect musl distros in the Code extensionLaurențiu Nicola2021-02-201-2/+12
|
* Remove Semantic Tokens flicker workaroundkjeremy2021-02-161-17/+0
| | | | | https://github.com/microsoft/vscode-languageserver-node/issues/576 has been closed with the latest vscode-languageclient release.
* Start LSP 3.17 supportJeremy Kolb2021-02-141-1/+1
|
* fix: tolerate spaces in nix binary patchingYaroslav Bolyukin2021-02-131-3/+3
| | | | | | | | | | 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 <[email protected]>
* Merge #7625bors[bot]2021-02-103-8/+26
|\ | | | | | | | | | | | | | | | | 7625: Add **Copy Run Command Line** command for vscode r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Add **Copy Run Command Line** command for vscodeAleksey Kladov2021-02-103-8/+26
| | | | | | | | | | This is useful when you want to, e.g., run a specific test in a terminal with `--release`.
* | use await insteadSahandevs2021-02-094-31/+21
| |
* | fix errorsSahandevs2021-02-074-6/+11
| |
* | formatSahandevs2021-02-074-12/+12
| |
* | handle Thenable type rejectsSahandevs2021-02-074-12/+23
| |
* | handle promise catchesSahandevs2021-02-073-3/+3
| |
* | remove unnecessarySahandevs2021-02-074-6/+6
|/
* Fix resolveCodeAction trying to edit files before creating themLukas Wirth2021-02-051-3/+3
|
* Update vscode for new statusEdwin Cheng2021-01-282-1/+7
|
* Simplify file download codeLaurențiu Nicola2021-01-252-10/+1
|
* Merge #7409 #7421bors[bot]2021-01-251-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * Add References code lens.vsrs2021-01-231-0/+1
| | | | | | | | For Struct, Enum, Union and Trait symbols.
* | Code: reduce progress notification spamLaurențiu Nicola2021-01-251-7/+9
|/
* Download aarch64-unknown-linux-gnu from GitHubLaurențiu Nicola2021-01-171-0/+1
|
* Fix server path comparisonLaurențiu Nicola2021-01-141-1/+1
|
* Don't update the server if managed by the userLaurențiu Nicola2021-01-071-1/+6
|
* Rename extension configAleksey Kladov2021-01-041-1/+3
|
* Allow download of aarch64-pc-windows-msvc binariesLaurențiu Nicola2021-01-041-10/+9
|
* Merge #7068bors[bot]2021-01-033-0/+57
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7068: Add VSCode command to view the hir of a function body r=theotherphil a=theotherphil Will fix https://github.com/rust-analyzer/rust-analyzer/issues/7061. Very rough initial version just to work out where I needed to wire everything up. @matklad would you be happy merging a hir visualiser of some kind? If so, do you have any thoughts on what you'd like it show, and how? I've spent very little time on this thus far, so I'm fine with throwing away the contents of this PR, but I want to avoid taking the time to make this more polished/interactive/useful only to discover that no-one else has any interest in this functionality. ![image](https://user-images.githubusercontent.com/1974256/103236081-bb58f700-493b-11eb-9d12-55ae1b870f8f.png) Co-authored-by: Phil Ellison <[email protected]>
| * Remove some unnecessary code copied from the Syntax Tree commandPhil Ellison2021-01-011-17/+3
| |
| * Initial implementation of view-hir commandPhil Ellison2020-12-283-0/+71
| |
* | Add an option for extra env vars in the Code extensionlf-2020-12-303-3/+13
| |