I am playing with events, created the following simple plugin:
- Code: Select all
import sublime, sublime_plugin
print "new file"
view.insert(edit, 0, "Hello, World!")
print "got focus"
Saved it here ~/Library/Application Support/Sublime Text 2/Packages/EventDump/eventDump.py
But I don't see any relevant output on the console. Looks like events are not triggered.