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..b7e5fc86 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。 +1 如果 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", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy