rust-analyzer/editors/code
bors[bot] f0ba01cd43
Merge #3817
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 <veetaha2@gmail.com>
2020-04-02 07:32:14 +00:00
..
src Merge #3817 2020-04-02 07:32:14 +00:00
.eslintrc.js vscode: remove type assertion 2020-02-24 21:23:56 +02:00
.gitignore add rollup bundler for vscode extension 2019-09-23 23:25:16 +02:00
.vscodeignore Actually include readme into .vsix 2020-03-03 18:40:27 +01:00
icon.png Extension icon 2020-01-15 16:07:39 +01:00
package-lock.json rollup 2.3.2 2020-04-01 14:44:30 -04:00
package.json Merge #3817 2020-04-02 07:32:14 +00:00
ra_syntax_tree.tmGrammar.json vscode: add highlighting of syntax tree 2020-04-02 05:38:52 +03:00
README.md Minimal viable meta 2020-03-02 14:27:26 +01:00
rollup.config.js Add typing annotations for rollup config 2020-03-18 16:30:34 -06:00
tsconfig.json Target es2019 (code 1.43 uses chromium 78) 2020-03-18 16:30:34 -06:00

rust-analyzer

Provides support for rust-analyzer: novel LSP server for the Rust programming language.

See https://rust-analyzer.github.io/ for more information.