From 5344118b92e59e90af688626cf4f8aca3bfaaf52 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Wed, 28 Mar 2018 10:03:44 +0800 Subject: [PATCH 1/2] prepare for 0.5.1 release --- CHANGELOG.md | 4 ++++ README.md | 22 ++++++++++++---------- package.json | 2 +- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fef64d7e..e31e3bca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.1] +### Fixed +- Fix the bug when user's path contains whitespaces [#34](https://github.com/jdneo/vscode-leetcode/issues/34) + ## [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)) diff --git a/README.md b/README.md index fcf8b4fc..766d3e8c 100644 --- a/README.md +++ b/README.md @@ -30,19 +30,20 @@ Solve LeetCode problems in VS Code. ### Switch and Create Session ![SwitchSession](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/switchsession.gif) -### Show Problems in Explorer +### Show Problems in Explorer 1 ![ShowProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/showproblem.gif) -### Search Problems by Keywords +### Search Problems by Keywords 1 ![SearchProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/searchproblem.gif) -### Test solutions by customized test case 1 +### Test solutions by customized test case 2 ![TestSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/testsolution.gif) -### Submit Solutions to LeetCode 1 +### Submit Solutions to LeetCode 2 ![SubmitSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/solveproblem.gif) -1 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. +1 If no folder is opened in VS Code, the extension will save the problem files in `$HOME/.leetcode/`. +2 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): @@ -87,19 +88,20 @@ This extension is based on [@skygragon](https://github.com/skygragon)'s [leetcod ### 切换及创建 session ![SwitchSession](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/switchsession.gif) -### 在 Explorer 中展示题目 +### 在 Explorer 中展示题目 1 ![ShowProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/showproblem.gif) -### 根据关键字搜索题目 +### 根据关键字搜索题目 1 ![SearchProblem](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/searchproblem.gif) -### 用自定义测试用例测试答案 1 +### 用自定义测试用例测试答案 2 ![TestSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/testsolution.gif) -### 向 LeetCode 提交答案 1 +### 向 LeetCode 提交答案 2 ![SubmitSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/solveproblem.gif) -1 如果您通过命令面板触发 `Submit to LeetCode` 和 `Test in LeetCode` 命令,本插件将会提交当前文件至 LeetCode。 +2 如果 VS Code 中没有已打开的文件夹,插件会将题目文件存储于 `$HOME/.leetcode/` 目录下。 +2 如果您通过命令面板触发 `Submit to LeetCode` 和 `Test in LeetCode` 命令,本插件将会提交当前文件至 LeetCode。 ## 命令 该插件在命令面板(F1 或 Ctrl + Shift + P)中支持下列命令: diff --git a/package.json b/package.json index 78589494..ea85f7c5 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.5.0", + "version": "0.5.1", "author": "Sheng Chen", "publisher": "shengchen", "icon": "resources/LeetCode.png", From e5b3caa839c6267119fea9e2363b6a3a04aea2d7 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Wed, 28 Mar 2018 10:07:43 +0800 Subject: [PATCH 2/2] small refine --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 766d3e8c..b7e5fc86 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Solve LeetCode problems in VS Code. ### Submit Solutions to LeetCode 2 ![SubmitSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/solveproblem.gif) -1 If no folder is opened in VS Code, the extension will save the problem files in `$HOME/.leetcode/`. +1 If no folder is opened in VS Code, the extension will save the problem files in `$HOME/.leetcode/`.
2 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 @@ -100,7 +100,7 @@ This extension is based on [@skygragon](https://github.com/skygragon)'s [leetcod ### 向 LeetCode 提交答案 2 ![SubmitSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/solveproblem.gif) -2 如果 VS Code 中没有已打开的文件夹,插件会将题目文件存储于 `$HOME/.leetcode/` 目录下。 +1 如果 VS Code 中没有已打开的文件夹,插件会将题目文件存储于 `$HOME/.leetcode/` 目录下。
2 如果您通过命令面板触发 `Submit to LeetCode` 和 `Test in LeetCode` 命令,本插件将会提交当前文件至 LeetCode。 ## 命令