Sublime Forum

CodeIntel ported from Open Komodo Editor

#140

Up please, I need it so much

Same error on Ubuntu Linux 2.6.38-11-generic x86_64[/quote]

I quote myself =)

You can solve this error following this structions (github.com/Kronuz/SublimeCodeIn … nt-2148739):

  • On terminal go to SublimeCodeIntel source directory
  • sudo apt-get install libpcre+±dev
  • chmod 777 ./build.sh
  • ./build.sh

It works for me :wink:

0 Likes

#141

[quote=“Fed03”]hi all,
i’ve just installed sublime text 2 dev 2132 for win x64 and then PackageControl

now, it’s the first time that i use CodeIntel but i can’t manage to do anything…it’s a problem og mine (maybe i’m too much dumb XD) or there is some compatibles issue?

ty for any answer and sry for my bad eng[/quote]

no one have this problem? maybe i miss something?

0 Likes

#142

Amazing plugin!, but it freezes or flies out without any errors, even with disabled live autocompletion. :cry:
and needs editor restart. =(

CodeIntel - git cloned. today.
SL Build 2126
Linux 2.6.32-34-generic #77-Ubuntu x86_64 GNU/Linux

0 Likes

#143

Can you try with the latest dev build of Sublime ? Earlier SublimeText builds have a critical bug that affects SublimeCodeIntel, causing crashes.

0 Likes

#144

I’ve tried with Build 2133 - same result. =(
And one important thing, on first autocomplete it freezes for…i dont know, i’ve waited around 6-7 minutes and have to restart editor.
About project - it is clean project based on Yii framework(php lang).

Tested on two different linux distros(Ubuntu and Older Ubuntu :wink: ) on laptop and work computer.

0 Likes

#145
0 Likes

#146

Did you run the build.sh under the src directory in the plugin, to build the library parts? If not, it probably won’t work. Take a look at the console to see if there are loading errors for SilverCity.

0 Likes

#147

bah it doesn’t work…or crappy plug in or crappy documentation on how it works, or inteded that it works

0 Likes

#148

As far as I’m aware, you paid no money for this plugin, and it was ported to SublimeText by an enthusiastic user wanting to share his work , not by the developers of SublimeText. Please try to be civilised.

Martin

0 Likes

#149

[quote=“firstrow”]Amazing plugin!, but it freezes or flies out without any errors, even with disabled live autocompletion. :cry:
and needs editor restart. =(

CodeIntel - git cloned. today.
SL Build 2126
Linux 2.6.32-34-generic #77-Ubuntu x86_64 GNU/Linux[/quote]

I have the same problem. Editor freezes randomly when this plugin is active.When it freezes I can continue writing but I cannot see the changes on the screen. I must press F11 twice to refresh the screen and view all of what I had written. If I disable the plugin everything works fine.

CodeIntel downloaded and installed width Package control and compiled
SublimeText 2 Build 2133
Linux 2.6.38-11-generic #50-Ubuntu x86_64 GNU/Linux

0 Likes

#150

Either way, I deleted it and Sublime is a lot better now. I think I’ll switch back to Komodo though just because I can’t stand not having decent auto-complete.

Hope this can eventually be part of core Sublime and maintained. Love how ST2 looks/feels, but… just… can’t…

0 Likes

#151

I don’t normally call people asses on public fora, but: you’re an ass.

FWIW, it works well for me, and quite a few others. I have, however, no interest whatsoever in helping make it work for you, given your tone, and I suspect the same applies to anyone else who may’ve been able to help you.

A more mature response may have been to elucidate your problem and offer to help improve the state of the plugin, documentation or support avenues if you could get it to work. I’m pretty sure the author didn’t put the plugin on this forum only so he could get abuse.

Martin

0 Likes

#152

Hello,

SublimeCodeIntel have been working great for me, and @kronuz have been doing an amazing job with it, we even managed to get Jon fix an old critical bug and also had the amazing guys from Komodo CodeIntel2 to fix a problem with relative imports in python that was happening to then also.

So, the journey have been so much pleasant to me.

It could be the same for you if you could stop talk like if we had the obligation of helping you, because we dont have to.

This is OPENSOURCE, you can read the source code, go read OpenKomodo codeintel2 docs, if you want to make it work to you, go learn python and help us and stop talking like this.

Here is the repository:

github.com/Kronuz/SublimeCodeIntel

As aways, patches are so much welcome.

0 Likes

#153

here i add to you a screencast of the really hidden capacityof codeintel XD
sry in advance for bad eng XD

http://www.screencast.com/t/jLexFykJJ

whad do u think about it?

ty^

0 Likes

#154

Oh man… now they have problems and create videos with hidden features…

Can you please tell me wtf “d” is ??? Would that code work in ipython ???

Seems you want to make something that you did not even tried to study work, go read the CodeIntel source code and its README.

Aptana is a much better alternative to you (not because it is bad, because i love it, but because it should work out of the box for you).

… sorry for the tone, but no one has (even more in the opensource world) to make something work for anyone.

0 Likes

#155

Thanks for the marvelous work on porting this to sublimetext2, it works great for me.

I’ve been looking at python_codeintel.py@autocomplete trying to figure out a way to get functions to autocomplete with parens (), inserting the cursor between the parentheses. It looks like completions have a ‘type’, so I should be able to do some sort of conditional on type == ‘function’…but I don’t know enough yet about the ST2 API to figure out where to go from there. Any ideas?

0 Likes

#156

Hey,

I am running Submit Text 2 beta build 2126 (not sure if that’s the latest, how do I check?) on OS X Lion 10.7.2 (11C74), Mac Pro Mid-2010 2.8 GHz Quad-Core Intel Xeon

After installing CodeIntel I kept getting the crashing error that others had previously reported, then I noticed it was still trying to build indexes each time it crashed. I had a bunch of files (like Zend Framework) that it had to index, so I left it alone for awhile and now it doesn’t crash. Works sweet!!

Thanks!

The only thing I haven’t figured out is when I get code intel on a variable (this is in PHP) it shows all functions, not just the functions that relate to that class… is this how it is supposed to work, or have I not quite finished setting it up properly?

Appreciate any ideas people have.

0 Likes

#157

Nope, got it working!

I was editing a file outside of project root.

This plugin rocks!

0 Likes

#158

Thanks for the work on this plugin.

Something ive noticed is that in most languages, hitting cmd+J to trigger the autocomplete will not work if there are any characters preceding the cursor. It seems to still work in CSS, though. Does anyone else experience this?

0 Likes

#159

Does this plugin have full functionality for PHP? I’ve read all the documentation, most of this thread and I’m certain i’ve got the necessary dependencies installed and I’ve run build.sh successfully. I can get autocomplete working using CTRL+Space however the feature I really need to work is the jump to symbol.I’ve tried the various key bindings and mouse clicks but I cannot get the jump feature to work. I’m running ubuntu 11.11. This is the killer feature i need to jump ship from netbeans.

My console output is as follows:

startup, version: 2139 linux x64 channel: stable
executable: /home/brandon/Apps/SublimeText2/sublime_text
working dir: /home/brandon
packages path: /home/brandon/.config/sublime-text-2/Packages
settings path: /home/brandon/.config/sublime-text-2/Settings
PackageSetup not required
error parsing session: No data at: 0:0
Py_GetProgramName(): sublime_text
Py_GetExecPrefix(): .
Py_GetProgramFullPath(): /home/brandon/bin/sublime_text
Py_GetPath(): ./lib/python26.zip:./lib/python2.6/:./lib/python2.6/plat-linux2:./lib/python2.6/lib-tk:./lib/python2.6/lib-old:./lib/python2.6/lib-dynload
Py_GetPythonHome(): .
catalogue loaded
found 4 files for base name Default.sublime-keymap
found 2 files for base name Default.sublime-mousemap
found 3 files for base name Main.sublime-menu
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/comment.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/copy_path.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/delete_word.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/detect_indentation.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/duplicate_line.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/echo.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/exec.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/fold.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/font.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/goto_line.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/indentation.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/kill_ring.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/mark.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/new_templates.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/open_file_settings.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/paragraph.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/save_on_focus_lost.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/scroll.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/side_bar.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/sort.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/swap_line.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/switch_file.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/transform.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/transpose.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Default/trim_trailing_white_space.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Diff/diff.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Git/git.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/HTML/encode_html_entities.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/HTML/html_completions.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/Package Control/Package Control.py
Reloading plugin /home/brandon/.config/sublime-text-2/Packages/SublimeCodeIntel/python_codeintel.py
loading bindings
loading pointer bindings
Package Control: Skipping automatic upgrade, last run at 2011-11-28 09:59:44, next run at 2011-11-28 21:59:44 or after
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 0.186002
startup time: 0.261272
loaded 937 snippets

My .codeintel/config is:

{
        "PHP": {
                "php": '/usr/bin/php',
                "phpExtraPaths": ],
                "phpConfigFile": 'php.ini'
        }
}

Am I missing something?

0 Likes