Sublime Forum

CodeIntel ported from Open Komodo Editor

#161

Can you guys please get the latest version (now 1.3) and try it?

This version should fix the issues you were having in Linux, plus now you shouldn’t need to build the libraries anymore, libpcre is now statically linked and SublimeCodeIntel should now work out of the box in Linux (32 and 64 bit) :smiley:

Get it from the usual GitHub repo: github.com/Kronuz/SublimeCodeIntel

v1.3 (20-12-2011):
- This build should fix many of the problems seen in Linux systems.
- Libraries for Linux rebuilt with libpcre statically (libpcre bundled for Linux builds).
- calltip() is now thread safe (which caused some strange behavior in Linux where Sublime Text 2 ended up being unresponsive).

0 Likes

#162

[quote=“Kronuz”]Can you guys please get the latest version (now 1.3) and try it?

This version should fix the issues you were having in Linux, plus now you shouldn’t need to build the libraries anymore, libpcre is now statically linked and SublimeCodeIntel should now work out of the box in Linux (32 and 64 bit) :smiley:

Get it from the usual GitHub repo: github.com/Kronuz/SublimeCodeIntel

v1.3 (20-12-2011):
- This build should fix many of the problems seen in Linux systems.
- Libraries for Linux rebuilt with libpcre statically (libpcre bundled for Linux builds).
- calltip() is now thread safe (which caused some strange behavior in Linux where Sublime Text 2 ended up being unresponsive).[/quote]

Not working on Ubuntu 2.6.38-11-generic x64

When I try ALT+LEFT-CLICK, plugin starts scanning the project but never ends (or takes longer than 5 minutes…) Tested with a fresh WordPress project and a Zend Framework one.

¿Can I send you some sort of log or give you more information to help solve the problem?

0 Likes

#163

I think an update to ST2 broke this plugin, as now I don’t even have the message about my indexes being built. I’ve tried fresh installs of SublimeCodeIntel and it still doesn’t seem to do anything. It’s really frustrating because this broke my entire flow for me. Hopefully a fix is pushed out soon.

0 Likes

#164

It doesn’t work. Keeps writing “Processing PHP”, or “Updating indexes” or “Doing CodeIntel”… And the pop up never shows up. It only works with CSS right now.

0 Likes

#165

I confirm: "Keeps writing “Processing PHP”, or “Updating indexes”
Ubuntu 11.10

tried

$ sudo apt-get install g++ $ sudo apt-get install python-dev
and

build.sh

No success :frowning:

0 Likes

#166

Are You sure this instruction is correct?
“…] go to your Packages/SublimeCodeIntel/src folder, then simply run:”

$ ./build.sh

When I run it in src folder as above, I got:
bash: ./build.sh: (no access)
When try

$ sudo ./build.sh

I got:

sudo: ./build.sh: command not found

But when try just:

$ sh build.sh

Script runs but ends with error:

cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default] ../scintilla/src/LexUDL.cxx:21:18: fatal error: pcre.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

0 Likes

#167

OK, last error solved, installed this packages:

sudo apt-get install php5-dev sudo apt-get install libpcre3-dev
but still no expected results on ctrl+space :frowning:

0 Likes

#168

hi kronuz i’m running the lastest x64 dev build on win 7 x64…but since the last 2 dev build or so i can’t manage to make it working, any updates, fix or else?

ty

0 Likes

#169

[quote=“Fed03”]hi kronuz i’m running the lastest x64 dev build on win 7 x64…but since the last 2 dev build or so i can’t manage to make it working, any updates, fix or else?

ty[/quote]

I get this in my console:

Exception in thread scanning thread: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) File "./SublimeCodeIntel.py", line 604, in _codeintel_scan File "/Users/rob/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/manager.py", line 351, in buf_from_content buf = buf_class(self, accessor, env, path, encoding) File "/Users/rob/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/lang_php.py", line 1168, in __init__ super(PHPBuffer, self).__init__(*args, **kwargs) TypeError: super(type, obj): obj must be an instance or subtype of type

Regards,

Rob…

0 Likes

#170

ty, but…what??? XD
can u explain me in simple words?

0 Likes

#171

any news about an update to fix the current broken plugin?

0 Likes

#172

That’s pitty that it doesn’t work on Ubuntu finally. It was the most important plugin for me to rapid coding with SublimeText :frowning:

0 Likes

#173

+1

0 Likes

#174

Is any work being done on fixing this on Ubuntu ?

0 Likes

#175

soooo. anyone willing to take up the reigns on this project and getting it up to date for all os’ and latest dev releases of st2? :smiley: do we need a bounty?

0 Likes

#176

php 5.3 namespace autocomplete would also be pretty sweet…

0 Likes

#177

[quote=“xavi”]

+1[/quote]

+1

0 Likes

#178

Still doesn’t work at all on Windows. Sure wish someone would take over this plugin or it would become core. I could really use some Django autocompletion. Would pay for this plugin…

0 Likes

#179

This plugin does, in fact work on Windows, I can confirm that.

0 Likes

#180

Can you explain if you’ve done anything to make it work? I had previously tried it without success as well.

0 Likes