I'm trying to get started with a very simple plugin in Sublime Text 2... I figured out some of the basics (sublime_plugin instead of sublimeplugin, EventListener instead of Plugin) but I can't get my code to fire when I switch views... any ideas why this wouldn't work?:
- Code: Select all
import sublime, sublime_plugin
print view.fileName(), "is now the active view"
It's failing silently. Thanks for the help!