From a9430495a654fbc21a3307d9d8fa7bb70aa7d863 Mon Sep 17 00:00:00 2001 From: Aex Date: Sun, 2 May 2021 21:07:10 +0800 Subject: [PATCH 1/3] chore: change the configuration scope to window --- package.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index b1759a52..1ddad4d4 100644 --- a/package.json +++ b/package.json @@ -268,13 +268,13 @@ "leetcode.hideSolved": { "type": "boolean", "default": false, - "scope": "application", + "scope": "window", "description": "Hide solved problems." }, "leetcode.showLocked": { "type": "boolean", "default": false, - "scope": "application", + "scope": "window", "description": "Show locked problems." }, "leetcode.defaultLanguage": { @@ -298,7 +298,7 @@ "swift", "typescript" ], - "scope": "application", + "scope": "window", "description": "Default language for solving the problems." }, "leetcode.showDescription": { @@ -314,50 +314,50 @@ "Show the problem description in a new webview window", "Show the problem description in the file's comment" ], - "scope": "application", + "scope": "window", "description": "Specify where to show the description." }, "leetcode.showCommentDescription": { "type": "boolean", "default": false, - "scope": "application", + "scope": "window", "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": "window", "description": "Show a hint to set the default language." }, "leetcode.hint.configWebviewMarkdown": { "type": "boolean", "default": true, - "scope": "application", + "scope": "window", "description": "Show a hint to change webview appearance through markdown config." }, "leetcode.hint.commentDescription": { "type": "boolean", "default": true, - "scope": "application", + "scope": "window", "description": "Show a hint to enable comment description in solution code file." }, "leetcode.hint.commandShortcut": { "type": "boolean", "default": true, - "scope": "application", + "scope": "window", "description": "Show a hint to configure commands key binding." }, "leetcode.useWsl": { "type": "boolean", "default": false, - "scope": "application", + "scope": "window", "description": "Use the Windows Subsystem for Linux." }, "leetcode.endpoint": { "type": "string", "default": "leetcode", - "scope": "application", + "scope": "window", "enum": [ "leetcode", "leetcode-cn" @@ -366,13 +366,13 @@ }, "leetcode.workspaceFolder": { "type": "string", - "scope": "application", + "scope": "window", "description": "The path of the workspace folder to store the problem files.", "default": "" }, "leetcode.filePath": { "type": "object", - "scope": "application", + "scope": "window", "description": "The output folder and filename to save the problem files.", "properties": { "default": { @@ -614,7 +614,7 @@ "leetcode.enableStatusBar": { "type": "boolean", "default": true, - "scope": "application", + "scope": "window", "description": "Show the LeetCode status bar or not." }, "leetcode.editor.shortcuts": { @@ -623,7 +623,7 @@ "submit", "test" ], - "scope": "application", + "scope": "window", "items": { "type": "string", "enum": [ @@ -646,13 +646,13 @@ "leetcode.enableSideMode": { "type": "boolean", "default": true, - "scope": "application", + "scope": "window", "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": "window", "description": "The Node.js executable path. for example, C:\\Program Files\\nodejs\\node.exe" } } From d159d1325f754314a212ece7dda28b0fae7c8734 Mon Sep 17 00:00:00 2001 From: Aex Date: Sun, 2 May 2021 22:06:22 +0800 Subject: [PATCH 2/3] publish v0.17.1 --- README.md | 8 +++++++- package-lock.json | 2 +- package.json | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3396d0c7..ce86be73 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -# LeetCode +# LeetCode(Modified) + +### ❗️Attention❗️- This is a modified version that has merged some PR +- Change the configuration scope to window [#698](https://github.com/LeetCode-OpenSource/vscode-leetcode/pull/697) + +[Modified Repository](https://github.com/adaex/vscode-leetcode) + > Solve LeetCode problems in VS Code diff --git a/package-lock.json b/package-lock.json index 50c5fbc2..eac64937 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-leetcode", - "version": "0.17.0", + "version": "0.17.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1ddad4d4..b0f5c4b5 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "vscode-leetcode", - "displayName": "LeetCode", + "displayName": "LeetCode(Modified)", "description": "Solve LeetCode problems in VS Code", - "version": "0.17.0", + "version": "0.17.1", "author": "Sheng Chen", - "publisher": "LeetCode", + "publisher": "Adaex", "license": "MIT", "icon": "resources/LeetCode.png", "engines": { From f65862520716f5b1188d0dc4b98594d82c0fc5d4 Mon Sep 17 00:00:00 2001 From: Aex Date: Fri, 30 Jul 2021 10:39:35 +0000 Subject: [PATCH 3/3] publish v0.18.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 24c7df06..0f73359e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode", "displayName": "LeetCode(Modified)", "description": "Solve LeetCode problems in VS Code", - "version": "0.18.0", + "version": "0.18.1", "author": "Sheng Chen", "publisher": "Adaex", "license": "MIT",