Installing Sublime: Great Txt Editor For Maya (for mel and python)

Опубликовано: 21 Март 2026
на канале: andrew silke
13,634
152

How to install the great Sublime txt editor for full compatibility with Maya. Supports mel .mel and python .py and "send to Maya" features.

Sublime is free unlimited trail but please buy if using a lot ($70 USD). This demo is on MacOSX but should work pretty much the same for Windows or Linux. Details below.

Andrew Silke 3d Animator and Instructor
Free Daily blog:   / create3dcharacters  
Website: http://www.create3dcharacters.com/

1. INSTALL SUBLIME
http://www.sublimetext.com/

2. PACKAGE CONTROL
https://sublime.wbond.net/installatio...

3. PACKAGE CONTROL INSTALLS
JEDI (Auto Complete and other)
https://github.com/srusskih/SublimeJEDI

PYTHON TEMPLATE FIXERS
Sublime Linter
pep8
pyflakes

MAYA SUBLIME
https://github.com/justinfx/MayaSublime

4. OPEN PORTS TO SUBLIME
http://fredrik.averpil.com/post/55507...

import maya.cmds as cmds

Close ports if they were already open under another configuration
try:
cmds.commandPort(name=":7001", close=True)
except:
cmds.warning('Could not close port 7001 (maybe it is not opened yet...)')
try:
cmds.commandPort(name=":7002", close=True)
except:
cmds.warning('Could not close port 7002 (maybe it is not opened yet...)')

Open new ports
cmds.commandPort(name=":7001", sourceType="mel")
cmds.commandPort(name=":7002", sourceType="python")