reveal = Never not respected when running task programmatically
sergei-dyshel opened this issue · 1 comments
sergei-dyshel commented
- VSCode Version: 1.30.2
- OS Version: Linux
Run the following code as part of extension:
const task = new vscode.Task(
{type: 'myExt'}, vscode.workspace.workspaceFolders[0], 'myTask',
'myExt', new vscode.ShellExecution('ls'));
task.presentationOptions.reveal = vscode.TaskRevealKind.Never;
vscode.tasks.executeTask(task);
Despite reveal = Never
the terminal is still shown when executing task.
P.S. This is not a dup of similar recent issue because this happens also with Python extension disabled.
P.S.S. Looks similiar to old issue #19810;
alexr00 commented
@sergei-dyshel, thank you for the example code. This only reproduces in stable. In insiders the issue is fixed already. Thank you for filing!