Hi folks,
I am trying to develop a plugin for sublime text 2. I want to use the onProjectLoad event (I think now it is the on_project_load event)
But I cant get it. The documentation I have found is out of date?
Here one of my tries:
[code]import sublime, sublime_plugin
from pprint import pprint
class CreateCompassProjectCommand(sublime_plugin.WindowCommand):
def run(self):
print dir(self)
def on_project_load(window):
print "hi"
print window.project().fileName()[/code]
What I have to do? Sorry, if it is obvious, but I cant find it!