about summary refs log tree commit diff
path: root/editors
AgeCommit message (Collapse)AuthorLines
2020-06-18Migrate flycheck to fully-lsp-compatible progress reports (introduce ↵veetaha-103/+0
ra_progress crate)
2020-06-18Add `rust-analyzer.gotoLocation` commandvsrs-0/+23
2020-06-18Fix rust-analyzer.debug.openDebugPane optionvsrs-2/+2
2020-06-17Warnings as hint or infoGabriel Valfridsson-0/+18
2020-06-10checkOnSafe.features and checkOnSafe.allFeatures now work identically.Clemens Wasser-2/+5
2020-06-10Most of the checkOnSafe options now default to the cargo equivalent.Clemens Wasser-4/+7
2020-06-10Added the rust-analyzer.checkOnSave.features option.Clemens Wasser-0/+8
2020-06-08Merge #4773bors[bot]-0/+10
4773: Run|Debug hover actions. r=matklad a=vsrs ![hover_actions_run](https://user-images.githubusercontent.com/62505555/83335644-dfc1f780-a2b6-11ea-820b-ccaa82290e7d.gif) This hover actions work exactly like corresponding lenses. Co-authored-by: vsrs <vit@conrlab.com>
2020-06-07Fix VSCode settingsVincent Isambart-4/+1
2020-06-06Add Run|Debug hover actionsvsrs-0/+10
2020-06-06Fix Run lens.vsrs-1/+1
2020-06-05Remove hover contents marking as trusted.vsrs-15/+2
Hover contents might be extracted from raw doc comments and need some validation.
2020-06-05Add hover actions LSP extension documentation.vsrs-1/+1
2020-06-05Add hover actions as LSP extensionvsrs-7/+79
2020-06-03Merge branch 'master' into compute-lazy-assitsMikhail Rakhmanov-0/+19
# Conflicts: # crates/rust-analyzer/src/main_loop/handlers.rs # crates/rust-analyzer/src/to_proto.rs
2020-06-03Fix review commentsMikhail Rakhmanov-3/+0
2020-06-03Document rust-project.jsonAleksey Kladov-0/+19
2020-06-02Merge remote-tracking branch 'upstream/master' into compute-lazy-assitsMikhail Rakhmanov-23/+31
# Conflicts: # crates/rust-analyzer/src/to_proto.rs
2020-06-02Preliminary implementation of lazy CodeAssitsMikhail Rakhmanov-38/+65
2020-06-02Merge #4710bors[bot]-21/+29
4710: New runnables r=matklad a=matklad bors d=@vsrs Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-06-02Merge #4711bors[bot]-2/+2
4711: Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by default r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2020-06-02Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by defaultLaurențiu Nicola-2/+2
2020-06-02Spec better runnablesAleksey Kladov-1/+1
2020-06-02New runnables APIAleksey Kladov-20/+28
2020-06-02Move run commands to commands.tsAleksey Kladov-133/+134
2020-06-02Merge #4580bors[bot]-59/+107
4580: Fix invoking cargo without consulting CARGO env var or standard installation paths r=matklad a=Veetaha Followup for #4329 The pr essentially fixes [this bug](https://youtu.be/EzQ7YIIo1rY?t=2189) cc @lefticus Co-authored-by: veetaha <veetaha2@gmail.com>
2020-05-31Always derive from `process.env` when spawning a child process/shell executionAlin Sinpalean-1/+1
This is useful when an extension (e.g. Nix Environment Selector) or launch configuration sets one or more environment variables. When `env` is not explicitly specified in the options passed to `child_process.spawn()` or `vscode.ShellExecution()`, then `process.env` gets applied automatically. But when an explicit `env` is set, it should inherit from `process.env` rather than replace it completely.
2020-05-31Change Runnable.bin -> Runnable.kindveetaha-59/+104
As per matklad, we now pass the responsibility for finding the binary to the frontend. Also, added caching for finding the binary path to reduce the amount of filesystem interactions.
2020-05-31Fix invoking cargo without consulting CARGO or standard installation pathsveetaha-4/+7
2020-05-27Add `inRustProject` when-clause for commands.vsrs-1/+76
2020-05-27Merge #4625 #4629bors[bot]-4/+5
4625: Partially fix displaying inlay hints in Github PR diff views r=matklad a=Veetaha See the comment in https://github.com/rust-analyzer/rust-analyzer/issues/4608#issuecomment-63424257 It partially fixes the left side of diff view (the one where old code is displayed), but the diff editor with new code changes still has `file` scheme and will proceed displaying inlay hints... 4629: Fix the `should_panic` snippet r=matklad a=eminence Closes #4628 Co-authored-by: veetaha <veetaha2@gmail.com> Co-authored-by: Andrew Chin <achin@eminence32.net>
2020-05-26Partially fix displaying inlay hints in Github PR diff viewsveetaha-4/+5
2020-05-26Add question mark operatorYuki Kodama-1/+1
2020-05-25Merge #4602 #4603bors[bot]-0/+10
4602: Add boolean literal semantic token type to package.json r=matklad a=lnicola Closes #4583. CC @GrayJack 4603: Add self keyword semantic token type r=matklad a=lnicola Not sure if this is warranted a new token type or just a modifier. --- CC #4583, @GrayJack Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2020-05-25Document `parentModule` experimental LSP requestAleksey Kladov-4/+4
2020-05-25Cleanup lsp extensions on the client sideAleksey Kladov-127/+88
2020-05-25Less rust-analyzer specific onEnterAleksey Kladov-7/+9
2020-05-25Flatten commands.tsAleksey Kladov-109/+103
2020-05-25Flatten simple commandsAleksey Kladov-301/+242
2020-05-25Add self keyword semantic token typeLaurențiu Nicola-0/+5
2020-05-25Remove dead codeAleksey Kladov-106/+54
2020-05-25Add boolean literals to package.jsonLaurențiu Nicola-0/+5
2020-05-25Introduce `toggle inlay hints` vscode commandveetaha-1/+19
Users now can assign a shortcut for this command via the general vscode keybindings ui or `keybinding.json file` Closes: #4599
2020-05-24Merge #4593bors[bot]-6/+5
4593: Document some rust-analyzer specific protocol extensions r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-05-24Document matchingBrace LSP requestAleksey Kladov-6/+5
2020-05-24Highlight `true` and `false` as literalsMatthew Jasper-0/+3
2020-05-24Merge pull request #4574 from lnicola/bump-depsAleksey Kladov-244/+342
Bump some dependencies
2020-05-24Merge pull request #4474 from georgewfraser/color_attrsAleksey Kladov-1/+13
Color attribute functions
2020-05-24Bump more npm depsLaurențiu Nicola-240/+338
2020-05-24Bump some npm depsLaurențiu Nicola-39/+39