sublime text 3 sidebar autoupdating not working

2020-02-26 03:27发布

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 (osx).

Right now, I have to manually go to Project -> Refresh Folders

My user preferences are probably not the issue as they are very basic:

{
    "color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
    "font_size": 18,
    "tab_size": 2,
    "translate_tabs_to_spaces": true
}

If anyone could help that would be great as I have tried googling, searching for an answer to this but havent found anything that works.

Thanks in advance.

16条回答
霸刀☆藐视天下
2楼-- · 2020-02-26 04:02

Open the console and see if there are any errors. It logs when there are changes to the filesystem.

查看更多
孤傲高冷的网名
3楼-- · 2020-02-26 04:02

I had the same issue with folders and files not showing up. No matter what folders I added it wouldn't work, refreshing folders didn't work, if I restarted Sublime, I would then see the folders I added but none of it's contents. I ended up going to File -> Close Window and then File -> New Window, after that when I added folders to the new window, it started working again. Seems like it's a corruption in the project file somehow. Anyways hope this helps someone.

Mac OSX Mavericks
Sublime 3 Build 3059

查看更多
我想做一个坏孩纸
4楼-- · 2020-02-26 04:06

I had this issue after symlinking my project files to another partition on the hard disk. I fixed it by editing the path for each project from Project > Edit Project to the new location.

查看更多
倾城 Initia
5楼-- · 2020-02-26 04:06

I just fixed this issue and I think the reason is because I use dropbox to sync my ST3 settings.

Somedays before I restarted with 'reopen windows when logging back in', and found sublime opened earlier than dropbox finished its initialisation, which caused some settings couldn't load properly.

The result was when I used subl . to open project, I found the side bar not working properly. At the first beginning, I just closed ST3 windows and re-run subl, but it didn't work.

Finally I quitted ST3 (cmd+q), and made sure dropbox was properly loaded, then subl again. This time it worked.

Hope it helps.

查看更多
登录 后发表回答