Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tools ==> Developer ==> New Plugin
- import sublime, sublime_plugin
- class OnActivatedListener(sublime_plugin.EventListener):
- def on_activated (self, view):
- print ("opened" + view.file_name ())
- view.window ().run_command ("reveal_in_side_bar")
Add Comment
Please, Sign In to add comment