Skip to content

Commit 7273a57

Browse files
committed
Update parameters
1 parent ce689d0 commit 7273a57

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ Go to your declaration definition by clicking on it.
5353

5454
This extension contributes the following settings:
5555

56-
* `shader-validator.validateOnType`: Enable/disable validate on type.
57-
* `shader-validator.validateOnSave`: Enable/disable validate on save.
56+
* `shader-validator.validate`: Enable/disable validation with common API.
57+
* `shader-validator.symbols`: Enable/disable symbol inspection & providers.
5858
* `shader-validator.severity`: Select minimal log severity for linting.
5959
* `shader-validator.includes`: All custom includes for linting.
6060
* `shader-validator.defines`: All custom macros and their values for linting.

package.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,13 @@
110110
{
111111
"title": "Common",
112112
"properties": {
113-
"shader-validator.autocomplete": {
114-
"description": "Autocomplete shader code as you type",
113+
"shader-validator.validate": {
114+
"description": "Validate shader as you type with common validator API.",
115115
"type": "boolean",
116116
"default": true
117117
},
118-
"shader-validator.validateOnType": {
119-
"description": "Validate shader as you type.",
120-
"type": "boolean",
121-
"default": true
122-
},
123-
"shader-validator.validateOnSave": {
124-
"description": "Validate shader when you save a file.",
118+
"shader-validator.symbols": {
119+
"description": "Provide symbol inspection with providers (goto, hover, completion...)",
125120
"type": "boolean",
126121
"default": true
127122
},

0 commit comments

Comments
 (0)