File tree 1 file changed +24
-1
lines changed
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
6
6
7
7
## Features
8
8
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
+
10
19
- 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
+
11
34
- Inline error reporting
12
35
- Go-to definition
13
36
- Hover documentation
You can’t perform that action at this time.
0 commit comments