File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,31 @@ This VS Code extension provides code editing helpers for authoring ZenStack's sc
66
77## Features
88
9- - Syntax highlighting
9+ - Syntax highlighting of ` *.zmodel ` files
10+
11+ - In case the schema file is not recognized automatically, add the following to your settings.json file:
12+
13+ ``` json
14+ "files.associations" : {
15+ "*.zmodel" : " zmodel"
16+ },
17+ ```
18+
1019- Auto formatting
20+
21+ - To automatically format on save, add the following to your settings.json file:
22+
23+ ```json
24+ "editor.formatOnSave" : true
25+ ```
26+
27+ - To enable formatting in combination with prettier, add the following to your settings.json file:
28+ ```json
29+ "[zmodel]" : {
30+ "editor.defaultFormatter" : " zenstack.zenstack"
31+ },
32+ ```
33+
1134- Inline error reporting
1235- Go-to definition
1336- Hover documentation
You can’t perform that action at this time.
0 commit comments