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

Bring VS Code window to front #24

Open
MarcinVaadin opened this issue Aug 30, 2024 · 0 comments
Open

Bring VS Code window to front #24

MarcinVaadin opened this issue Aug 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MarcinVaadin
Copy link
Member

Currently show in ide feature has been disabled because VS Code is not being moved to front.

There is no direct VS Code Extension API that will call Electron Window API

Solutions checked:

  • calling VS Code executable using exec( ) - do not worked
  • using command vscode.openFolder - do to worked
  • executing using vscode://file/ - moves window to front of all VS Code windows, not OS opened windows
  • using Task with shell execution - works, but creates new terminal tab with some logs and produces console errors (see feat: Use Task to focus window #22)
  • https://www.npmjs.com/package/open cannot be used because of Electron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant