Skip to content

Commit 20a6a82

Browse files
authored
prepare for 0.5.1 (#36)
1 parent b319b62 commit 20a6a82

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ 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.5.1]
7+
### Fixed
8+
- Fix the bug when user's path contains whitespaces [#34](https://github.com/jdneo/vscode-leetcode/issues/34)
9+
610
## [0.5.0]
711
### Added
812
- Support submit and test solution files from the file explorer in VS Code ([#24](https://github.com/jdneo/vscode-leetcode/issues/24), [#26](https://github.com/jdneo/vscode-leetcode/issues/26))

README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,20 @@ Solve LeetCode problems in VS Code.
3030
### Switch and Create Session
3131
![SwitchSession](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/switchsession.gif)
3232

33-
### Show Problems in Explorer
33+
### Show Problems in Explorer <sup>1</sup>
3434
![ShowProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/showproblem.gif)
3535

36-
### Search Problems by Keywords
36+
### Search Problems by Keywords <sup>1</sup>
3737
![SearchProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/searchproblem.gif)
3838

39-
### Test solutions by customized test case <sup>1</sup>
39+
### Test solutions by customized test case <sup>2</sup>
4040
![TestSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/testsolution.gif)
4141

42-
### Submit Solutions to LeetCode <sup>1</sup>
42+
### Submit Solutions to LeetCode <sup>2</sup>
4343
![SubmitSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/solveproblem.gif)
4444

45-
<sup>1</sup> If you trigger the `Submit to LeetCode` and `Test in LeetCode` commands in the Command Palette, the extension will upload the current active file in editor.
45+
<sup>1</sup> If no folder is opened in VS Code, the extension will save the problem files in `$HOME/.leetcode/`. <br/>
46+
<sup>2</sup> If you trigger the `Submit to LeetCode` and `Test in LeetCode` commands in the Command Palette, the extension will upload the current active file in editor.
4647

4748
## Commands
4849
This extension provides several commands in the Command Palette (F1 or Ctrl + Shift + P):
@@ -87,19 +88,20 @@ This extension is based on [@skygragon](https://github.com/skygragon)'s [leetcod
8788
### 切换及创建 session
8889
![SwitchSession](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/switchsession.gif)
8990

90-
### 在 Explorer 中展示题目
91+
### 在 Explorer 中展示题目 <sup>1</sup>
9192
![ShowProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/showproblem.gif)
9293

93-
### 根据关键字搜索题目
94+
### 根据关键字搜索题目 <sup>1</sup>
9495
![SearchProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/searchproblem.gif)
9596

96-
### 用自定义测试用例测试答案 <sup>1</sup>
97+
### 用自定义测试用例测试答案 <sup>2</sup>
9798
![TestSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/testsolution.gif)
9899

99-
### 向 LeetCode 提交答案 <sup>1</sup>
100+
### 向 LeetCode 提交答案 <sup>2</sup>
100101
![SubmitSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/solveproblem.gif)
101102

102-
<sup>1</sup> 如果您通过命令面板触发 `Submit to LeetCode``Test in LeetCode` 命令,本插件将会提交当前文件至 LeetCode。
103+
<sup>1</sup> 如果 VS Code 中没有已打开的文件夹,插件会将题目文件存储于 `$HOME/.leetcode/` 目录下。<br/>
104+
<sup>2</sup> 如果您通过命令面板触发 `Submit to LeetCode``Test in LeetCode` 命令,本插件将会提交当前文件至 LeetCode。
103105

104106
## 命令
105107
该插件在命令面板(F1 或 Ctrl + Shift + P)中支持下列命令:

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.5.0",
5+
"version": "0.5.1",
66
"author": "Sheng Chen",
77
"publisher": "shengchen",
88
"icon": "resources/LeetCode.png",

0 commit comments

Comments
 (0)