mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-09 18:02:48 +00:00
![]() 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": { /* */ } } ] } } ```  Related: #3682 Co-authored-by: veetaha <veetaha2@gmail.com> |
||
---|---|---|
.. | ||
commands | ||
client.ts | ||
color_theme.ts | ||
config.ts | ||
ctx.ts | ||
highlighting.ts | ||
inlay_hints.ts | ||
main.ts | ||
net.ts | ||
persistent_state.ts | ||
rust-analyzer-api.ts | ||
source_change.ts | ||
status_display.ts | ||
tasks.ts | ||
util.ts |