aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
Commit message (Collapse)AuthorAgeFilesLines
* Make config.rs a single source of truth for configuration.Aleksey Kladov2020-12-081-320/+304
| | | | | | | | | | | | | | | | | Configuration is editor-independent. For this reason, we pick JSON-schema as the repr of the source of truth. We do specify it using rust-macros and some quick&dirty hackery though. The idea for syncing truth with package.json is to just do that manually, but there's a test to check that they are actually synced. There's CLI to print config's json schema: $ rust-analyzer --print-config-schema We go with a CLI rather than LSP request/response to make it easier to incorporate the thing into extension's static config. This is roughtly how we put the thing in package.json.
* Better config nameKirill Bulatov2020-12-081-3/+6
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-071-3/+3
|
* Update npm packageskjeremy2020-12-071-14/+14
|
* Merge #6496bors[bot]2020-11-261-3/+0
|\ | | | | | | | | | | | | | | | | | | 6496: Use builtin scopes more r=matklad a=georgewfraser VSCode has added more builtin fallback scopes, so we can remove some of our fallback scopes by aligning with their conventions. Note that the macro scope doesn't seem to actually *work* at the moment. I have filed a bug with VSCode: https://github.com/microsoft/vscode/issues/110150 Co-authored-by: George Fraser <[email protected]>
| * Just remove the macro fallbackGeorge Fraser2020-11-251-0/+6
| |
| * Use builtin scopes moreGeorge Fraser2020-11-071-9/+0
| |
* | Gate autoimports begind experimental completions flagKirill Bulatov2020-11-241-0/+5
| |
* | Use vscode-languageclient 7.0.0-next.14kjeremy2020-11-171-2/+2
| |
* | Cleanup workspace loading a tiny bitAleksey Kladov2020-11-131-5/+5
| |
* | Merge #6519bors[bot]2020-11-131-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6519: Add "Open Cargo.toml" action r=matklad a=p3achyjr ## What is it? This adds an "open cargo.toml" action from the vscode shell, resolves #6462 ## Test Ran ```cargo xtask install --server``` and ```cargo xtask install --client```, then ```Developer: Reload Window```. ![image](https://user-images.githubusercontent.com/8763808/98614382-2a578f00-22ad-11eb-9811-4a72a54ff6fb.png) When clicked: ![image](https://user-images.githubusercontent.com/8763808/98618176-77d7fa00-22b5-11eb-8788-35256542f3a6.png) Co-authored-by: Anatol Liu <[email protected]>
| * | add open Cargo.toml actionAnatol Liu2020-11-131-0/+9
| |/
* | Address review commentsXavier Denis2020-11-121-3/+5
| |
* | Add support for loading rustc private cratesXavier Denis2020-11-111-0/+6
|/
* Update packagekjeremy2020-10-261-1/+1
|
* Latest proposed LSP 3.16.0kjeremy2020-10-261-1/+1
| | | | Needs: https://github.com/gluon-lang/lsp-types/pull/183
* Editor: Code: Add callable to package.jsonGrayJack2020-10-161-0/+4
|
* WIP: Command to open docs under cursorZac Pullar-Strecker2020-10-081-0/+9
|
* Bump chalk to use latest git to get fixCasey Primozic2020-10-061-1/+1
| | | | * Chalk very recently (like an hour ago) merged a fix that prevents rust analyzer from panicking. This allows it to be usable again for code that hits those situations. See #6134, #6145, Probably #6120
* Make ImportPrefix a configuration optionLukas Wirth2020-10-051-1/+16
|
* Support 'runnables' options in the vs code extensionIgor Aleksanov2020-10-021-0/+16
|
* Make method references CodeLens off by default.vsrs2020-09-291-1/+1
|
* Add method references CodeLensvsrs2020-09-291-0/+5
|
* Add a command for updating the Github API tokenMatthias Einwag2020-09-231-0/+9
|
* Document "consuming" semantic tokens modifierVeetaha2020-09-151-0/+4
|
* Merge #5985bors[bot]2020-09-141-0/+15
|\ | | | | | | | | | | | | | | 5985: Make MergeBehaviour configurable r=jonas-schievink a=Veykril This should make the newly implemented `MergeBehaviour` for import insertion configurable as roughly outlined in https://github.com/rust-analyzer/rust-analyzer/pull/5935#issuecomment-685834257. For the config name and the like I just picked what came to mind so that might be up for bikeshedding. Co-authored-by: Lukas Wirth <[email protected]>
| * Make MergeBehaviour configurableLukas Wirth2020-09-121-0/+15
| |
* | Bump node-fetch from 2.6.0 to 2.6.1 in /editors/codedependabot[bot]2020-09-121-1/+1
|/ | | | | | | | Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] <[email protected]>
* Move to vscode-languageclient 7.0.0-next.9kjeremy2020-09-021-1/+1
| | | | Stabilizes call hierarchy and semantic tokens features.
* Update the rest of our node packageskjeremy2020-09-011-9/+9
|
* Bump minimum vscode to 1.47kjeremy2020-09-011-3/+3
|
* Upgrade mocha from `npm audit fix`kjeremy2020-09-011-1/+1
|
* Add rust-analyzer.checkOnSave.target to package.jsonLaurențiu Nicola2020-08-281-0/+8
|
* Make inlay hints colors more configurableVeetaha2020-08-261-2/+65
|
* Align diagnostics config with the rest of rust-analyzerAleksey Kladov2020-08-181-6/+6
|
* Restore final newline in package.jsonIgor Aleksanov2020-08-131-1/+1
|
* Merge branch 'master' into add-disable-diagnosticsIgor Aleksanov2020-08-121-1/+1
|\
| * Fix typo in settings descriptionRüdiger Herrmann2020-08-081-1/+1
| | | | | | Remove a duplicate word from the description of the `warningsAsHint` setting.
* | Add a configuration option for the vscode extensionIgor Aleksanov2020-08-121-1/+10
|/
* flycheck: Added checkOnSave.noDefaultFeaturesClemens Wasser2020-07-301-0/+8
| | | | | | This commit adds the option `rust-analyzer.checkOnSave.noDefaultFeatures` and fixes #5550.
* Add toggle for experimental diagnosticsJonas Schievink2020-07-241-5/+10
|
* ProblemMatcher auto detects relative/absolute paths and matches VSCode LSP's ↵James Leitch2020-07-231-3/+9
| | | | owner and source. VSCode LSP updated to specify owner.
* Automatically reload project info on Cargo.toml changesAleksey Kladov2020-07-101-0/+5
|
* Add a command to compute memory usage statisticsJonas Schievink2020-07-071-0/+10
|
* Merge #5203bors[bot]2020-07-031-1/+1
|\ | | | | | | | | | | | | | | 5203: Fix typo in description of vscode setting r=matklad a=Nashenas88 Co-authored-by: Paul Daniel Faria <[email protected]>
| * Fix typo in description of vscode settingPaul Daniel Faria2020-07-031-1/+1
| |
* | Add runnable env support.vsrs2020-07-031-0/+29
|/
* Add reload workspace commandAleksey Kladov2020-07-011-4/+4
|
* Be more strict with `@types/node`Laurențiu Nicola2020-07-011-1/+1
| | | | Co-authored-by: Veetaha <[email protected]>
* Use newer @types/nodeLaurențiu Nicola2020-06-291-1/+1
|