Skip to content

Commit a7e49fb

Browse files
authored
Update CONTRIBUTING.md (#320)
1 parent c826905 commit a7e49fb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CONTRIBUTING.md

+18
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,23 @@ error.
8282
In Visual Studio Code you will find this output in the `Output``Cairo Language Server` panel.
8383
We're not copying these here because nobody will bother keeping this document in sync.
8484

85+
### Custom commands
86+
87+
Special commands for developers are available via Visual Studio Code [Command Palette][command-palette].
88+
These include:
89+
- Cairo: View currently analyzed crates
90+
- Cairo: View syntax tree of the current file content
91+
92+
To make the best use of these add the following variable to `"cairo1.languageServerExtraEnv"`
93+
section in `.vscode/settings.json`:
94+
```json
95+
{
96+
"cairo1.languageServerExtraEnv": {
97+
"CLICOLOR_FORCE": "1"
98+
}
99+
}
100+
```
101+
85102
### Use tests
86103

87104
If you find a short reproduction of your problem, we strongly suggest writing an E2E test and
@@ -131,3 +148,4 @@ Thanks! ❤️ ❤️ ❤️
131148
CairoLS Team
132149

133150
[env-filter-directives]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
151+
[command-palette]: https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette

0 commit comments

Comments
 (0)