Visual Studio Code (Version 0.10.11, on OSX) does not refresh the files in a folder. Is there any way to force it to refresh. Currently I have to close and reopen the whole pr
"Ctrl + Alt + R" on v 1.27.1 as of 9/11/18
To reload a single file:
On Windows:
Tested in VSCode v1.18.1 on Windows
Right-Click your sln (Will say 0/n solutions) In the bottom row of dialog it will say reload project solutions. If it's not present, then it was just reloaded most likely. Try to run build again.
EDIT: In the meanwhile a reload button has been added to the file explorer widget.
Use the workbench.action.reloadWindow
command.
Go to File -> Preferences -> Keyboard Shotcuts
and define a shortcut for this command. On my system it's placed on Ctrl+F5. The entry in keybindings.json
looks like this:
{
"key": "ctrl+f5",
"command": "workbench.action.reloadWindow",
"when": "editorTextFocus"
}
Ran across this today with VS Code 1.13.0 and in Keyboard Shortcuts I see
workbench.files.action.refreshFilesExplorer