Skip to content

Commit 6611182

Browse files
committed
macro.keywords.description any type
1 parent 65caab6 commit 6611182

2 files changed

Lines changed: 18 additions & 21 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "macro-executor",
33
"displayName": "Macro Executor Language",
44
"description": "Fanuc Macro-Executor Programming Language",
5-
"version": "0.2.0",
5+
"version": "0.2.1",
66
"author": "iSorp",
77
"publisher": "iSorp",
88
"license": "MIT",
@@ -142,26 +142,25 @@
142142
"properties": {
143143
"macro.keywords": {
144144
"scope": "resource",
145-
"type" : "array",
145+
"type": "array",
146146
"description": "custom keywords",
147147
"items": {
148-
"type" :"object",
149-
"default" : {
148+
"type": "object",
149+
"default": {
150150
"symbol": "special symbol",
151-
"scope": "variable",
151+
"scope": "macrovar",
152152
"description": "this text will be shown on hover and completion"
153153
},
154-
"properties" : {
155-
"type" : "object",
154+
"properties": {
155+
"type": "object",
156156
"symbol": {
157-
"type" : "string"
157+
"type": "string"
158158
},
159159
"scope": {
160-
"type" : "string",
161-
"enum": [
160+
"type": "string",
161+
"enum": [
162162
"number",
163163
"macrovar",
164-
"symbol",
165164
"constant",
166165
"language",
167166
"label",
@@ -175,12 +174,10 @@
175174
"custom_5"
176175
]
177176
},
178-
"description": {
179-
"type" : "string"
180-
},
181-
"nodeType" : {
182-
"type" : "string",
183-
"enum": [
177+
"description": {},
178+
"nodeType": {
179+
"type": "string",
180+
"enum": [
184181
"",
185182
"Label",
186183
"Variable",

0 commit comments

Comments
 (0)