Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In watch mode, PHPUnit should not steal focus from the editor #271

Open
dukeofgaming opened this issue Jan 27, 2025 · 4 comments
Open

In watch mode, PHPUnit should not steal focus from the editor #271

dukeofgaming opened this issue Jan 27, 2025 · 4 comments

Comments

@dukeofgaming
Copy link

Every time that I am mid statement and the test runs, I have to click the editor again to continue editing.

It would be nice that this doesn't happen, and also that it doesn't switch away from my terminal tab to the Output tab for PHPUnit.

I tried setting "Show After Execution" to never, but this doesn't seem to work.

@dukeofgaming
Copy link
Author

I tried these settings at the Workspace, Remote and User levels with no luck:

{
    "testing.automaticallyOpenTestResults": "neverOpen",
    "phpunit.showAfterExecution": "never",
}

@recca0120
Copy link
Owner

can you record your screen for this issue?

@dukeofgaming
Copy link
Author

Attached below.

It seems to me that this may be related: microsoft/vscode#205766 (comment)

This doesn't happen with the Jest or Playwright extensions. I'm running inside a remote environment (WSL), which is inside a DevContainer. Since I work with autosave on, this has been driving me nuts.

Image

@dukeofgaming
Copy link
Author

@recca0120 are you able to replicate the issue?, I could look a little bit more into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants