|
268 | 268 | "leetcode.hideSolved": { |
269 | 269 | "type": "boolean", |
270 | 270 | "default": false, |
271 | | - "scope": "application", |
| 271 | + "scope": "window", |
272 | 272 | "description": "Hide solved problems." |
273 | 273 | }, |
274 | 274 | "leetcode.showLocked": { |
275 | 275 | "type": "boolean", |
276 | 276 | "default": false, |
277 | | - "scope": "application", |
| 277 | + "scope": "window", |
278 | 278 | "description": "Show locked problems." |
279 | 279 | }, |
280 | 280 | "leetcode.defaultLanguage": { |
|
298 | 298 | "swift", |
299 | 299 | "typescript" |
300 | 300 | ], |
301 | | - "scope": "application", |
| 301 | + "scope": "window", |
302 | 302 | "description": "Default language for solving the problems." |
303 | 303 | }, |
304 | 304 | "leetcode.showDescription": { |
|
314 | 314 | "Show the problem description in a new webview window", |
315 | 315 | "Show the problem description in the file's comment" |
316 | 316 | ], |
317 | | - "scope": "application", |
| 317 | + "scope": "window", |
318 | 318 | "description": "Specify where to show the description." |
319 | 319 | }, |
320 | 320 | "leetcode.showCommentDescription": { |
321 | 321 | "type": "boolean", |
322 | 322 | "default": false, |
323 | | - "scope": "application", |
| 323 | + "scope": "window", |
324 | 324 | "description": "[Deprecated] Include problem description in comments.", |
325 | 325 | "deprecationMessage": "This setting will be deprecated in 0.17.0, please use 'leetcode.showDescription' instead" |
326 | 326 | }, |
327 | 327 | "leetcode.hint.setDefaultLanguage": { |
328 | 328 | "type": "boolean", |
329 | 329 | "default": true, |
330 | | - "scope": "application", |
| 330 | + "scope": "window", |
331 | 331 | "description": "Show a hint to set the default language." |
332 | 332 | }, |
333 | 333 | "leetcode.hint.configWebviewMarkdown": { |
334 | 334 | "type": "boolean", |
335 | 335 | "default": true, |
336 | | - "scope": "application", |
| 336 | + "scope": "window", |
337 | 337 | "description": "Show a hint to change webview appearance through markdown config." |
338 | 338 | }, |
339 | 339 | "leetcode.hint.commentDescription": { |
340 | 340 | "type": "boolean", |
341 | 341 | "default": true, |
342 | | - "scope": "application", |
| 342 | + "scope": "window", |
343 | 343 | "description": "Show a hint to enable comment description in solution code file." |
344 | 344 | }, |
345 | 345 | "leetcode.hint.commandShortcut": { |
346 | 346 | "type": "boolean", |
347 | 347 | "default": true, |
348 | | - "scope": "application", |
| 348 | + "scope": "window", |
349 | 349 | "description": "Show a hint to configure commands key binding." |
350 | 350 | }, |
351 | 351 | "leetcode.useWsl": { |
352 | 352 | "type": "boolean", |
353 | 353 | "default": false, |
354 | | - "scope": "application", |
| 354 | + "scope": "window", |
355 | 355 | "description": "Use the Windows Subsystem for Linux." |
356 | 356 | }, |
357 | 357 | "leetcode.endpoint": { |
358 | 358 | "type": "string", |
359 | 359 | "default": "leetcode", |
360 | | - "scope": "application", |
| 360 | + "scope": "window", |
361 | 361 | "enum": [ |
362 | 362 | "leetcode", |
363 | 363 | "leetcode-cn" |
|
366 | 366 | }, |
367 | 367 | "leetcode.workspaceFolder": { |
368 | 368 | "type": "string", |
369 | | - "scope": "application", |
| 369 | + "scope": "window", |
370 | 370 | "description": "The path of the workspace folder to store the problem files.", |
371 | 371 | "default": "" |
372 | 372 | }, |
373 | 373 | "leetcode.filePath": { |
374 | 374 | "type": "object", |
375 | | - "scope": "application", |
| 375 | + "scope": "window", |
376 | 376 | "description": "The output folder and filename to save the problem files.", |
377 | 377 | "properties": { |
378 | 378 | "default": { |
|
614 | 614 | "leetcode.enableStatusBar": { |
615 | 615 | "type": "boolean", |
616 | 616 | "default": true, |
617 | | - "scope": "application", |
| 617 | + "scope": "window", |
618 | 618 | "description": "Show the LeetCode status bar or not." |
619 | 619 | }, |
620 | 620 | "leetcode.editor.shortcuts": { |
|
623 | 623 | "submit", |
624 | 624 | "test" |
625 | 625 | ], |
626 | | - "scope": "application", |
| 626 | + "scope": "window", |
627 | 627 | "items": { |
628 | 628 | "type": "string", |
629 | 629 | "enum": [ |
|
646 | 646 | "leetcode.enableSideMode": { |
647 | 647 | "type": "boolean", |
648 | 648 | "default": true, |
649 | | - "scope": "application", |
| 649 | + "scope": "window", |
650 | 650 | "description": "Determine whether to group all webview pages into the second editor column when solving problems." |
651 | 651 | }, |
652 | 652 | "leetcode.nodePath": { |
653 | 653 | "type": "string", |
654 | 654 | "default": "node", |
655 | | - "scope": "application", |
| 655 | + "scope": "window", |
656 | 656 | "description": "The Node.js executable path. for example, C:\\Program Files\\nodejs\\node.exe" |
657 | 657 | } |
658 | 658 | } |
|
0 commit comments