I have an EventListener plugin who’s on_activated method isn’t getting called on startup in ST3. Is this as designed in ST3? If so, what’s the recommended way of getting a plugin to do something on startup?
I have the following, which feels a bit dirty and causes a visual hiccup between the time of Sublime starting and the timeout firing:
[code]def plugin_loaded():
sublime.set_timeout(force_active)
def force_active():
view_id = sublime_api.window_active_view(sublime_api.active_window())
sublime_plugin.on_activated(view_id)
[/code]