Skip to content

Commit a943049

Browse files
committed
chore: change the configuration scope to window
1 parent 4c0d59a commit a943049

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,13 @@
268268
"leetcode.hideSolved": {
269269
"type": "boolean",
270270
"default": false,
271-
"scope": "application",
271+
"scope": "window",
272272
"description": "Hide solved problems."
273273
},
274274
"leetcode.showLocked": {
275275
"type": "boolean",
276276
"default": false,
277-
"scope": "application",
277+
"scope": "window",
278278
"description": "Show locked problems."
279279
},
280280
"leetcode.defaultLanguage": {
@@ -298,7 +298,7 @@
298298
"swift",
299299
"typescript"
300300
],
301-
"scope": "application",
301+
"scope": "window",
302302
"description": "Default language for solving the problems."
303303
},
304304
"leetcode.showDescription": {
@@ -314,50 +314,50 @@
314314
"Show the problem description in a new webview window",
315315
"Show the problem description in the file's comment"
316316
],
317-
"scope": "application",
317+
"scope": "window",
318318
"description": "Specify where to show the description."
319319
},
320320
"leetcode.showCommentDescription": {
321321
"type": "boolean",
322322
"default": false,
323-
"scope": "application",
323+
"scope": "window",
324324
"description": "[Deprecated] Include problem description in comments.",
325325
"deprecationMessage": "This setting will be deprecated in 0.17.0, please use 'leetcode.showDescription' instead"
326326
},
327327
"leetcode.hint.setDefaultLanguage": {
328328
"type": "boolean",
329329
"default": true,
330-
"scope": "application",
330+
"scope": "window",
331331
"description": "Show a hint to set the default language."
332332
},
333333
"leetcode.hint.configWebviewMarkdown": {
334334
"type": "boolean",
335335
"default": true,
336-
"scope": "application",
336+
"scope": "window",
337337
"description": "Show a hint to change webview appearance through markdown config."
338338
},
339339
"leetcode.hint.commentDescription": {
340340
"type": "boolean",
341341
"default": true,
342-
"scope": "application",
342+
"scope": "window",
343343
"description": "Show a hint to enable comment description in solution code file."
344344
},
345345
"leetcode.hint.commandShortcut": {
346346
"type": "boolean",
347347
"default": true,
348-
"scope": "application",
348+
"scope": "window",
349349
"description": "Show a hint to configure commands key binding."
350350
},
351351
"leetcode.useWsl": {
352352
"type": "boolean",
353353
"default": false,
354-
"scope": "application",
354+
"scope": "window",
355355
"description": "Use the Windows Subsystem for Linux."
356356
},
357357
"leetcode.endpoint": {
358358
"type": "string",
359359
"default": "leetcode",
360-
"scope": "application",
360+
"scope": "window",
361361
"enum": [
362362
"leetcode",
363363
"leetcode-cn"
@@ -366,13 +366,13 @@
366366
},
367367
"leetcode.workspaceFolder": {
368368
"type": "string",
369-
"scope": "application",
369+
"scope": "window",
370370
"description": "The path of the workspace folder to store the problem files.",
371371
"default": ""
372372
},
373373
"leetcode.filePath": {
374374
"type": "object",
375-
"scope": "application",
375+
"scope": "window",
376376
"description": "The output folder and filename to save the problem files.",
377377
"properties": {
378378
"default": {
@@ -614,7 +614,7 @@
614614
"leetcode.enableStatusBar": {
615615
"type": "boolean",
616616
"default": true,
617-
"scope": "application",
617+
"scope": "window",
618618
"description": "Show the LeetCode status bar or not."
619619
},
620620
"leetcode.editor.shortcuts": {
@@ -623,7 +623,7 @@
623623
"submit",
624624
"test"
625625
],
626-
"scope": "application",
626+
"scope": "window",
627627
"items": {
628628
"type": "string",
629629
"enum": [
@@ -646,13 +646,13 @@
646646
"leetcode.enableSideMode": {
647647
"type": "boolean",
648648
"default": true,
649-
"scope": "application",
649+
"scope": "window",
650650
"description": "Determine whether to group all webview pages into the second editor column when solving problems."
651651
},
652652
"leetcode.nodePath": {
653653
"type": "string",
654654
"default": "node",
655-
"scope": "application",
655+
"scope": "window",
656656
"description": "The Node.js executable path. for example, C:\\Program Files\\nodejs\\node.exe"
657657
}
658658
}

0 commit comments

Comments
 (0)