File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,23 @@ error.
82
82
In Visual Studio Code you will find this output in the ` Output ` → ` Cairo Language Server ` panel.
83
83
We're not copying these here because nobody will bother keeping this document in sync.
84
84
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
+
85
102
### Use tests
86
103
87
104
If you find a short reproduction of your problem, we strongly suggest writing an E2E test and
@@ -131,3 +148,4 @@ Thanks! ❤️ ❤️ ❤️
131
148
CairoLS Team
132
149
133
150
[ 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
You can’t perform that action at this time.
0 commit comments