Skip to content

Commit

Permalink
prepare for 0.5.0 release(#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo authored Mar 20, 2018
1 parent ef21de7 commit d928c06
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ 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.5.0]
### Added
- 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))

## [0.4.0]
### Added
- Support locked problem [(#20)](https://github.com/jdneo/vscode-leetcode/issues/20)
Expand Down
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ Solve LeetCode problems in VS Code.
### Search Problems by Keywords
![SearchProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/searchproblem.gif)

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

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

<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.

## Commands
This extension provides several commands in the Command Palette (F1 or Ctrl + Shift + P):
- **LeetCode: Sign in** - Sign in to LeetCode
Expand All @@ -50,8 +52,8 @@ This extension provides several commands in the Command Palette (F1 or Ctrl + Sh
- **LeetCode: Create new session** - Create a new session
- **LeetCode: Refresh** - Refresh the LeetCode Explorer
- **LeetCode: Search Problem** - Search for problems by keywords
- **LeetCode: Test in LeetCode** - Test the current solution file by customized test case
- **LeetCode: Submit to LeetCode** - Submit the solution to LeetCode
- **LeetCode: Test in LeetCode** - Test solution file by customized test case
- **LeetCode: Submit to LeetCode** - Submit the solution file to LeetCode

## Known Issues:
- This extension will infer the current target problem according to the active editing file. Please do not change the file name.
Expand Down Expand Up @@ -91,12 +93,14 @@ This extension is based on [@skygragon](https://github.com/skygragon)'s [leetcod
### 根据关键字搜索题目
![SearchProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/searchproblem.gif)

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

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

<sup>1</sup> 如果您通过命令面板触发 `Submit to LeetCode``Test in LeetCode` 命令,本插件将会提交当前文件至 LeetCode。

## 命令
该插件在命令面板(F1 或 Ctrl + Shift + P)中支持下列命令:
- **LeetCode: Sign in** - 登入 LeetCode
Expand All @@ -105,7 +109,7 @@ This extension is based on [@skygragon](https://github.com/skygragon)'s [leetcod
- **LeetCode: Create new session** - 创建一个新的答题进度存档
- **LeetCode: Refresh** - 刷新左侧题目列表视图
- **LeetCode: Search Problem** - 根据关键字搜索题目
- **LeetCode: Test in LeetCode** - 用自定义测试用例测试当前解答文件
- **LeetCode: Test in LeetCode** - 用自定义测试用例进行测试
- **LeetCode: Submit to LeetCode** - 提交答案到 LeetCode

## 已知问题
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-leetcode",
"displayName": "LeetCode",
"description": "Solve LeetCode problems in VS Code",
"version": "0.4.0",
"version": "0.5.0",
"author": "Sheng Chen",
"publisher": "shengchen",
"icon": "resources/LeetCode.png",
Expand Down
Binary file modified resources/gif/solveproblem.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/gif/testsolution.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d928c06

Please sign in to comment.