Refresh Visual Studio Code list of files

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

    If you use the SFTP extension you can do this for refreshing the SFTP:EXPLORER list (tested on Windows with VSC 1.40.2):

    File => Preferences => Keyboard Shortcuts => Search for: refresh

    Then you have to find "Refresh / sftp.remoteExplorer.refresh" in the result list. Click the entry, then click the plus sign before the entry, then press your desired shortcut and hit "enter". I took "Ctrl + Alt + F5" because this has not been used for other commands already.

提交回复
热议问题