sublime-evernote
sublime-evernote copied to clipboard
automatically revert on note getting focus?
trafficstars
this might be a good idea -- Sublime will automatically refresh a text file if it's changed in the background (e.g. via dropbox sync) when it gets focus again.
Since this involves a potentially expensive interaction with the server I would not include this. Instead, when I (or somebody who wants to contribute) will find the time, a command for synch with the server will be added.
In the meantime you can fix this by creating a custom plugin with
import sublime_plugin
class EvernoteRevertListener(sublime_plugin.EventListener):
def on_activated(view):
if view.settings().get("$evernote_guid", False):
view.run_command("revert_to_evernote")