reveal only when tree is visible

This commit is contained in:
Bruno Ortiz 2023-04-08 14:18:29 -03:00
parent a3081a6774
commit fe7874af90
3 changed files with 29 additions and 12 deletions

View file

@ -125,11 +125,6 @@ export function isDocumentInWorkspace(document: RustDocument): boolean {
return false;
}
export async function closeDocument(document: RustDocument) {
await vscode.window.showTextDocument(document, { preview: true, preserveFocus: false });
await vscode.commands.executeCommand("workbench.action.closeActiveEditor");
}
export function isValidExecutable(path: string): boolean {
log.debug("Checking availability of a binary at", path);