Closed ruslanvasylev closed 10 years ago
You would encounter this message if the plugin determined you were not in either a python or a Mel syntax mode. Is your file either saved as a py or mel extension, or have you set the syntax manually?
So, it has to be a saved file, or the syntax has to be set through View > Syntax > Python/Mel.
Got it, everything works now!
Thanks Justin!
Awesome. Glad you got it working! Yea the way Sublime handles its plugins is that it has to match up a determined syntax with the matching plugin. It can either get that from the file extensions defined in the plugin, or if you just tell it what syntax it is before saving it :-)
Its pretty common for me to pop open a new tab and throw in some json, then hit ctrl+shift+p to bring up the command palette, and I type the fuzzy "set syn js" and hit enter. Same with py when I just want to mess with some code in memory.
Getting this message when trying to run any sort of python command through sublime,
I've opened the port in maya to no avail. The ctrl+enter also does not seem to work.
Help,
OS: windows 7 Maya: 2012 Sublime: 2.0.2