8000 Merge pull request #1 from danimihalca/study_plans_in_explorer · danimihalca/vscode-leetcode@6ba5a45 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ba5a45

8000 Browse files
authored
Merge pull request #1 from danimihalca/study_plans_in_explorer
Study plans in explorer
2 parents bbf7fca + 6cb5482 commit 6ba5a45

11 files changed

+759
-525
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
node-version: 14
1818

1919
- name: Install Node.js modules
20-
run: npm install
20+
run: |
21+
echo '//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGE_DOWNLOAD_TOKEN }}' > .npmrc
22+
npm install
2123
2224
- name: Lint
2325
run: npm run lint

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
- English Document | [中文文档](https://github.com/LeetCode-OpenSource/vscode-leetcode/blob/master/docs/README_zh-CN.md)
2424

2525
## ❗️ Attention ❗️- Workaround to login to LeetCode endpoint
26+
2627
> Note: If you are using `leetcode.cn`, you can just ignore this section.
2728
2829
Recently we observed that [the extension cannot login to leetcode.com endpoint anymore](https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478). The root cause of this issue is that leetcode.com changed its login mechanism and so far there is no ideal way to fix that issue.
@@ -32,17 +33,21 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
3233
> Note: If you want to use third-party login(**Recommended**), please make sure your account has been connected to the third-party. If you want to use `Cookie` login, click [here](https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478#issuecomment-564757098) to see the steps.
3334
3435
## Requirements
36+
3537
- [VS Code 1.30.1+](https://code.visualstudio.com/)
3638
- [Node.js 10+](https://nodejs.org)
37-
> NOTE: Please make sure that `Node` is in your `PATH` environment variable. You can also use the setting `leetcode.nodePath` to specify the location of your `Node.js` executable.
39+
> NOTE: Please make sure that `Node` is in your `PATH` environment variable. You can also use the setting `leetcode.nodePath` to specify the location of your `Node.js` executable.
3840
3941
## Quick Start
4042

4143
![demo](https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/gifs/demo.gif)
4244

45+
![demo](./docs/imgs/demo_latest.png)
46+
4347
## Features
4448

4549
### Sign In/Out
50+
4651
<p align="center">
4752
<img src="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/sign_in.png" alt="Sign in" />
4853
</p>
@@ -52,16 +57,19 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
5257
- You can also use the following command to sign in/out:
5358
- **LeetCode: Sign in**
5459
- **LeetCode: Sign out**
60+
5561
---
5662

5763
### Switch Endpoint
64+
5865
<p align="center">
5966
<img src="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/endpoint.png" alt="Switch Endpoint" />
6067
</p>
6168

6269
- By clicking the button ![btn_endpoint](https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/btn_endpoint.png) at the **explorer's navigation bar**, you can switch between different endpoints.
6370

6471
- The supported endpoints are:
72+
6573
- **leetcode.com**
6674
- **leetcode.cn**
6775

@@ -70,6 +78,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
7078
---
7179

7280
### Pick a Problem
81+
7382
<p align="center">
7483
<img src="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/pick_problem.png" alt="Pick a Problem" />
7584
</p>
@@ -86,11 +95,13 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
8695
---
8796

8897
### Editor Shortcuts
98+
8999
<p align="center">
90100
<img src="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/shortcuts.png" alt="Editor Shortcuts" />
91101
</p>
92102

93103
- The extension supports 5 editor shortcuts (aka Code Lens):
104+
94105
- `Submit`: Submit your answer to LeetCode.
95106
- `Test`: Test your answer with customized test cases.
96107
- `Star/Unstar`: Star or unstar the current problem.
@@ -102,6 +113,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
102113
---
103114

104115
### Search problems by Keywords
116+
105117
<p align="center">
106118
<img src="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/search.png" alt="Search problems by Keywords" />
107119
</p>
@@ -111,13 +123,13 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
111123
---
112124

113125
### Manage Session
126+
114127
<p align="center">
115128
<img src="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/session.png" alt="Manage Session" />
116129
</p>
117130

118131
- To manage your LeetCode sessions, just clicking the `LeetCode: ***` at the bottom of the status bar. You can **switch** between sessions or **create**, **delete** a session.
119132

120-
121133
## Settings
122134

123135
| Setting Name | Description | Default Value |

docs/imgs/demo_latest.png

268 KB
Loading

0 commit comments

Comments
 (0)
0