I'm trying to build a new plug-in following the instructions found in :
which results in the following generated code:
def run(self, edit):
self.view.insert(edit, 0, "Hello, World!")
However, nothing happens when I try it out by following these directions:
In particular, when I when I execute view.run_command("example"), nothing happens. That is, "Hello, World!" does not show up in file, and the only thing printed in the Python console is: >>> view.run_command("example").
I'm at a loss as what to do at this point. I'd be grateful for any suggestion.
- docs.sublimetext.info/en/latest/ ... ugins.html