How to force folder refresh in Sublime, when “Project > refresh” doesn't work?

后端 未结 4 602
忘了有多久
忘了有多久 2020-12-23 13:32

Especially when using an sftp drive (but this problem is also an issue with local drives, although thankfully not as frequent), the folders in the sidebar just keep

4条回答
  •  甜味超标
    2020-12-23 13:59

    1. Open Sublime Text.
    2. Select Preferences from the top menu and click Key Bindings – User. Here you will see a JSON file that should contain an array of objects (initially the array is empty). Every object will represent a shortcut.
    3. Add the following (new shortcut object) entry into the array (between the brackets):

      { 
          "keys"    : ["f5"], 
          "command" : "refresh_folder_list" 
      }
      

    You should be able to refresh the folders with F5.

提交回复
热议问题