From 2d12b53f3b890dd89da2ab8fed5c5313e0b14044 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Sat, 2 Feb 2019 14:26:00 +0800 Subject: [PATCH 1/2] prepare 0.10.0 --- CHANGELOG.md | 5 +++++ README.md | 18 ++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 4 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3f49e11..fed2c30b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to the "leetcode" extension will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +## [0.10.0] +## Added +- Add an extension setting to hide solved problems ([#95](https://github.com/jdneo/vscode-leetcode/issues/95)) +- Support categorize problems by company, tag, difficulty and favorite ([#67](https://github.com/jdneo/vscode-leetcode/issues/67)) + ## [0.9.0] ### Changed - Improve the experience of switching endpoint ([#85](https://github.com/jdneo/vscode-leetcode/issues/85)) diff --git a/README.md b/README.md index 50201de7..d58df769 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,15 @@ This extension provides several commands in the Command Palette (F1 or Ctrl + Sh - **LeetCode: Submit to LeetCode** - Submit the solution file to LeetCode - **LeetCode: Switch endpoint** - Switch the LeetCode endpoint. (LeetCode or LeetCode-cn) +## Settings +| Setting Name | Description | Default Value | +|---|---|---| +| `leetcode.hideSolved` | Specify to hide the solved problems or not | `false` | +| `leetcode.showLocked` | Specify to show the locked problems or not. Only Premium users could open the locked problems | `false` | +| `leetcode.defaultLanguage` | Specify the default language used to solve the problem. Supported languages are: `bash`, `c`, `cpp`, `csharp`, `golang`, `java`, `javascript`, `kotlin`, `mysql`, `python`,`python3`,`ruby`,`scala`,`swift` | `N/A` | +| `leetcode.useWsl` | Specify whether to use WSL or not | `false` | +| `leetcode.endpoint` | Specify the active endpoint. Supported endpoints are: `leetcode`, `leetcode-cn` | `leetcode` | + ## Known Issues: - This extension will infer the current target problem according to the active editing file. Please do not change the file name. @@ -116,6 +125,15 @@ Refer to [CHANGELOG](https://github.com/jdneo/vscode-leetcode/blob/master/CHANGE - **LeetCode: Submit to LeetCode** - 提交答案到 LeetCode - **LeetCode: Switch endpoint** - 变更 LeetCode 终端(LeetCode 或 领扣) +## 插件配置项 +| 配置项名称 | 描述 | 默认值 | +|---|---|---| +| `leetcode.hideSolved` | 指定是否要隐藏已解决的问题 | `false` | +| `leetcode.showLocked` | 指定是否显示付费题目,只有付费账户才可以打开付费题目 | `false` | +| `leetcode.defaultLanguage` | 指定答题时使用的默认语言,可选语言有:`bash`, `c`, `cpp`, `csharp`, `golang`, `java`, `javascript`, `kotlin`, `mysql`, `python`,`python3`,`ruby`,`scala`,`swift` | `N/A` | +| `leetcode.useWsl` | 指定是否启用 WSL | `false` | +| `leetcode.endpoint` | 指定使用的终端,可用终端有:`leetcode`, `leetcode-cn` | `leetcode` | + ## 已知问题 - 本插件会根据文件名称推测当前的目标题目,因此建议不要改变文件名。 diff --git a/package-lock.json b/package-lock.json index 4b6924ec..99f8dc7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-leetcode", - "version": "0.9.0", + "version": "0.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 307c8dbd..8b7b1109 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode", "displayName": "LeetCode", "description": "Solve LeetCode problems in VS Code", - "version": "0.9.0", + "version": "0.10.0", "author": "Sheng Chen", "publisher": "shengchen", "license": "MIT", From 1a65450df762cd328b853149dfb878751ee02f3f Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Sat, 2 Feb 2019 14:31:50 +0800 Subject: [PATCH 2/2] Add contributor --- ACKNOWLEDGEMENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ACKNOWLEDGEMENTS.md b/ACKNOWLEDGEMENTS.md index 1ff14005..bd9d602f 100644 --- a/ACKNOWLEDGEMENTS.md +++ b/ACKNOWLEDGEMENTS.md @@ -5,3 +5,4 @@ A big thanks to the following individuals for contributing: - [@purocean](https://github.com/purocean) for contributing [#46](https://github.com/jdneo/vscode-leetcode/pull/46) - [@Xeonacid](https://github.com/Xeonacid) for contributing [#58](https://github.com/jdneo/vscode-leetcode/pull/58). - [@Himself65](https://github.com/Himself65) for contributing [#61](https://github.com/jdneo/vscode-leetcode/pull/61) +- [@Vigilans](https://github.com/Vigilans) for contributing [#94](https://github.com/jdneo/vscode-leetcode/pull/94)