vitest-dev / vscode

VS Code extension for Vitest
https://vitest.dev/vscode
MIT License
729 stars 79 forks source link

Don't show Test Pane on tests run #390

Closed alexamy closed 1 month ago

alexamy commented 1 month ago

Clear and concise description of the problem

As a developer using Vitest, I don’t want the test pane to open when I run tests (by clicking the run button in a test file or a sidebar), so that the editor window stays less cluttered.

Examining test failures can be done without the test pane opening by clicking on the failed test.

Suggested solution

Add an option to the extension settings to allow the test pane to be hidden during test runs.

Alternative

No response

Additional context

No response

Validations

sheremet-va commented 1 month ago

You can disable it in the config: https://github.com/vitest-dev/vscode/discussions/365

sheremet-va commented 1 month ago

You can also enable "continues run" by clicking on the eye in the tree - this will rerun tests automatically and won't open a Test Results view when it reruns them.