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

Commit76b6696

Browse files
committed
add gif
1 parentd931476 commit76b6696

File tree

8 files changed

+14
-4
lines changed

8 files changed

+14
-4
lines changed

‎README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,19 @@ Solve LeetCode problems in VS Code.
1717
- Submit solutions to LeetCode
1818

1919
###Sign In and Sign Out
20+
![SignInOut](resources/gif/sininout.gif)
2021

2122
###Switch and Create Session
23+
![SwitchSession](resources/gif/switchsession.gif)
2224

2325
###Show Problems in Explorer
26+
![ShowProblem](resources/gif/showproblem.gif)
2427

2528
###Search Problems by Keywords
29+
![SearchProblem](resources/gif/searchproblem.gif)
2630

2731
###Submit Solutions to LeetCode
32+
![SubmitSolution](resources/gif/solveproblem.gif)
2833

2934
##Known Issues:
3035
- This extension will infer the current target problem according to the active editing file. Please do not change the file name.
@@ -51,14 +56,19 @@ This extension is based on [@skygragon](https://github.com/skygragon)'s [leetcod
5156
- 向 LeetCode 提交答案
5257

5358
###登陆及登出
59+
![SignInOut](resources/gif/sininout.gif)
5460

5561
###切换及创建 session
62+
![SwitchSession](resources/gif/switchsession.gif)
5663

5764
###在 Explorer 中展示题目
65+
![ShowProblem](resources/gif/showproblem.gif)
5866

5967
###根据关键字搜索题目
68+
![SearchProblem](resources/gif/searchproblem.gif)
6069

6170
###向 LeetCode 提交答案
71+
![SubmitSolution](resources/gif/solveproblem.gif)
6272

6373
##已知问题
6474
- 本插件会根据文件名称推测当前的目标题目,因此建议不要改变文件名。

‎resources/gif/searchproblem.gif

246 KB
Loading

‎resources/gif/showproblem.gif

298 KB
Loading

‎resources/gif/signinout.gif

115 KB
Loading

‎resources/gif/solveproblem.gif

247 KB
Loading

‎resources/gif/switchsession.gif

103 KB
Loading

‎src/leetCodeManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class LeetCodeManager extends EventEmitter implements ILeetCodeManager {
6464
}
6565
childProc.stdin.write(`${name}\n`);
6666
constpwd:string|undefined=awaitvscode.window.showInputBox({
67-
prompt:"Enteruser name.",
67+
prompt:"Enterpassword.",
6868
password:true,
6969
validateInput:(s:string)=>s ?undefined :"Password must not be empty",
7070
});

‎src/utils/uiUtils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export namespace DialogOptions {
88
exportconstopen:vscode.MessageItem={title:"Open"};
99
exportconstyes:vscode.MessageItem={title:"Yes"};
1010
exportconstno:vscode.MessageItem={title:"No",isCloseAffordance:true};
11-
exportconstregister:vscode.MessageItem={title:"Register"};
11+
exportconstsingUp:vscode.MessageItem={title:"Sign up"};
1212
}
1313

1414
exportasyncfunctionpromptForOpenOutputChannel(message:string,type:DialogType):Promise<void>{
@@ -37,13 +37,13 @@ export async function promptForSignIn(): Promise<void> {
3737
"Please sign in to LeetCode.",
3838
DialogOptions.yes,
3939
DialogOptions.no,
40-
DialogOptions.register,
40+
DialogOptions.singUp,
4141
);
4242
switch(choice){
4343
caseDialogOptions.yes:
4444
awaitvscode.commands.executeCommand("leetcode.signin");
4545
break;
46-
caseDialogOptions.register:
46+
caseDialogOptions.singUp:
4747
opn("https://leetcode.com");
4848
break;
4949
default:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp