-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Provide a command to restart VS Code #3592
Comments
I'd find this really useful 👍 |
@pcgeek86 Isn't |
@bbenoist I don't know. Does |
@bbenoist that probably works for my use case (reloading themes, extensions, etc.), thanks. |
That's my experience too, restart and reload wording is not consistent so I didn't even bother looking for reload. If you want to make a new issue to that effect or rename this one that would be good. |
@Tyriar Done! 😄 |
+1 |
I think we should not call it "Restart" because you would expect all windows you have opened to go down and restart. There currently is no restart command that would do the full thing. |
@bpasero if that's the case then extensions should say "Reload" for consistency. That's the main thing that was causing the confusion personally. |
I would actually argue to treat the fact that "Restart Now" does a window reload as a bug because if you have a second window open, you need to do the same action there too to benefit from the extension. |
@bpasero It just needs to be consistent. However, if there's a separate "restart [program]" command, then that should probably be listed in the Command Palette, as suggested by the original report. |
Some time may need manual reload, like modify .eslintrc |
Closing, I think this is fine as it is now. Newer electron versions provide a real restart command btw, that does the real thing. But I am not seeing a use case for that yet. |
@bpasero reload keybindings is the biggest one for me. |
I have an other use case for restart, on linux when I change my dpi settings (for example after switching monitors), I need to restart visual studio code to notice these changes. In chrome there is |
@tcoopman with hot exit you can now relaunch really easily to do a full restart, just hit ctrl+q and relaunch. |
On windows just create a .bat (batch file), create a shortcut to it on your desktop and a then put a keyboard short cut on it. I used ctrl-shift-r. This below will kill Visual Studio Code gracefully and then start it up again cleanly. @echo off taskkill /IM Code.exe |
I would have naturally expected there to be a "restart" command for Visual Studio Code, out of the box. Any chance of adding this in?
The current command name is "reload window," which is probably technically precise, but on the other hand, isn't really user-friendly. Could we add an alias for "restart Visual Studio Code" (or similar) for the "reload window" function?
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell
The text was updated successfully, but these errors were encountered: