Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support folder/workspace setting overrides #822

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,13 @@
"leetcode.hideSolved": {
"type": "boolean",
"default": false,
"scope": "application",
"scope": "machine-overridable",
"description": "Hide solved problems."
},
"leetcode.showLocked": {
"type": "boolean",
"default": false,
"scope": "application",
"scope": "machine-overridable",
"description": "Show locked problems."
},
"leetcode.defaultLanguage": {
Expand All @@ -321,7 +321,7 @@
"swift",
"typescript"
],
"scope": "application",
"scope": "machine-overridable",
"description": "Default language for solving the problems."
},
"leetcode.showDescription": {
Expand All @@ -337,50 +337,50 @@
"Show the problem description in a new webview window",
"Show the problem description in the file's comment"
],
"scope": "application",
"scope": "machine-overridable",
"description": "Specify where to show the description."
},
"leetcode.showCommentDescription": {
"type": "boolean",
"default": false,
"scope": "application",
"scope": "machine-overridable",
"description": "[Deprecated] Include problem description in comments.",
"deprecationMessage": "This setting will be deprecated in 0.17.0, please use 'leetcode.showDescription' instead"
},
"leetcode.hint.setDefaultLanguage": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Show a hint to set the default language."
},
"leetcode.hint.configWebviewMarkdown": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Show a hint to change webview appearance through markdown config."
},
"leetcode.hint.commentDescription": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Show a hint to enable comment description in solution code file."
},
"leetcode.hint.commandShortcut": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Show a hint to configure commands key binding."
},
"leetcode.useWsl": {
"type": "boolean",
"default": false,
"scope": "application",
"scope": "machine-overridable",
"description": "Use the Windows Subsystem for Linux."
},
"leetcode.endpoint": {
"type": "string",
"default": "leetcode",
"scope": "application",
"scope": "machine-overridable",
"enum": [
"leetcode",
"leetcode-cn"
Expand All @@ -390,18 +390,18 @@
"leetcode.useEndpointTranslation": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Use endpoint's translation (if available)"
},
"leetcode.workspaceFolder": {
"type": "string",
"scope": "application",
"scope": "machine-overridable",
"description": "The path of the workspace folder to store the problem files.",
"default": ""
},
"leetcode.filePath": {
"type": "object",
"scope": "application",
"scope": "machine-overridable",
"description": "The output folder and filename to save the problem files.",
"properties": {
"default": {
Expand Down Expand Up @@ -643,7 +643,7 @@
"leetcode.enableStatusBar": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Show the LeetCode status bar or not."
},
"leetcode.editor.shortcuts": {
Expand All @@ -652,7 +652,7 @@
"submit",
"test"
],
"scope": "application",
"scope": "machine-overridable",
"items": {
"type": "string",
"enum": [
Expand All @@ -675,25 +675,25 @@
"leetcode.enableSideMode": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Determine whether to group all webview pages into the second editor column when solving problems."
},
"leetcode.nodePath": {
"type": "string",
"default": "node",
"scope": "application",
"scope": "machine-overridable",
"description": "The Node.js executable path. for example, C:\\Program Files\\nodejs\\node.exe"
},
"leetcode.colorizeProblems": {
"type": "boolean",
"default": true,
"scope": "application",
"scope": "machine-overridable",
"description": "Add difficulty badge and colorize problems files in explorer tree."
},
"leetcode.problems.sortStrategy": {
"type": "string",
"default": "None",
"scope": "application",
"scope": "machine-overridable",
"enum": [
"None",
"Acceptance Rate (Ascending)",
Expand Down