Sublime Text 2: sync project side bar with active file

It is simple like adding tiny plugin:

import sublime
import sublime_plugin

class SideBarListener(sublime_plugin.EventListener):
    
    def on_activated(self, view):
        view.window().run_command('reveal_in_side_bar')

Plugin: https://github.com/sobstel/SyncedSideBar.

Actual author: http://www.sublimetext.com/for….#p19213

  1. by sobstel • January 2012 • blog archive