Refresh Visual Studio Code list of files

后端 未结 11 1764
一生所求
一生所求 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:24

    You shouldn't need to reload the entire window, just the folder list. Reloading the window will kill terminals, lose undo history, etc. You can do this using the refresh button in the explorer (second from the right):

    If you find you need to do this a lot you can add a keybinding for it, for example:

    {
      "key": "ctrl+f5",
      "command": "workbench.files.action.refreshFilesExplorer"
    }
    

提交回复
热议问题