Home Download Buy Blog Forum Support

SideBar not refreshing

SideBar not refreshing

Postby krainboltgreene on Wed Oct 26, 2011 1:44 pm

On FSevents my sidebar refuses to refresh.

Example: Open a project (new or old), right click on file, "Delete File". Nothing changes in sidebar. Refresh sidebar, file goes away.

I've removed everything and Sublime still refuses to update the sidebar. I'm out of answers, any suggestions?


Mac OS X 10.6
krainboltgreene
 
Posts: 4
Joined: Wed Oct 26, 2011 1:42 pm

Re: SideBar not refreshing

Postby krainboltgreene on Sat Oct 29, 2011 1:51 am

This is not an exact fix, but it solved my problem sort of:

/Users/krainboltgreene/Library/Caches/com.sublimetext.2
/Users/krainboltgreene/Library/Preferences/com.sublimetext.2.plist

These two files (one's a directory) exist and apparently store that bug. Now that I've removed them it refreshes normally.
krainboltgreene
 
Posts: 4
Joined: Wed Oct 26, 2011 1:42 pm

Re: SideBar not refreshing

Postby peppy on Mon Oct 31, 2011 10:19 am

Similar to my problem? viewtopic.php?f=3&t=3384
Fails to update on configuration changes for me.

Removing the cache/pref files doesn't help for me, though.
peppy
 
Posts: 52
Joined: Thu Aug 04, 2011 4:52 pm
Location: perth, australia

Re: SideBar not refreshing

Postby tipugin on Sat Nov 05, 2011 8:46 pm

Same here.
tipugin
 
Posts: 4
Joined: Sat Nov 05, 2011 2:44 pm

Re: SideBar not refreshing

Postby krainboltgreene on Mon Nov 07, 2011 2:02 am

I actually had this happen again, but what's more distressing is that I've paid for the license.

Setup:
* MacMini, Mac OSX 10.6.8, 2.4Ghz Intel Core 2 Duo, 4GB RAM
* Sublime Text 2, Version: Beta 2139
* Plugins:
- * Package Control (Latest)
- * Git (Latest)
- * GitHubinator (Latest)
- * HAML (From Github)
- * LESS (From Github)
- * SCSS (From Github)
- * Slim (From Github)
- * Theme - Soda (Latest)
- * Wordcount (Latest)
* Settings:
- * Global: https://gist.github.com/1343505
- * Base File: https://gist.github.com/1343507

Problem: Suddenly the files in the side bar are either not being added or not being removed. Delete File and New File still work.

Steps:
* Right click on file, choose "Delete File"
* File in SideBar doesn't move. File is actually deleted on the machine.
* Open console
* Right click on file, choose "Delete File", Console output:

Code: Select all
Unable to open /Users/krainboltgreene/Repository/Ruby/kinio2/untitled
Traceback (most recent call last):
  File "./sublime_plugin.py", line 257, in run_
  File "./side_bar.py", line 19, in run
OSError: [Errno 2] No such file or directory: '/Users/krainboltgreene/Repository/Ruby/kinio2/untitled'



Solution: None this time. I've removed everything related to Sublime Text. I've even done a `find` from root and removed all the hidden little caches. I've even *restarted my computer*.
krainboltgreene
 
Posts: 4
Joined: Wed Oct 26, 2011 1:42 pm

Re: SideBar not refreshing

Postby tipugin on Mon Nov 07, 2011 3:52 pm

This bug really makes ST2 unusable. Devs, please do something :)
tipugin
 
Posts: 4
Joined: Sat Nov 05, 2011 2:44 pm

Re: SideBar not refreshing

Postby rocketman on Tue Nov 08, 2011 4:11 am

This is extremely annoying I grant, however there is a non-ideal workaround. Add this to your user keybindings, and then you can just hit alt+ctrl+r to refresh the sidebar and pick up the changes in the filesystem

Code: Select all
{ "keys": ["alt+ctrl+r"], "command": "refresh_folder_list" }
rocketman
 
Posts: 17
Joined: Wed Jul 27, 2011 5:29 pm

Re: SideBar not refreshing

Postby tipugin on Tue Nov 08, 2011 1:11 pm

rocketman wrote:This is extremely annoying I grant, however there is a non-ideal workaround. Add this to your user keybindings, and then you can just hit alt+ctrl+r to refresh the sidebar and pick up the changes in the filesystem

Code: Select all
{ "keys": ["alt+ctrl+r"], "command": "refresh_folder_list" }


Thanks mate, this is really helpful, but still hope on fixing this bug.
tipugin
 
Posts: 4
Joined: Sat Nov 05, 2011 2:44 pm

Re: SideBar not refreshing

Postby krainboltgreene on Tue Nov 08, 2011 2:14 pm

Good workaround! Here's what I went with:

Code: Select all
[
  { "keys": ["super+a"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
  { "keys": ["super+r"], "command": "refresh_folder_list" }
]



But having paid for 2 licenses, and endorsed 4 others I'd be remise if I didn't express open disapproval for not having any sort of support contact.
krainboltgreene
 
Posts: 4
Joined: Wed Oct 26, 2011 1:42 pm

Re: SideBar not refreshing

Postby peppy on Fri Nov 11, 2011 3:40 am

Has there been any progress on identifying this issue? Is there any kind of diagnostics we can provide to be of use?
peppy
 
Posts: 52
Joined: Thu Aug 04, 2011 4:52 pm
Location: perth, australia

Next

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 21 guests