Skip to content

Commit d9dc046

Browse files
authored
prepare 0.10.0 (LeetCode-OpenSource#97)
1 parent 24a59a3 commit d9dc046

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

ACKNOWLEDGEMENTS.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ A big thanks to the following individuals for contributing:
55
- [@purocean](https://github.com/purocean) for contributing [#46](https://github.com/jdneo/vscode-leetcode/pull/46)
66
- [@Xeonacid](https://github.com/Xeonacid) for contributing [#58](https://github.com/jdneo/vscode-leetcode/pull/58).
77
- [@Himself65](https://github.com/Himself65) for contributing [#61](https://github.com/jdneo/vscode-leetcode/pull/61)
8+
- [@Vigilans](https://github.com/Vigilans) for contributing [#94](https://github.com/jdneo/vscode-leetcode/pull/94)

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to the "leetcode" extension will be documented in this file.
33

44
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
55

6+
## [0.10.0]
7+
## Added
8+
- Add an extension setting to hide solved problems ([#95](https://github.com/jdneo/vscode-leetcode/issues/95))
9+
- Support categorize problems by company, tag, difficulty and favorite ([#67](https://github.com/jdneo/vscode-leetcode/issues/67))
10+
611
## [0.9.0]
712
### Changed
813
- Improve the experience of switching endpoint ([#85](https://github.com/jdneo/vscode-leetcode/issues/85))

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ This extension provides several commands in the Command Palette (F1 or Ctrl + Sh
5555
- **LeetCode: Submit to LeetCode** - Submit the solution file to LeetCode
5656
- **LeetCode: Switch endpoint** - Switch the LeetCode endpoint. (LeetCode or LeetCode-cn)
5757

58+
## Settings
59+
| Setting Name | Description | Default Value |
60+
|---|---|---|
61+
| `leetcode.hideSolved` | Specify to hide the solved problems or not | `false` |
62+
| `leetcode.showLocked` | Specify to show the locked problems or not. Only Premium users could open the locked problems | `false` |
63+
| `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` |
64+
| `leetcode.useWsl` | Specify whether to use WSL or not | `false` |
65+
| `leetcode.endpoint` | Specify the active endpoint. Supported endpoints are: `leetcode`, `leetcode-cn` | `leetcode` |
66+
5867
## Known Issues:
5968
- This extension will infer the current target problem according to the active editing file. Please do not change the file name.
6069

@@ -116,6 +125,15 @@ Refer to [CHANGELOG](https://github.com/jdneo/vscode-leetcode/blob/master/CHANGE
116125
- **LeetCode: Submit to LeetCode** - 提交答案到 LeetCode
117126
- **LeetCode: Switch endpoint** - 变更 LeetCode 终端(LeetCode 或 领扣)
118127

128+
## 插件配置项
129+
| 配置项名称 | 描述 | 默认值 |
130+
|---|---|---|
131+
| `leetcode.hideSolved` | 指定是否要隐藏已解决的问题 | `false` |
132+
| `leetcode.showLocked` | 指定是否显示付费题目,只有付费账户才可以打开付费题目 | `false` |
133+
| `leetcode.defaultLanguage` | 指定答题时使用的默认语言,可选语言有:`bash`, `c`, `cpp`, `csharp`, `golang`, `java`, `javascript`, `kotlin`, `mysql`, `python`,`python3`,`ruby`,`scala`,`swift` | `N/A` |
134+
| `leetcode.useWsl` | 指定是否启用 WSL | `false` |
135+
| `leetcode.endpoint` | 指定使用的终端,可用终端有:`leetcode`, `leetcode-cn` | `leetcode` |
136+
119137
## 已知问题
120138
- 本插件会根据文件名称推测当前的目标题目,因此建议不要改变文件名。
121139

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-leetcode",
33
"displayName": "LeetCode",
44
"description": "Solve LeetCode problems in VS Code",
5-
"version": "0.9.0",
5+
"version": "0.10.0",
66
"author": "Sheng Chen",
77
"publisher": "shengchen",
88
"license": "MIT",

0 commit comments

Comments
 (0)