8000 Cs/0.5.0 by jdneo · Pull Request #33 · LeetCode-OpenSource/vscode-leetcode · GitHub
[go: up one dir, main page]

Skip to content

Cs/0.5.0 #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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