File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/svelte-vscode/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class TsPlugin {
46
46
return ;
47
47
}
48
48
49
- const answers = [ 'Ask again later' , "Don't show this message again" , 'Enable Plugin '] ;
49
+ const answers = [ 'Enable' , 'Later' , 'Do not show again'] ;
50
50
const response = await window . showInformationMessage (
51
51
'The Svelte for VS Code extension now contains a TypeScript plugin. ' +
52
52
'Enabling it will provide intellisense for Svelte files from TS/JS files. ' +
@@ -55,9 +55,9 @@ export class TsPlugin {
55
55
...answers
56
56
) ;
57
57
58
- if ( response === answers [ 2 ] ) {
58
+ if ( response === answers [ 0 ] ) {
59
59
workspace . getConfiguration ( 'svelte' ) . update ( 'enable-ts-plugin' , true , true ) ;
60
- } else if ( response === answers [ 1 ] ) {
60
+ } else if ( response === answers [ 2 ] ) {
61
61
workspace . getConfiguration ( 'svelte' ) . update ( 'ask-to-enable-ts-plugin' , false , true ) ;
62
62
}
63
63
}
You can’t perform that action at this time.
0 commit comments