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

Visual Studio Code doesn't open when clicking "Open in VS Code" button #67

Closed
bfrymire opened this issue May 5, 2023 · 4 comments
Closed
Labels
🔥 bug Something isn't working wontfix This will not be worked on

Comments

@bfrymire
Copy link

bfrymire commented May 5, 2023

Stitch Desktop: v0.11.10
VS Code: v1.78.0

Nothing happens when clicking on the Open in VS Code button. I'm expecting Visual Studio Code to open a new window with the workspace as my project's folder.

@adam-coster adam-coster added 🔥 bug Something isn't working 🆘 help wanted Lower priority for Bscotch, so external help needed to resolve 💻 desktop labels May 8, 2023
@adam-coster
Copy link
Member

I've heard a handful of similar reports, but cannot replicate the problem on my or any colleague's machines.

I have a suspicion it has something to do with the available terminals on your system. Can you tell me which terminal (if any) you use as your default? For example, do you use Windows Terminal?

@adam-coster adam-coster added ❔ needs info and removed 🆘 help wanted Lower priority for Bscotch, so external help needed to resolve labels May 8, 2023
@bfrymire
Copy link
Author

bfrymire commented May 8, 2023

I use either Command Prompt or PowerShell outside of VS Code, and use Git Bash as my default terminal for VS Code.

@adam-coster
Copy link
Member

Gotcha. I wonder if the current setup only works when you have Windows Terminal, or something. Next time I'm in the code base I'll see if I can add some additional fallbacks.

Note to self for possible fixes:

Stitch Desktop uses open from npm, and on my machine I see the command open Windows Terminal before launching VSCode.

Fallbacks I can add include trying to directly launch the VSCode executables:

  • code-insiders.cmd (should be in path)
  • code.cmd (should be in path)
  • ${process.env.LOCALAPPDATA}/Programs/Microsoft VS Code Insiders/Code - Insiders.exe
  • ${process.env.LOCALAPPDATA}/Programs/Microsoft VS Code/Code.exe

@adam-coster
Copy link
Member

Closing due to deprecation of Stitch Desktop in favor of Stitch for VSCode.

See #138 for details.

@adam-coster adam-coster added the wontfix This will not be worked on label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants