aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
Commit message (Collapse)AuthorAgeFilesLines
...
* Warnings as hint or infoGabriel Valfridsson2020-06-161-0/+18
|
* checkOnSafe.features and checkOnSafe.allFeatures now work identically.Clemens Wasser2020-06-101-2/+5
|
* Most of the checkOnSafe options now default to the cargo equivalent.Clemens Wasser2020-06-101-4/+7
|
* Added the rust-analyzer.checkOnSave.features option.Clemens Wasser2020-06-101-0/+8
|
* Merge #4773bors[bot]2020-06-081-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 <[email protected]>
| * Add Run|Debug hover actionsvsrs2020-06-061-0/+10
| |
* | Fix VSCode settingsVincent Isambart2020-06-071-4/+1
|/
* Add hover actions as LSP extensionvsrs2020-06-051-3/+13
|
* Document rust-project.jsonAleksey Kladov2020-06-031-0/+19
|
* Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by defaultLaurențiu Nicola2020-06-021-2/+2
|
* Add `inRustProject` when-clause for commands.vsrs2020-05-271-1/+65
|
*-. Merge #4602 #4603bors[bot]2020-05-251-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 <[email protected]>
| | * Add self keyword semantic token typeLaurențiu Nicola2020-05-251-0/+5
| |/ |/|
| * Add boolean literals to package.jsonLaurențiu Nicola2020-05-251-0/+5
|/
* Introduce `toggle inlay hints` vscode commandveetaha2020-05-251-0/+5
| | | | | | | | Users now can assign a shortcut for this command via the general vscode keybindings ui or `keybinding.json file` Closes: #4599
* Highlight `true` and `false` as literalsMatthew Jasper2020-05-241-0/+3
|
* Merge pull request #4574 from lnicola/bump-depsAleksey Kladov2020-05-241-11/+11
|\ | | | | Bump some dependencies
| * Bump more npm depsLaurențiu Nicola2020-05-241-7/+7
| |
| * Bump some npm depsLaurențiu Nicola2020-05-241-8/+8
| |
* | Merge pull request #4474 from georgewfraser/color_attrsAleksey Kladov2020-05-241-0/+7
|\ \ | |/ |/| Color attribute functions
| * Color attribute functionsGeorge Fraser2020-05-191-0/+7
| |
* | Merge pull request #4538 from vsrs/vscode_testsAleksey Kladov2020-05-231-4/+11
|\ \ | | | | | | vscode client side tests
| * | vscode client side testsvsrs2020-05-201-4/+11
| |/
* / Fix phrasing in inlay hints settingsLaurențiu Nicola2020-05-211-4/+4
|/
* Merge #4499bors[bot]2020-05-181-0/+20
|\ | | | | | | | | | | | | | | | | | | 4499: CodeLens configuration options r=vsrs a=vsrs This PR - adds an option to granularly enable\disable all CodeLens, just like the TypeScript extension. - fixes a minor bug for doctests. It makes no sense to show `Debug` lens for them as cargo `Can't skip running doc tests with --no-run`. Co-authored-by: vsrs <[email protected]>
| * Add "rust-analyzer.lens.enable"vsrs2020-05-181-3/+8
| |
| * CodeLens configuration options.vsrs2020-05-171-0/+15
| |
* | Relax VS Code version requirementAleksey Kladov2020-05-171-2/+2
|/
* Color macros (fixes #4462)George Fraser2020-05-161-0/+3
|
* Merge #4448bors[bot]2020-05-151-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4448: Generate configuration for launch.json r=vsrs a=vsrs This PR adds two new commands: `"rust-analyzer.debug"` and `"rust-analyzer.newDebugConfig"`. The former is a supplement to the existing `"rust-analyzer.run"` command and works the same way: asks for a runnable and starts new debug session. The latter allows adding a new configuration to **launch.json** (or to update an existing one). If the new option `"rust-analyzer.debug.useLaunchJson"` is set to true then `"rust-analyzer.debug"` and Debug Lens will first look for existing debug configuration in **launch.json**. That is, it has become possible to specify startup arguments, env variables, etc. `"rust-analyzer.debug.useLaunchJson"` is false by default, but it might be worth making true the default value. Personally I prefer true, but I'm not sure if it is good for all value. ---- I think that this PR also solves https://github.com/rust-analyzer/rust-analyzer/issues/3441. Both methods to update launch.json mentioned in the issue do not work: 1. Menu. It is only possible to add a launch.json configuration template via a debug adapter. And anyway it's only a template and it is impossible to specify arguments from an extension. 2. DebugConfigurationProvider. The exact opposite situation: it is possible to specify all debug session settings, but it is impossible to export these settings to launch.json. Separate `"rust-analyzer.newDebugConfig"` command looks better for me. ---- Fixes #4450 Fixes #3441 Co-authored-by: vsrs <[email protected]> Co-authored-by: vsrs <[email protected]>
| * Remove "rust-analyzer.debug.useLaunchJson" optionvsrs2020-05-141-5/+0
| |
| * Use launch.json in Debug Lens sessions.vsrs2020-05-131-0/+5
| | | | | | | | Add the possibility to use existing configurations via Debug Lens
| * "rust-analyzer.newDebugConfig" commandvsrs2020-05-111-0/+5
| |
| * "rust-analyzer.debug" commandvsrs2020-05-111-0/+5
| |
* | Merge #4400bors[bot]2020-05-131-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4400: Enhanced coloring r=georgewfraser a=georgewfraser This PR builds on #4397 to enhance the existing syntax coloring. ## Underline mutable variables The textmate scope `markup.underline` underlines identifiers, which is a nice way to make mutable vars stand out: <img width="327" alt="Screen Shot 2020-05-09 at 1 18 55 PM" src="https://user-images.githubusercontent.com/1369240/81484179-8bb47d80-91f8-11ea-997d-1dcffbe44aa7.png"> ## Italicize static variables The textmate scope `markup.italic` italicizes identifiers. Italic = static is a common convention in IDEs like IntelliJ: <img width="288" alt="Screen Shot 2020-05-09 at 1 19 14 PM" src="https://user-images.githubusercontent.com/1369240/81484236-cd452880-91f8-11ea-8478-505ee49bc8b3.png"> Co-authored-by: George Fraser <[email protected]>
| * | Leave statics aloneGeorge Fraser2020-05-121-3/+0
| | |
| * | Mark up statics and mutablesGeorge Fraser2020-05-121-0/+6
| | |
* | | Bump packageskjeremy2020-05-131-8/+8
| | |
* | | vscode engine 1.45kjeremy2020-05-121-1/+1
|/ / | | | | | | latest stable
* | Use .rust suffix on scopesGeorge Fraser2020-05-121-9/+9
| |
* | Change lifetimes back to keyword-ish, tweak builtins for consistency between ↵George Fraser2020-05-101-1/+1
| | | | | | | | TextMate and semantic
* | Import built-in textmate grammar, with no changesGeorge Fraser2020-05-101-0/+5
| |
* | Tweak the textmate fallback scopes to be consistent with builtin TextMate ↵George Fraser2020-05-101-8/+8
|/ | | | grammar and other languages
* Merge remote-tracking branch 'upstream/master' into uniformed_debug_lensvsrs2020-05-081-1/+15
|\ | | | | | | | | # Conflicts: # editors/code/src/commands/runnables.ts
| * Add master config for inlayHints to make disabling easyAleksey Kladov2020-05-081-0/+5
| |
| * Use the correct color for structsAleksey Kladov2020-05-071-0/+3
| | | | | | | | This works around https://github.com/microsoft/vscode/issues/97162
| * Better mapping to TextMate scopes for keywordsAleksey Kladov2020-05-061-0/+6
| | | | | | | | https://github.com/microsoft/vscode/issues/94367#issuecomment-608629883
| * package.json: Minor configuration spelling fixSean Bright2020-05-061-1/+1
| |
* | "rust-analyzer.debug.openDebugPane"vsrs2020-05-081-1/+1
| | | | | | Co-authored-by: bjorn3 <[email protected]>
* | Add CodeLLDB Rust visualizationvsrs2020-05-071-1/+1
| |