diff --git a/CHANGELOG.md b/CHANGELOG.md index 01652d84..fef64d7e 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.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) diff --git a/README.md b/README.md index ae7a751c..fcf8b4fc 100644 --- a/README.md +++ b/README.md @@ -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 1 ![TestSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/testsolution.gif) -### Submit Solutions to LeetCode +### Submit Solutions to LeetCode 1 ![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. + ## Commands This extension provides several commands in the Command Palette (F1 or Ctrl + Shift + P): - **LeetCode: Sign in** - Sign in to LeetCode @@ -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. @@ -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) -### 用自定义测试用例测试答案 +### 用自定义测试用例测试答案 1 ![TestSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/testsolution.gif) -### 向 LeetCode 提交答案 +### 向 LeetCode 提交答案 1 ![SubmitSolution](https://raw.githubusercontent.com/jdneo/vscode-leetcode/master/resources/gif/solveproblem.gif) +1 如果您通过命令面板触发 `Submit to LeetCode` 和 `Test in LeetCode` 命令,本插件将会提交当前文件至 LeetCode。 + ## 命令 该插件在命令面板(F1 或 Ctrl + Shift + P)中支持下列命令: - **LeetCode: Sign in** - 登入 LeetCode @@ -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 ## 已知问题 diff --git a/package.json b/package.json index e84812dd..78589494 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.4.0", + "version": "0.5.0", "author": "Sheng Chen", "publisher": "shengchen", "icon": "resources/LeetCode.png", diff --git a/resources/gif/solveproblem.gif b/resources/gif/solveproblem.gif index c453329f..e40b0f32 100644 Binary files a/resources/gif/solveproblem.gif and b/resources/gif/solveproblem.gif differ diff --git a/resources/gif/testsolution.gif b/resources/gif/testsolution.gif index 76ccbc77..4b1c88f2 100644 Binary files a/resources/gif/testsolution.gif and b/resources/gif/testsolution.gif differ 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