Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When isDevelopment is set in Visual Studio Code

I want reload window using shortcut key, it is already defined to ctrl + R

enter image description here

but dont know how can i reload window using shortcut key.

Can you explain how can i in isDevelopment state?

thanks

like image 960
s.c Avatar asked Jan 03 '20 04:01

s.c


People also ask

What does Ctrl R do in VS Code?

From there, Ctrl + R does indeed reload the VSCode window immediately. +1 This helped me too... I had manually entered the hyphen - , but pressing Enter on an empty input is something else that looks like ` -` (space+hyphen), but must store something else.

How do I set Keybinds in Visual Studio Code?

All keyboard shortcuts in VS Code can be customized via the keybindings. json file. To configure keyboard shortcuts through the JSON file, open Keyboard Shortcuts editor and select the Open Keyboard Shortcuts (JSON) button on the right of the editor title bar. This will open your keybindings.

How does VS Code choose an interpreter?

To select a specific environment, use the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P).

How do I enable reference in VS Code?

Step 1: From Settings – Type CodeLens and Enable the Editor: Code Lens and JavaScript > References Code Lens to check the references in JavaScript File.


1 Answers

Like @scott-schupbach pointed out in the comment, we can guess from issue 81965 on github, that isDevelopment refers to the development tools of vscode. So Ctrl+R only reloads the window when the development tools are active. This question clarifies the use of the development tools.

So the only solution is to rebind the key or remove the isDevelopment condition and rebind the default on Ctrl+R: open recent file.

What I like to do is to press F1 or Ctrl+Shift+P and type in reload window.

like image 79
gldhnchn Avatar answered Sep 18 '22 15:09

gldhnchn