@@ -12,9 +12,7 @@ export const extensionId = `${publisher}.${name}`;
12
12
/**
13
13
* Type union of all commands
14
14
*/
15
- export type CommandKey =
16
- | 'vue.action.restartServer'
17
- | 'vue.action.splitEditors' ;
15
+ export type CommandKey = 'vue.action.restartServer' ;
18
16
19
17
/**
20
18
* Commands map registed by `Vue.volar`
@@ -25,11 +23,6 @@ export const commands = {
25
23
* @value `vue.action.restartServer`
26
24
*/
27
25
actionRestartServer : 'vue.action.restartServer' ,
28
- /**
29
- * %command.action.splitEditors%
30
- * @value `vue.action.splitEditors`
31
- */
32
- actionSplitEditors : 'vue.action.splitEditors' ,
33
26
} satisfies Record < string , CommandKey > ;
34
27
35
28
/**
@@ -38,9 +31,6 @@ export const commands = {
38
31
export type ConfigKey =
39
32
| 'vue.trace.server'
40
33
| 'vue.server.includeLanguages'
41
- | 'vue.splitEditors.icon'
42
- | 'vue.splitEditors.layout.left'
43
- | 'vue.splitEditors.layout.right'
44
34
| 'vue.codeActions.askNewComponentName'
45
35
| 'vue.complete.casing.tags'
46
36
| 'vue.complete.casing.props'
@@ -60,9 +50,6 @@ export type ConfigKey =
60
50
export interface ConfigKeyTypeMap {
61
51
'vue.trace.server' : 'off' | 'messages' | 'verbose' ;
62
52
'vue.server.includeLanguages' : string [ ] ;
63
- 'vue.splitEditors.icon' : boolean ;
64
- 'vue.splitEditors.layout.left' : string [ ] ;
65
- 'vue.splitEditors.layout.right' : string [ ] ;
66
53
'vue.codeActions.askNewComponentName' : boolean ;
67
54
'vue.complete.casing.tags' : 'autoKebab' | 'autoPascal' | 'kebab' | 'pascal' ;
68
55
'vue.complete.casing.props' : 'autoKebab' | 'autoCamel' | 'kebab' | 'camel' ;
@@ -90,9 +77,6 @@ export interface ConfigKeyTypeMap {
90
77
export interface ConfigShorthandMap {
91
78
traceServer : 'vue.trace.server' ;
92
79
serverIncludeLanguages : 'vue.server.includeLanguages' ;
93
- splitEditorsIcon : 'vue.splitEditors.icon' ;
94
- splitEditorsLayoutLeft : 'vue.splitEditors.layout.left' ;
95
- splitEditorsLayoutRight : 'vue.splitEditors.layout.right' ;
96
80
codeActionsAskNewComponentName : 'vue.codeActions.askNewComponentName' ;
97
81
completeCasingTags : 'vue.complete.casing.tags' ;
98
82
completeCasingProps : 'vue.complete.casing.props' ;
@@ -113,9 +97,6 @@ export interface ConfigShorthandMap {
113
97
export interface ConfigShorthandTypeMap {
114
98
traceServer : 'off' | 'messages' | 'verbose' ;
115
99
serverIncludeLanguages : string [ ] ;
116
- splitEditorsIcon : boolean ;
117
- splitEditorsLayoutLeft : string [ ] ;
118
- splitEditorsLayoutRight : string [ ] ;
119
100
codeActionsAskNewComponentName : boolean ;
120
101
completeCasingTags : 'autoKebab' | 'autoPascal' | 'kebab' | 'pascal' ;
121
102
completeCasingProps : 'autoKebab' | 'autoCamel' | 'kebab' | 'camel' ;
@@ -167,33 +148,6 @@ export const configs = {
167
148
key : 'vue.server.includeLanguages' ,
168
149
default : [ 'vue' ] ,
169
150
} as ConfigItem < 'vue.server.includeLanguages' > ,
170
- /**
171
- * @key `vue.splitEditors.icon`
172
- * @default `false`
173
- * @type `boolean`
174
- */
175
- splitEditorsIcon : {
176
- key : 'vue.splitEditors.icon' ,
177
- default : false ,
178
- } as ConfigItem < 'vue.splitEditors.icon' > ,
179
- /**
180
- * @key `vue.splitEditors.layout.left`
181
- * @default `["script","scriptSetup","styles"]`
182
- * @type `array`
183
- */
184
- splitEditorsLayoutLeft : {
185
- key : 'vue.splitEditors.layout.left' ,
186
- default : [ 'script' , 'scriptSetup' , 'styles' ] ,
187
- } as ConfigItem < 'vue.splitEditors.layout.left' > ,
188
- /**
189
- * @key `vue.splitEditors.layout.right`
190
- * @default `["template","customBlocks"]`
191
- * @type `array`
192
- */
193
- splitEditorsLayoutRight : {
194
- key : 'vue.splitEditors.layout.right' ,
195
- default : [ 'template' , 'customBlocks' ] ,
196
- } as ConfigItem < 'vue.splitEditors.layout.right' > ,
197
151
/**
198
152
* @key `vue.codeActions.askNewComponentName`
199
153
* @default `true`
@@ -334,9 +288,6 @@ export const configs = {
334
288
export interface ScopedConfigKeyTypeMap {
335
289
'trace.server' : 'off' | 'messages' | 'verbose' ;
336
290
'server.includeLanguages' : string [ ] ;
337
- 'splitEditors.icon' : boolean ;
338
- 'splitEditors.layout.left' : string [ ] ;
339
- 'splitEditors.layout.right' : string [ ] ;
340
291
'codeActions.askNewComponentName' : boolean ;
341
292
'complete.casing.tags' : 'autoKebab' | 'autoPascal' | 'kebab' | 'pascal' ;
342
293
'complete.casing.props' : 'autoKebab' | 'autoCamel' | 'kebab' | 'camel' ;
@@ -366,9 +317,6 @@ export const scopedConfigs = {
366
317
defaults : {
367
318
'trace.server' : 'off' ,
368
319
'server.includeLanguages' : [ 'vue' ] ,
369
- 'splitEditors.icon' : false ,
370
- 'splitEditors.layout.left' : [ 'script' , 'scriptSetup' , 'styles' ] ,
371
- 'splitEditors.layout.right' : [ 'template' , 'customBlocks' ] ,
372
320
'codeActions.askNewComponentName' : true ,
373
321
'complete.casing.tags' : 'autoPascal' ,
374
322
'complete.casing.props' : 'autoKebab' ,
@@ -395,13 +343,6 @@ export interface NestedConfigs {
395
343
'server' : {
396
344
'includeLanguages' : string [ ] ;
397
345
} ;
398
- 'splitEditors' : {
399
- 'icon' : boolean ;
400
- 'layout' : {
401
- 'left' : string [ ] ;
402
- 'right' : string [ ] ;
403
- } ;
404
- } ;
405
346
'codeActions' : {
406
347
'askNewComponentName' : boolean ;
407
348
} ;
@@ -452,13 +393,6 @@ export interface NestedScopedConfigs {
452
393
'server' : {
453
394
'includeLanguages' : string [ ] ;
454
395
} ;
455
- 'splitEditors' : {
456
- 'icon' : boolean ;
457
- 'layout' : {
458
- 'left' : string [ ] ;
459
- 'right' : string [ ] ;
460
- } ;
461
- } ;
462
396
'codeActions' : {
463
397
'askNewComponentName' : boolean ;
464
398
} ;
0 commit comments