-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Typing "code" from Start Menu loads inconsistent/confusing experiences #7619
Comments
could the CALL command be replaced with the START command in code.cmd? This causes the cmd.exe prompt to exit immediately and only the code.exe window remains open. |
@kuhlenh Thanks for making this issue for me. It is really reassuring to see that us little people are being heard. @hydranix I tried that on my Windows 10 machine and it totally had the desired results from the start menu and does not appear to affect the command line experience. I did some testing for the environment variables and they do appear to be copied before they are undone by
@joaomoreno I was able to replicate the issue that you linked by running that same command with my modified batch file but it still offered the same experience so I don't think it would make that issue any worse. |
As mentioned in #6608, once you switch to |
I missed that but I understand now. Challenge accepted! |
Update from the Windows team:
|
The behavior you describe does not happen on my machine or on any others I have seen. Is that new behavior in a fast ring build? If so, that will solve it in time for most users. I am on 1607 (OS Build 14393.82) |
Marking upstream as it's a Windows problem. |
I can confirm the fix on my computer as well as the computers of other people I have checked. It is in the wild now. |
I gave a talk at a .NET meetup the other day and one of the attendees told me he struggled to teach new developers in VS Code because when they type "code" from the Start Menu it flashes a command-line window and then loads VS Code (making them think something failed).
It also has different behavior based on what version of Windows you have (default going to the cmd vs the app):
The text was updated successfully, but these errors were encountered: