Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit372295f

Browse files
committed
feat: change login way and add tracking logic option
fix: resolve UAT issuesfix: update actionfeat: add login progressfix: change function name
1 parentd713ad5 commit372295f

17 files changed

+670
-237
lines changed

‎.vscode/settings.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
".vscode-test":true
1111
},
1212
"tslint.autoFixOnSave":true,
13-
"tslint.ignoreDefinitionFiles":true
14-
}
13+
"tslint.ignoreDefinitionFiles":true,
14+
"prettier.tabWidth":4,
15+
"prettier.useTabs":false,
16+
"prettier.printWidth":150
17+
}

‎README.md

Lines changed: 13 additions & 3 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,9 +33,10 @@ 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

@@ -43,6 +45,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
4345
##Features
4446

4547
###Sign In/Out
48+
4649
<palign="center">
4750
<imgsrc="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/sign_in.png"alt="Sign in" />
4851
</p>
@@ -52,16 +55,19 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
5255
- You can also use the following command to sign in/out:
5356
-**LeetCode: Sign in**
5457
-**LeetCode: Sign out**
58+
5559
---
5660

5761
###Switch Endpoint
62+
5863
<palign="center">
5964
<imgsrc="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/endpoint.png"alt="Switch Endpoint" />
6065
</p>
6166

6267
- 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.
6368

6469
- The supported endpoints are:
70+
6571
-**leetcode.com**
6672
-**leetcode.cn**
6773

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

7278
###Pick a Problem
79+
7380
<palign="center">
7481
<imgsrc="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/pick_problem.png"alt="Pick a Problem" />
7582
</p>
@@ -86,11 +93,13 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
8693
---
8794

8895
###Editor Shortcuts
96+
8997
<palign="center">
9098
<imgsrc="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/shortcuts.png"alt="Editor Shortcuts" />
9199
</p>
92100

93101
- The extension supports 5 editor shortcuts (aka Code Lens):
102+
94103
-`Submit`: Submit your answer to LeetCode.
95104
-`Test`: Test your answer with customized test cases.
96105
-`Star/Unstar`: Star or unstar the current problem.
@@ -102,6 +111,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
102111
---
103112

104113
###Search problems by Keywords
114+
105115
<palign="center">
106116
<imgsrc="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/search.png"alt="Search problems by Keywords" />
107117
</p>
@@ -111,19 +121,18 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
111121
---
112122

113123
###Manage Session
124+
114125
<palign="center">
115126
<imgsrc="https://raw.githubusercontent.com/LeetCode-OpenSource/vscode-leetcode/master/docs/imgs/session.png"alt="Manage Session" />
116127
</p>
117128

118129
- 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.
119130

120-
121131
##Settings
122132

123133
| Setting Name| Description| Default Value|
124134
| ---------------------------------| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------------------|
125135
|`leetcode.hideSolved`| Specify to hide the solved problems or not|`false`|
126-
|`leetcode.showLocked`| Specify to show the locked problems or not. Only Premium users could open the locked problems|`false`|
127136
|`leetcode.defaultLanguage`| Specify the default language used to solve the problem. Supported languages are:`bash`,`c`,`cpp`,`csharp`,`golang`,`java`,`javascript`,`kotlin`,`mysql`,`php`,`python`,`python3`,`ruby`,`rust`,`scala`,`swift`,`typescript`|`N/A`|
128137
|`leetcode.useWsl`| Specify whether to use WSL or not|`false`|
129138
|`leetcode.endpoint`| Specify the active endpoint. Supported endpoints are:`leetcode`,`leetcode-cn`|`leetcode`|
@@ -137,6 +146,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
137146
|`leetcode.useEndpointTranslation`| Use endpoint's translation (if available)|`true`|
138147
|`leetcode.colorizeProblems`| Add difficulty badge and colorize problems files in explorer tree|`true`|
139148
|`leetcode.problems.sortStrategy`| Specify sorting strategy for problems list|`None`|
149+
|`leetcode.allowReportData`| Allow LeetCode to report anonymous usage data to improve the product. list|`true`|
140150

141151
##Want Help?
142152

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp