Skip to content

How can I prevent the terminal from automatically gaining focus when running tests with the C# Dev Kit? #1695

@YutaroYamada

Description

@YutaroYamada

I am using VSCode with the C# Dev Kit and running tests from the Test Explorer.
Each time I run a test, dotnet build is triggered, causing the terminal in the panel to become active.

However, I want to keep the test results panel visible instead because I need to quickly review the standard output of each test.

Is there a VSCode setting to prevent this behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testTest discovery, execution, debuggingenhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions