I run this fine in ST2, but get error in ST3
Any ideas what is wrong with this most basic example in ST3 ?
I run it by typing into console
view.run_command("example")
Here is very simple example:
import sublime, sublime_plugin
class ExampleCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.insert(edit, 0, "Hello, World!")
print "hello"
Error
print "hello"
^
SyntaxError: invalid syntax
Thanks for help…
I wonder if one of my plugins in ST2 is allowing this? I did disable SublimeREPL, but the print still worked in ST2.
Rob