aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/syntax_tree.ts
Commit message (Collapse)AuthorAgeFilesLines
* vscode: postrefactorveetaha2020-04-021-12/+6
|
* vscode: postrefactor variable namesveetaha2020-04-021-8/+8
|
* vscode: add goto definition from rust file to syntax tree editorveetaha2020-04-021-5/+83
|
* Merge #3817bors[bot]2020-04-021-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3817: vscode: highlight syntax tree ro editor r=matklad a=Veetaha Small textmate grammar declaration to make rust-analyzer syntax tree more easily inspectable: Btw, if we change the file extension of our `ra_syntax/test_data/**` files to `.rast` they should be highlighted in vscode too. The colors of the tokens are actually going to be color-theme dependent, or you can customize them via: ```jsonc { "editor.tokenColorCustomizations": { "textMateRules": [ { "scope": "name", "settings": { /* */ } } ] } } ``` ![image](https://user-images.githubusercontent.com/36276403/78204947-99f9d600-74a3-11ea-8315-cb1c87810c7c.png) Related: #3682 Co-authored-by: veetaha <[email protected]>
| * vscode: add highlighting of syntax treeveetaha2020-04-021-1/+4
| |
* | vscode: add support for light themes and color customization for syntax tree ↵veetaha2020-04-011-2/+4
|/ | | | highlights
* vscode: small refactorveetaha2020-03-311-1/+1
|\
| * vscode: apply review nitsVeetaha2020-03-311-1/+1
| |
* | vscode: scroll to the syntax node in rust editor when highlightingveetaha2020-03-311-1/+2
|/
* vscode: use ctx.subscriptions instead of local .disposablesveetaha2020-03-311-15/+12
|
* vscode: add syntax tree inspection hovers and highlightsveetaha2020-03-311-53/+116
|
* Centralize the check for languageId on documentJulien Roncaglia2020-03-021-2/+3
| | | | Also move visibleRustEditors to Ctx
* vscode: migrate syntax_tree to rust-analyzer-api.tsVeetaha2020-02-241-20/+7
|
* Simplify some more ctorsAleksey Kladov2020-02-171-3/+1
|
* vscode: eliminate floating promises and insane amount of resource handle leaksVeetaha2020-02-051-0/+2
|
* vscode: use void where possibleVeetaha2020-02-021-1/+1
|
* vscode extension: migrate from any to unknown where possibleVeetaha2020-02-021-1/+1
|
* Add semicolonsAleksey Kladov2019-12-311-1/+1
|
* Fix NPEsAleksey Kladov2019-12-311-5/+4
|
* Reformat with tsfmtAleksey Kladov2019-12-301-2/+2
|
* Move expand macro to the new contextAleksey Kladov2019-12-301-4/+3
|
* CleanupAleksey Kladov2019-12-301-10/+10
|
* Refactor show syntax tree actionAleksey Kladov2019-12-301-0/+106