()
| 60 | } |
| 61 | |
| 62 | export async function searchProblem(): Promise<void> { |
| 63 | if (!leetCodeManager.getUser()) { |
| 64 | promptForSignIn(); |
| 65 | return; |
| 66 | } |
| 67 | const choice: IQuickItemEx<IProblem> | undefined = await vscode.window.showQuickPick( |
| 68 | parseProblemsToPicks(list.listProblems()), |
| 69 | { |
| 70 | matchOnDetail: true, |
| 71 | placeHolder: "Select one problem", |
| 72 | }, |
| 73 | ); |
| 74 | if (!choice) { |
| 75 | return; |
| 76 | } |
| 77 | await showProblemInternal(choice.value); |
| 78 | } |
| 79 | |
| 80 | export async function showSolution(input: LeetCodeNode | vscode.Uri): Promise<void> { |
| 81 | let problemInput: string | undefined; |
nothing calls this directly
no test coverage detected