sublime text 3 sidebar autoupdating not working

前端 未结 16 1708
失恋的感觉
失恋的感觉 2020-12-30 21:00

I was wondering if anyone could tell me how to make it so that sublime text 3 automatically updates the sidebar when i add a new folder/file to the current project in finder

16条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-30 21:18

    Same issue for me with ST2 on OSX 10.7.5. I started by opening Finder to the folder where I had the issue and navigated to that folder in terminal as well. Then:

    1. Create a blank file and observe if Finder refreshed.

      echo "" > test.txt

    2. If Finder didn't refresh, navigate to the parent folder in both Finder and terminal. Repeat step 1.

    3. If Finder did refresh, rename the child folder you came from to anything and then back to the original name.

      mv folder_name new_folder_name

      mv new_folder_name folder_name

    4. Auto refresh in Finder started working again as well as the Sublime sidebar for that folder and all child folders.

    I don't have an explanation as to why this issue started. Prior to this solution, I attempted the following trying to figure it out. I don't know if these steps were necessary in resolving this issue.

    1. I removed .DS_Store files from the folders with this issue.

    2. Remove the Finder preferences file and restart Finder. As described here.

      rm ~/Library/Preferences/com.apple.finder.plist ; killall Finder

    3. Exit Dropbox

    Thanks to @peresleguine for the suggestion of renaming the folder.

提交回复
热议问题