aziz / SublimeFileBrowser

Ditch sidebar and browse your files in a normal tab with keyboard, like a pro!
MIT License
394 stars 46 forks source link

Auto-update/refresh #119

Closed aramk closed 8 years ago

aramk commented 8 years ago

It seems that the color added from git status doesn't update when changing files? I need to backspace out of the directory and back in for it to take effect?

vovkkk commented 8 years ago

Yes, you can press r to refresh view.

Auto-update should be possible and this issue was raised previously, but the concern is performance, esp. in edge cases.

I think we are going to reach this goal sooner or later, let’s keep it open.

aramk commented 8 years ago

Ah ok, sounds good 👍 Pressing r key does work. Perhaps we can limit the git status call to only update for visible files, and when we expand a directory perhaps.

vovkkk commented 8 years ago

I’ve publish basic implementation in autorefresh branch, let’s test it.

Before publish it in master, we have to do following stuff (I hope to finish it in next couple of weeks):

vovkkk commented 8 years ago

Any suggestions for ‘icons’ that show if current view is supposed to be automatically refreshed?

For now I take Ѻ and Ӝ In sync 2016-08-11_16-17-35 Not in sync 2016-08-11_16-17-57

aziz commented 8 years ago

These characters look weird. does it need to be on status bar? can't we just log it to the console?

vovkkk commented 8 years ago

The reason was that I’ve put Toggle in context menu so these chars were supposed to help user understand what will happen, disable or enable.

Now I figured how to change caption on the fly, so no need to use status-bar.

vovkkk commented 8 years ago

It seems ready in general, I’m going to release new version this Friday.