Restarting an extension when that extension's output is selected in the "Output" pane should not change which extension is selected in the "Output" pane.
GageSorrell opened this issue · 3 comments
Current Behavior
Suppose the "Output" pane is visible, and a given extension's output is being viewed.
If the user runs the "Restart" command for that extension (for example, the TypeScript LSP, or the ESLint extension), the selected extension of the "Output" pane changes.
Statement of Issue
If a user restarts an extension and is viewing the output of that extension, they almost certainly will want to see the output of the extension upon restarting the extension.
Proposed Behavior
When restarting an extension, I propose that the selected extension in the "Output" pane remain unchanged.
I am not able to reproduce this. Can you please provide the exact steps to repro?
- Open a Workspace that has the ESLint extension enabled (I have also tested this with the TypeScript LSP)
- Focus the "Output" pane, then choose ESLint from the dropdown menu
Ctrl+P
, then select the "Restart the ESLint server" command
Once this is done, the value of the dropdown menu changes (for me) to the output of "Tasks", which seems to be arbritrary.
This seems to be an issue with eslint extension. It might be disposing the chanel and creating it again on restarting the ES Lint Server. When an output channel is disposed a default channel is shown.