TheSpyder / SyncedSideBar

Sublime Text plugin to sync project sidebar (folder view) with currently active file.
341 stars 23 forks source link

Please don't "reveal" a file when I click a file name *above* the file-tree #33

Closed aliteralmind closed 9 years ago

aliteralmind commented 9 years ago

Excellent plugin. There's one annoying quirk however, although I'm not sure you have any control over it.

I do NOT want to focus on a file in the tree under one condition: When I select it from the list of all open files, as displayed above the file-tree, in the sidebar.

You click on an item, and are immediately flung down to its location in the tree. Almost always I don't like this. You can't quickly click from one file to the next in this list because of this behavior.

If it's possible, please make this a configurable option to turn off. Thanks.

http://i.imgur.com/Pvqt3xn.jpg

TheSpyder commented 9 years ago

Sadly you are correct, Sublime does not appear to differentiate between clicking those files and switching tabs. And without a sidebar API, there's no way to implement this check myself.

All the plugin can offer is the ability to quickly toggle ("enable syncing" and "disable syncing" in the command palette). These are standard Sublime commands, which means you can also make a keyboard shortcut for them if that helps (look in the Commands.sublime-commands file for command details).

aliteralmind commented 9 years ago

That's good to know. I'll probably use those commands directly from the palette. Thank you.