Skip to content

Commit aaf730c

Browse files
authored
Merge pull request #14 from atom-ide-community/feat/template-interpolation-config-support
Add template interpolation service config support
2 parents 13db2ad + 41fa717 commit aaf730c

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

lib/config.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ const initializationOptions = {
1212
format: {
1313
defaultFormatterOptions: {},
1414
options: {}
15+
},
16+
dev: {},
17+
trace: {},
18+
experimental: {
19+
templateInterpolationService:
20+
extensionConfig.experimental.templateInterpolationService
1521
}
1622
},
1723
css: {},
@@ -25,10 +31,7 @@ const initializationOptions = {
2531
format: {}
2632
},
2733
emmet: {},
28-
stylusSupremacy: {},
29-
dev: {},
30-
trace: {},
31-
experimental: {}
34+
stylusSupremacy: {}
3235
}
3336
};
3437

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"title": "Validation",
8989
"description": "Linting and error checking. *Requires reload to take effect.*",
9090
"type": "object",
91+
"order": 1,
9192
"properties": {
9293
"script": {
9394
"title": "Script",
@@ -111,6 +112,19 @@
111112
"order": 3
112113
}
113114
}
115+
},
116+
"experimental": {
117+
"title": "Experimental",
118+
"description": "*Disabled by default. Requires reload to take effect.*",
119+
"type": "object",
120+
"properties": {
121+
"templateInterpolationService": {
122+
"title": "Template interpolation service",
123+
"description": "Support for diagnostics, references, jump to definition etc. in template",
124+
"type": "boolean",
125+
"default": false
126+
}
127+
}
114128
}
115129
}
116130
}

0 commit comments

Comments
 (0)