(outPath: string, fixture: string)
| 86 | } |
| 87 | |
| 88 | private async writeToFile(outPath: string, fixture: string) { |
| 89 | fs.writeFileSync(outPath, fixture); |
| 90 | vscode.window |
| 91 | .showInformationMessage("Cursorless test case saved.", "View") |
| 92 | .then(async (action) => { |
| 93 | if (action === "View") { |
| 94 | const document = await vscode.workspace.openTextDocument(outPath); |
| 95 | await vscode.window.showTextDocument(document); |
| 96 | } |
| 97 | }); |
| 98 | } |
| 99 | |
| 100 | private async promptSubdirectory(): Promise<boolean> { |
| 101 | if ( |