Refresh Visual Studio Code list of files

后端 未结 11 1766
一生所求
一生所求 2021-01-31 07:11

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

11条回答
  •  感情败类
    2021-01-31 07:37

    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"
    }
    

提交回复
热议问题