'Why does "Ctrl + R", which is the key bound to "Reload Window" in vscode, doesn't Reload Window?
I'm a new user of vscode.
I ran into a problem that I was told would be resolved by "Reload Window". So I first went through the "Command Palette" to find it, and it did fix my problem. However, I noticed that it says it is bound to "Ctrl + R". So if that's the key sequence it's bound to, why does holding down Ctrl and pressing r not execute that function? It actually brings up the "Select to open" prompt, with the list of recent files as selection choices.
Solution 1:[1]
Step
1.VIEW->COMMAND PALETTE->RELOAD WINDOW or cntrl+Shift+p
- Click the setting icon
- Right Button -> change when expression->clear all the text or command and press enter
- Now Test the code cntrl+R
Total Result Live(Gif):
Warning.
Sometimes ctrl+R already has many bindings.
Consider changing the key binding of "Reload Window".
Or change the key bindings of those other commands.
Solution 2:[2]
I just tested the sequence:
- "Preferences: Open Key Shortcut" (through the command palette)
- Filter on reload
- right click and select "Change when expression"
- delete the
isdevelopment
value, and type the "Enter" key
From there, Ctrl+R does indeed reload the VSCode window immediately.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Henke |
Solution 2 | VonC |