New powerful code editor

937 views
Skip to first unread message

Farsheed Ashouri

unread,
Jul 2, 2012, 3:08:35 AM7/2/12
to python_in...@googlegroups.com
Hey folks, i found out a new code editor that seems very promising.

http://www.sublimetext.com/


Justin Israel

unread,
Jul 2, 2012, 10:55:27 AM7/2/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
I don't think SublimeText is new. Its been out for a while and is at ver 2.
But ya, I use it as well and think its great. Went from Eclipse to this. There are a handful of addons that make the python environment even better.



On Jul 2, 2012, at 12:08 AM, Farsheed Ashouri <farsheed...@gmail.com> wrote:

> Hey folks, i found out a new code editor that seems very promising.
>
> http://www.sublimetext.com/
>
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

Ehsan Kiani

unread,
Jul 2, 2012, 11:21:14 AM7/2/12
to python_in...@googlegroups.com
Very good, thanks.
--
--------------------------------------------
Ehsan Kiani
Character TD
http://vimeo.com/user2219426
Mobile: +98 918 936 9006
[GMT: +3:30 hrs]
Iran
--------------------------------------------

Jesse Capper

unread,
Jul 2, 2012, 5:13:05 PM7/2/12
to python_inside_maya
I just started trying out sublimetext, mind sharing the addons that
you find useful?

On Jul 2, 7:55 am, Justin Israel <justinisr...@gmail.com> wrote:
> I don't think SublimeText is new. Its been out for a while and is at ver 2.
> But ya, I use it as well and think its great. Went from Eclipse to this. There are a handful of addons that make the python environment even better.
>

PixelMuncher

unread,
Jul 2, 2012, 5:32:31 PM7/2/12
to python_in...@googlegroups.com
Is there an easy way to connect to Maya so it can send commands?
Thx.

Justin Israel

unread,
Jul 2, 2012, 6:00:14 PM7/2/12
to python_in...@googlegroups.com
@Jesse
SublimeCodeIntel - https://github.com/Kronuz/SublimeCodeIntel

@PixelMucher
I don't think there is an existing plugin, from what I have searched, but the editor allows for it by writing a python plugin:
You could make it something that fires on File Save, or an application command that maybe binds to a hotkey for "Send To maya"


On Mon, Jul 2, 2012 at 2:32 PM, PixelMuncher <pixel...@gmail.com> wrote:
Is there an easy way to connect to Maya so it can send commands?
Thx.

Kurian O.S

unread,
Jul 2, 2012, 10:32:12 PM7/2/12
to python_in...@googlegroups.com
Is it free like scite ? because I saw a menu for "Enter License".
--
--:: Kurian ::--

Justin Israel

unread,
Jul 2, 2012, 10:34:11 PM7/2/12
to python_in...@googlegroups.com
Unfortunately its not free. But its also not really expensive.

I decided to throw something together today for being able to send commands from SublimeText2 -> Maya:
Its a start, and works for the simple tests I have done so far.



If someone ever decides to write a syntax file for MEL, I could include that as well.

Kurian O.S

unread,
Jul 2, 2012, 11:01:15 PM7/2/12
to python_in...@googlegroups.com
code complete is working for anyone ? I tries some thing like os.path. but no compete window or do we need any plugin ? I am really looking for maya commands complete :)

Kurian O.S

unread,
Jul 2, 2012, 11:01:42 PM7/2/12
to python_in...@googlegroups.com
aha thats a cool Idea Justin 

Justin Israel

unread,
Jul 2, 2012, 11:13:24 PM7/2/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
Read up to my previous reply about installing CodeIntel, to get code completion for general python standard lib. 
I can't remember if it works for the maya commands module though. CodeIntel would have to be able to load the .so like Eclipse does, as opposed to how other completers just parse an AST from the source files. 


Kurian O.S

unread,
Jul 3, 2012, 12:02:35 AM7/3/12
to python_in...@googlegroups.com
I found another one https://github.com/JulianEberius/SublimeRope works nice :)

Justin Israel

unread,
Jul 3, 2012, 2:10:36 PM7/3/12
to python_in...@googlegroups.com
For anyone that ends up using SublimeCodeIntel, I just got completion working fine with the maya commands and api.

(adjust paths for your platform)

In your ~/.codeintel/config, add this path to your "pythonExtraPaths " python entry:

...
    "Python": {
        "python": '/usr/local/bin/python',
        "pythonExtraPaths": [
            ...  
            '/Applications/Autodesk/maya2012/devkit/devkit/other/pymel/extras/completion/py'
        ]
    }
...

The next time you do a completion, it will want to scan that location which might take a few seconds the first time:

import maya.OpenMaya as om
om.<completion>

Justin Israel

unread,
Jul 4, 2012, 1:08:01 PM7/4/12
to python_in...@googlegroups.com
I just did a clean install to check the steps. Here is the easiest way from a fresh SublimeText2 install:
(Note: When I refer to the "super" key on mac, the equiv on win/linux is the "ctrl" key)

1. Install the Package Manager to make subsequent installs easy, and it will keep them up to date:
    a. Open up the Command Console: View -> Show Console
    b. Paste this python snippet which will install Package Manager, from this link: http://wbond.net/sublime_packages/package_control/installation
   c. Restart Sublime

2. Install SublimeCodeIntel
    a. Open the command palette (super+shift+p on mac), and type "Install Package"; hit enter
    b. Now search: CodeIntel; choose it and it will install.
    c. Restart Sublime

3. Test CodeIntel: The first time you start using CodeIntel, it will need to build an index of your pythonpath to find everything.
    a. open up a python script (something saved with a .py so sublime knows what language it is)
    b. import sys
    c. on a new line, start typing: sys.
    d. after the period, hit the manual completion hotkey. on mac its super+j 
    e. You will see the status at the bottom telling you CodeIntel is scanning all your paths. When it is done, it will show the completion. And now autocompletion will be working right away.

Personally, I turn off autocompletion in the settings and just use the hotkey when I want completion. I don't like it constantly popping up for everything I type.

With this working, you could proceed to add more paths to your config, as listed in my previous reply.

let me know if this stats working for ya.



On Jul 3, 2012, at 9:00 PM, Ollarin wrote:

Hey Justin, 

I've been trying to set up SublimeCodeIntel but I can't get it to work, according to ST2 it's installed. I've added the paths to the config file, though I don't get any auto completion. Even ctrl+shift+space doesn't work for bringing up the code completion manually.

Would you happen to know what might cause something like that?

Kurian O.S

unread,
Jul 4, 2012, 1:17:40 PM7/4/12
to python_in...@googlegroups.com
But you need SilverCity installed in your system for SublimeCodeIntel, otherwise CodeIntel will fail for loading autocompletion.

Kurian O.S

unread,
Jul 4, 2012, 1:18:19 PM7/4/12
to python_in...@googlegroups.com

Justin Israel

unread,
Jul 4, 2012, 1:34:09 PM7/4/12
to python_in...@googlegroups.com
Thats not true, at least it isn't for me on any of my systems.
SilverCity is part of the local lib package for SublimeCodeIntel:

~/Library/Application\ Support/Sublime\ Text\ 2/Packages/SublimeCodeIntel/libs/SilverCity

Kurian O.S

unread,
Jul 4, 2012, 1:55:23 PM7/4/12
to python_in...@googlegroups.com
but for some reason in linux I am getting 

ImportError: No module named SilverScity 

from .config/sublime-text-2/Packages/SublimeCodeIntel/libs/codeintel2/common.py 

Justin Israel

unread,
Jul 4, 2012, 3:09:03 PM7/4/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
Strange. Maybe a bug in the package or something. Did you install it from the package manager? Its possible that the libs are a git submodule and I didnt look. 


Panupat Chongstitwattana

unread,
Jul 4, 2012, 3:22:10 PM7/4/12
to python_in...@googlegroups.com
Are those plug ins also available for windows?

Dean Warren

unread,
Jul 4, 2012, 3:42:36 PM7/4/12
to python_in...@googlegroups.com
Is that error message exact? I ask because it says:

SilverScity

...but the module is called:

SilverCity

...maybe a typo in common.py?

Kurian O.S

unread,
Jul 4, 2012, 3:50:49 PM7/4/12
to python_in...@googlegroups.com
Ah thats a typo, 

I just cleaned everything and I installed everything from scratch, now codeIntel is working for me.

But still I have errors 

Traceback (most recent call last):
  File "./sublime_plugin.py", line 272, in is_enabled_
  File "./SublimeCodeIntel.py", line 1070, in is_enabled
  File "./SublimeCodeIntel.py", line 1050, in is_enabled
  File "./SublimeCodeIntel.py", line 214, in guess_lang
AttributeError: 'NoneType' object has no attribute 'settings'

not sure but I am happy with maya autocomplete :)




--
--:: Kurian ::--

Justin Israel

unread,
Jul 4, 2012, 4:52:34 PM7/4/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
Should be platform independent 


Justin Israel

unread,
Jul 4, 2012, 4:53:34 PM7/4/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
Yea Im not sure why you are getting errors. With a clean install per the site instructions, it has no problems on OSX. And its not a platform specific plug. Are you using the latest sublime app?


Justin Israel

unread,
Jul 5, 2012, 8:55:22 PM7/5/12
to python_in...@googlegroups.com
I just tested installing Sublime on an Ubuntu 64 VM image. It worked right away.

1. Start up sublime
2. Install Package control and restart
3. From Package Control, install SublmeCodeIntel and restart
4. Create:  test.py and save
5. type:  import sys  # hit enter
6. type:  sys.

When I sit there and wait, at the bottom the status bar says to hang on while the indexes are built. After maybe 7 seconds, its done. 
Then I hit ctrl+j (or just retype sys.) and I get completion.

No idea what could be wrong if its not working. These are unlicensed installs. I only have one license at work on my OSX 10.6.8 box.



On Wed, Jul 4, 2012 at 1:15 PM, Ollarin <admi...@gmail.com> wrote:
Hey Justin, 

Hmm..I just reinstalled Sublime and followed your steps and I still can't get it to work. The hotkey (ctrl+j) doesn't bring anything up. Infact, it doesn't even bring it up automatically. :/

Judah Baron

unread,
Jul 5, 2012, 11:14:28 PM7/5/12
to python_in...@googlegroups.com
I did an install and it is running, but it has a KeyError that is not visible unless the console is visible. You might try opening the console to see if there is any feedback.

Ollarin

unread,
Jul 5, 2012, 11:46:15 PM7/5/12
to python_in...@googlegroups.com
Ah. I just turned on the console and I get this error every time I try to use the autocompletion:

"codeintel2.common.DatabaseError: cannot upgrade from db v2.0.24: no upgrader for this version". Though, I'm using the latest version of sublime. So I'm not sure what going on with that. 

When I try to upgrade packages it tells me there are no packages that need to be updated. 

Miguel González Viñé

unread,
Jul 6, 2012, 3:48:28 AM7/6/12
to python_in...@googlegroups.com
Are you on Windows Ollarin?
I can't get it to work on Windows. After a fresh install and follow
all the Justin steps, it doesn't work.
I've also edited the config file adding the next lines because the
file was empty :
{
"Python": {
"python": 'C:/Python26',
"pythonExtraPaths": ['C:/Program
Files/Autodesk/Maya2011/devkit/other/pymel/extras/completion/py']
},
}

But it still doesn't work.

Any ideas?

Justin Israel

unread,
Jul 6, 2012, 11:36:16 AM7/6/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
Your python variable needs to point all the way to the interpreter and not just the directory.
Im pretty surprised that so many people had issues. I must have been lucky. Though its strange that I have two home computers, a work computer, and a VM that all didn't produce errors. Anyone want to come work on my machines? ;)

Judah Baron

unread,
Jul 6, 2012, 11:47:42 AM7/6/12
to python_in...@googlegroups.com
I'm also on wndows and it's not working.

Miguel González Viñé

unread,
Jul 6, 2012, 12:05:34 PM7/6/12
to python_in...@googlegroups.com
Thank you so much Justin,

Works great pointing python variable to the interpreter :) Thanks!
So, my config file looks this way now:
{
"Python": {
"python": 'C:/Python26/python.exe',
"pythonExtraPaths": ['C:/Program
Files/Autodesk/Maya2011/devkit/other/pymel/extras/completion/py']
},
}

Pymel works too! Nice.

Ollarin

unread,
Jul 6, 2012, 7:38:14 PM7/6/12
to python_in...@googlegroups.com
Glad you got it fixed Liciman! :D

I still can't get it working. :(
The config file is pointing to the right places. But I'm still getting this error:

codeintel2.common.DatabaseError: cannot upgrade from db v2.0.24: no upgrader for this version

Any ideas? :/

Justin Israel

unread,
Jul 6, 2012, 9:20:19 PM7/6/12
to python_in...@googlegroups.com
Maybe blow away the ~/.codeintel/db and let it rebuild again.

Ollarin

unread,
Jul 6, 2012, 9:27:02 PM7/6/12
to python_in...@googlegroups.com
Aha! I don't seem to have a db file. All that's in the .codeintel folder is the config file. 

Perhaps that's what's causing it? It doesn't seem to be building it automatically. Is there a way I can build it manually?

张宇

unread,
Aug 22, 2012, 11:57:43 AM8/22/12
to python_in...@googlegroups.com
Why not send to maya?
I am sure i can send command to maya with port 7002, and i test it in sublime

import socket 
port = 7002
sendST = 'import maya.cmds as mc;mc.polyCube()'
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(('127.0.0.1', port))
sock.settimeout(5)
sock.send(sendST)

here is the error information

Traceback (most recent call last):
  File "I:\workflow\python\b.py", line 5, in <module>
    c = Telnet("", int(7002), timeout=3)
  File "C:\Python26\lib\telnetlib.py", line 209, in __init__
    self.open(host, port, timeout)
  File "C:\Python26\lib\telnetlib.py", line 225, in open
    self.sock = socket.create_connection((host, port), timeout)
  File "C:\Python26\lib\socket.py", line 514, in create_connection
    raise error, msg
socket.error: [Errno 10061] 
[Finished in 4.1s with exit code 1]
I tried to change 
c = Telnet("", int(port), timeout=3)
c.write(mCmd) 
 instead of 
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(('127.0.0.1', int(port))
sock.settimeout(5)
sock.send(mCmd)
in your MayaSublime.py file
but i failed, the shortcut ctrl+enter disappear . Please help me to know why.
Why can not use on windows
Why the shortcut disappeared

2012/8/22 ZhangYu <1988...@gmail.com>
hi Justin, I installed the plugin send to maya, it's ok on my mac, but there is an error on windows,
"Failed to communicate with Maya
[Error 10061]"
Do you know why?



--
My Blog     Maya Programing BBS


Panupat Chongstitwattana

unread,
Aug 22, 2012, 11:34:05 PM8/22/12
to python_in...@googlegroups.com
Is there a way to emb the class/function navigator (like the ctrl+R) to the side bar?

Miguel González Viñé

unread,
Sep 7, 2012, 5:09:27 PM9/7/12
to python_in...@googlegroups.com
Yes, it worked with that config, and it's my whole config file.

Miguel.



On Fri, Sep 7, 2012 at 10:15 PM, Nathan Allison <nate.a...@gmail.com> wrote:
This works for you? Is that your whole config file? I still can't get completion to work on Windows. 

Justin Israel

unread,
Sep 7, 2012, 5:32:40 PM9/7/12
to python_in...@googlegroups.com
I just loaded up a VM of windows 7 to test this out, and here is what I found.

There was an intermittent crash of SublimeCodeIntel around here:
C:\Users\User\AppData\Roaming\Sublime Text
2\Packages\SublimeCodeIntel\libs\codeintel2\lang_css.py
Around line 1118, when it is deleting temp variables. I didn't try and
debug it or anything, but I just changed it:

FROM:
del ch
del _ident_chars

TO:
try: del ch
except: pass

try: del _ident_chars
except: pass

... Which I think finally allowed everything to finish loading.
Since I don't have Maya for windows, I copied over the completions from OSX to:
C:\Program Files\Autodesk\completion\py\

Then I set up my config: C:\Users\User\.codeintel\config

{
"Python": {
"python": 'C:/Python27/python.exe',
"pythonExtraPaths": [
"C:/Python27/Lib/site-packages",
"C:/Program Files/Autodesk/completion/py",
]
},
}

With all of that done, I did:

import maya.cmds as cmds

And it started doing full maya completion.

vux

unread,
Sep 8, 2012, 7:52:47 AM9/8/12
to python_in...@googlegroups.com
I have installed sublime and sublimeMaya. It works but not echoing errors.
And is it posible to return output from maya to sublime console? 


Justin Israel

unread,
Sep 8, 2012, 11:18:13 AM9/8/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
It would be possible but it would have to make the assumption that you have opened your commandPort with certain options. Otherwise it would need to be added to more settings in the config that you would be required to set. 
It needs to know if the python port would be returning anything, and if so, is it pickled or not. 

I started out reading back on the socket but then figured there doesn't seem to be much point since you are staring at Maya anyways and would see all the output. 



On Sep 8, 2012, at 4:52 AM, vux <vux...@gmail.com> wrote:

I have installed sublime and sublimeMaya. It works but not echoing errors.
And is it posible to return output from maya to sublime console? 


PixelMuncher

unread,
Sep 13, 2012, 12:36:48 PM9/13/12
to python_in...@googlegroups.com

After spending the morning trying to fix Eclipse/Pydev problems, I checked out Sublime. It doesn't have a separate list of functions and vars - why do people like it so much?

Justin Israel

unread,
Sep 13, 2012, 1:33:28 PM9/13/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
Cmd/ctrl + r  ?
That will show you all of the class and functions in your code. I had the same question when I first started using it until I found there are a bunch of hotkeys. Its really great how it jumps you around as you type. 
The find feature is excellent too. You can search by regex and it will even search into all your project files and give you a result with context. You can click on any result to jump to the code. 
It is one of those apps that you have to explore a bit to realize the numerous features. I would say it is much lighter and faster than Eclipse and easier to work with once you set your prefs and hotkeys. I am still learning it. 



On Sep 13, 2012, at 9:36 AM, PixelMuncher <pixel...@gmail.com> wrote:


After spending the morning trying to fix Eclipse/Pydev problems, I checked out Sublime. It doesn't have a separate list of functions and vars - why do people like it so much?

--

PixelMuncher

unread,
Sep 13, 2012, 5:52:55 PM9/13/12
to python_in...@googlegroups.com
Yeah, I had found crtl + r, but it doesn't float does it?  Maybe I'm a wimp, but I've grown accustomed to having a navigable list of all the functions and vars in my code (just beginning to use classes).  I use FlashDevelop for AS3, and they have that feature.  Eclipse also has the multi-file search with clickable links.  I spent some more time figuring out Pydev's idiosyncrasies, so I'm going to stick with that for now.  I also tested PyScripter, which appears very full featured, but it crashed a couple times...  If I want to lose my code, I'll use the Script Editor...

Justin Israel

unread,
Sep 13, 2012, 6:23:02 PM9/13/12
to python_in...@googlegroups.com
Ya I stopped using Eclipse when it wouldn't stop crashing on me and
doing crazy scans all the time of the filesystem. It as just so bulky.
I kind of like that the AST search only comes up via hotkey because it
remind me of nuke with the tab key for quickly adding a Node, You
don't have to take up screen real-estate until you want it. Then it
goes away again. Jumping to a function is as simple as doing: ctrl+r
-> "myFunc" -> enter

Justin Israel

unread,
Oct 7, 2012, 7:08:50 PM10/7/12
to python_in...@googlegroups.com, python_in...@googlegroups.com
It wont matter whether you are using python2.6 or 2.7 from the standpoint of sublime as long as you arent using 2.7 features in your maya scripts.
Make sure you are not including Mayas site-packages in your pythonpath. You dont want sublime scanning it. You only want it to find the stubs from the pymel completion location. 

On Oct 7, 2012, at 2:19 PM, scrat <erik.k...@bobby.se> wrote:

Can't get this to work... I can send commands to maya but the autocompletion of maya commands doesnt work.
I keep getting the: "could not find data for Python blob 'maya.cmds'"

Anyone still working on this? Im on win7 x64 with Maya 2013 x64 and got python26 x64 installed. Also have latest python27 x86 installed if that could be any problem?

thank you!

Justin Israel

unread,
Oct 8, 2012, 4:03:15 PM10/8/12
to python_in...@googlegroups.com
What does your .codeintel config look like?
`grp` should be part of the python distribution, so my guess is that
you don't actually have the python libs in your path.

Do you get that same error if you try to import something like
itertools, datetime, or math?



On Mon, Oct 8, 2012 at 11:49 AM, scrat <erik.k...@bobby.se> wrote:
> Thanks, I got it working now! I was using mayapy.exe to get my maya imports
> to work.
> But now i switched to "C:\\python26\\python.exe" instead. And to get the
> imports working again I added PYTHONPATH to "env" in my python build system.
>
> I also completely missunderstood the location of the .codeintel folder... I
> was editing the config file in "C:\Users\User\AppData\Roaming\Sublime Text
> 2\Packages\SublimeCodeIntel\.codeintel"....´
> The correct path for everyone that might be as stupid as me is:
> C:\Users\User\.codeintel.
>
> I still can't get pymel to work properly though... Autocompletion is working
> but i get this error when i run import pymel.core as pm:
>
> import pymel.core as pm
> File "C:\Program
> Files\Autodesk\Maya2013\devkit\other\pymel\extras\completion\py\pymel\core\__init__.py",
> line 1, in <module>
> import pymel.api as _api
> File "C:\Program
> Files\Autodesk\Maya2013\devkit\other\pymel\extras\completion\py\pymel\api\__init__.py",
> line 5, in <module>
> import pymel.util as util
> File "C:\Program
> Files\Autodesk\Maya2013\devkit\other\pymel\extras\completion\py\pymel\util\__init__.py",
> line 16, in <module>
> from pymel.util.common import *
> File "C:\Program
> Files\Autodesk\Maya2013\devkit\other\pymel\extras\completion\py\pymel\util\common.py",
> line 8, in <module>
> from pymel.util.path import *
> File "C:\Program
> Files\Autodesk\Maya2013\devkit\other\pymel\extras\completion\py\pymel\util\path.py",
> line 20, in <module>
> import grp
> ImportError: No module named grp
>
> Anyone got this too?
>
> Thanks for the quick help!

Justin Israel

unread,
Oct 9, 2012, 1:49:15 AM10/9/12
to python_in...@googlegroups.com
Shot in the dark, since I can't test this, but you can try adding the actual location of those python libs.
I think grp is located here:

C:/Python26/Lib/lib-dynload

That could be completely wrong for Windows since I know it uses a different type of lib. But see if grp is in there and adjust the path accordingly. Not sure why its missing. 



On Oct 8, 2012, at 1:19 PM, scrat wrote:

It looks like this:

{
"Python": {
"python": 'C:/Python26/python.exe',
"pythonExtraPaths": ['C:/Python26/Lib/site-packages','C:/Program Files/Autodesk/Maya2013/devkit/other/pymel/extras/completion/py/']
}
}

itertools, datetime and math is all importing without errors. And so does maya.cmds.

Thanks for your help, much apprecciated!

scrat

unread,
Oct 9, 2012, 2:30:11 PM10/9/12
to python_in...@googlegroups.com
Thanks, It works!
I think I'm all set now, everything seems to work more or less.
Here's how my python builder "Python.sublime-build" looks like:

{
"cmd": ["C:\\Python26\\python.exe", "-u", "$file"],
"env": {"PYTHONPATH": ["C:\\Program Files\\Autodesk\\Maya2013\\devkit\\other\\pymel\\extras\\completion\\py", "C:\\Python26\\Lib\\lib-dynload"]},
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"

Justin Israel

unread,
Jan 15, 2013, 4:14:09 PM1/15/13
to python_in...@googlegroups.com
Now that I have moved to a studio with linux, I ended up hitting similar issues with SublimeCodeIntel. Thought I would just tack on my solution for future searches...

Was seeing the issue in the ST2 console, complaining about the wrong architecture (or missing) SilverCity. I had to manually build it by changing into the Packages/SublimeCodeIntel/src directory and running ./build.sh
Unfortunately, pcre failed to compile with:

/usr/bin/ld: libpcre.a(pcre_compile.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
libpcre.a: could not read symbols: Bad value

I had to edit the build.sh and change line 18 from:
./configure --disable-shared && \
to
./configure --disable-shared --with-pic && \

Then my build completed, and SublimeCodeIntel worked right away.

Mitch Rosefelt

unread,
Jan 16, 2013, 5:09:04 PM1/16/13
to python_in...@googlegroups.com
Charcoal, Charcoal, Charcoal... http://zurbrigg.com/charcoal-editor
No, I'm not paid to promote it, I just think its great and want to support one of our own ;-)

Christopher Stewart

unread,
Jan 18, 2013, 8:21:42 PM1/18/13
to python_in...@googlegroups.com
Oh, I have a question about that.

Tried it briefly but couldn't find support for a couple of things I
use regularly. But perhaps I'm missing something:

-bulk indent/outdent
-bulk commenting

Any ideas?





On Wed, Jan 16, 2013 at 2:09 PM, Mitch Rosefelt <pixel...@gmail.com> wrote:
> Charcoal, Charcoal, Charcoal... http://zurbrigg.com/charcoal-editor
> No, I'm not paid to promote it, I just think its great and want to support one of our own ;-)
>
> --
> You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
> To post to this group, send email to python_in...@googlegroups.com.
> To unsubscribe from this group, send email to python_inside_m...@googlegroups.com.
>
>



--
----
Christopher Stewart
Vancouver, BC
3D TD | VFX IT

Mitch Rosefelt

unread,
Jan 20, 2013, 10:15:11 AM1/20/13
to python_in...@googlegroups.com
> Tried it briefly but couldn't find support for a couple of things I
>
> use regularly. But perhaps I'm missing something:
>
> -bulk indent/outdent
>
> -bulk commenting
>
Hi Christopher Stewart - I remember Flay from Lightwave days a million years ago!

For bulk indent/outdent, tab/shift tab will work on selected text, maintaining hierarchy of tabs.
No bulk commenting, but you should request it on Chris' forum. He's very responsive to requests.

Christopher Stewart

unread,
Jan 21, 2013, 12:03:38 AM1/21/13
to python_in...@googlegroups.com
Hi Mitch!

I'd say 'small world' but I keep bumping into people from those days :-)

Thanks for the bulk indenting. I didn't see it in the menus and made
ASSumptions.

Will ask about the commenting.

Cheers,

Christopher
Reply all
Reply to author
Forward
0 new messages