Home Download Buy Blog Forum Support

CodeIntel ported from Open Komodo Editor

Re: CodeIntel ported from Open Komodo Editor

Postby mpedrummer on Tue Mar 27, 2012 6:56 pm

I'm waiting for it to break :)

My co-worker, who had initially gotten it to work in Ubuntu, has subsequently had it stop working. We haven't been able to figure out why.

Oh, computers. You suck, and I love you.
mpedrummer
 
Posts: 23
Joined: Thu Mar 08, 2012 9:50 pm

Re: CodeIntel ported from Open Komodo Editor

Postby xavi on Thu Mar 29, 2012 10:25 am

mpedrummer wrote:I'm waiting for it to break :)

My co-worker, who had initially gotten it to work in Ubuntu, has subsequently had it stop working. We haven't been able to figure out why.

Oh, computers. You suck, and I love you.


Noooooooo!!!! You are my only hope!!! :cry:
xavi
 
Posts: 24
Joined: Sat Jul 30, 2011 12:00 am

Re: CodeIntel ported from Open Komodo Editor

Postby mpedrummer on Thu Mar 29, 2012 7:09 pm

OK, here's a hint maybe - we got his working again, though it took deleting as much evidence that Sublime had ever existed as we could find :)

At some point, he had moved the directory that contained the executable into .config/sublime-text-2, which turned out to be a horrible idea.

After reinstalling, he ran the build.sh that comes with SublimeCodeIntel, and it works!
mpedrummer
 
Posts: 23
Joined: Thu Mar 08, 2012 9:50 pm

Re: CodeIntel ported from Open Komodo Editor

Postby andrew on Mon Jun 11, 2012 9:32 am

Hello!

I've got some problem with this package.

What I've done:

1) Installed the packages
2) Created a new folder
3) Created a new file test.rb
4) Typed in some Ruby class
Code: Select all
class Test
end

5) Pressed super+j

In ~/.codeintel/codeintel.log I see

Code: Select all
Updating indexes for 'Ruby'... The first time this can take a while.
Doing CodeIntel for 'Ruby' (hold on)...
eval 'Test' at test.rb#6  <Trigger 'ruby-defn-defn' at 37 (explicit)>
Unexpected error with evaluator: 'Test' at test.rb#6
Traceback (most recent call last):
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/tree.py", line 328, in eval
    defns = self.eval_defns()
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/tree_ruby.py", line 293, in eval_defns
    self._base_scoperefs = self._calc_base_scoperefs(start_scoperef)
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/tree_ruby.py", line 305, in _calc_base_scoperefs
    scoperefs = [curr_scoperef, (self.built_in_blob, [])]
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/tree_ruby.py", line 965, in built_in_blob
    if isinstance(self.libs[-1], StdLib):
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/tree_ruby.py", line 155, in libs
    self._libs = self.langintel.libs_from_buf(self.buf)
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/lang_ruby.py", line 323, in libs_from_buf
    libs = self._buf_indep_libs_from_env(env)[:]
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/lang_ruby.py", line 444, in _buf_indep_libs_from_env
    = self._ruby_info_from_ruby(ruby, env)
  File "/Users/andrew/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/lang_ruby.py", line 355, in _ruby_info_from_ruby
    p = process.ProcessOpen(argv, env=env.get_all_envvars(), stdin=None)
AttributeError: 'module' object has no attribute 'ProcessOpen'
done eval: eval error


I've tried other languages (e. g. Python) but I got similar errors.
andrew
 
Posts: 1
Joined: Mon Jun 11, 2012 9:19 am

Re: CodeIntel ported from Open Komodo Editor

Postby Kronuz on Thu Jun 28, 2012 5:00 pm

We are working on v2.0 of SubimeCodeIntel, available at https://github.com/Kronuz/SublimeCodeIn ... evelopment (development branch). This should fix many of the bugs that were there (making it slow and making CPU usage go crazy for too long)... please if anyone's willing, I'd appreciate any feedback.

We need suggestions for proper and working key and mouse bindings for "jump to definition" (currently alt+click) and the autocomplete popup manual trigger. Any thought would be welcome.
Kronuz
 
Posts: 98
Joined: Mon Feb 14, 2011 3:14 pm

Re: CodeIntel ported from Open Komodo Editor

Postby Fed03 on Thu Jun 28, 2012 10:04 pm

Kronuz wrote:We are working on v2.0 of SubimeCodeIntel, available at https://github.com/Kronuz/SublimeCodeIn ... evelopment (development branch). This should fix many of the bugs that were there (making it slow and making CPU usage go crazy for too long)... please if anyone's willing, I'd appreciate any feedback.

We need suggestions for proper and working key and mouse bindings for "jump to definition" (currently alt+click) and the autocomplete popup manual trigger. Any thought would be welcome.


that's a REAL good news!!!!
Fed03
 
Posts: 79
Joined: Sun Oct 16, 2011 6:38 pm

Re: CodeIntel ported from Open Komodo Editor

Postby senzo on Fri Jun 29, 2012 8:08 am

Fed03 wrote:that's a REAL good news!!!!


Indeed!!
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: CodeIntel ported from Open Komodo Editor

Postby n00ge on Fri Jun 29, 2012 2:18 pm

Awesome! Looking forward to it. Thanks!
http://twitter.com/n00ge
Sublime Text 3 dev builds | OS X 10.8.2 & Ubuntu 13.04
n00ge
 
Posts: 140
Joined: Mon Oct 05, 2009 1:23 am

Re: CodeIntel ported from Open Komodo Editor

Postby xavi on Wed Jul 11, 2012 7:09 am

The development version does not work on my computer (Ubuntu Linux 12.04 kernel 3.2.0-26-generic x86_64).

I've done this:
- Download development version from GitHub (https://github.com/Kronuz/SublimeCodeIn ... evelopment)
- Unzip the zip
- Move extracted folder to ~/.config/sublime-text-2/Packages /
- Remove directory ~/.codeintel

When I try to go to the definition of an element with CTRL+SUPER+ALT+UP nothing happens. Neither pressing SHIFT+CTRL+SPACE to autocomplete.

I tried recompiling libraries at ~/.config/sublime-text-2/Packages/SublimeCodeIntel/src/ but nothing new happens.

The file ~/.codeintel/codeintel.log:

Code: Select all
Starting logging SublimeCodeIntel rev GIT-unknown (1341919357) on Wed Jul 11 09:06:22 2012
==========================================================================================
+ Info: Invalid language: Plain text. Available: JavaScript, Mason, XBL, XUL, RHTML, SCSS, Python, HTML, Ruby, Python3, XML, XSLT, Django, HTML5, Perl, CSS, PHP, Less, Smarty, Node.js, Tcl, TemplateToolkit, Twig
+ Info: processing `PHP': please wait...
Updating indexes for 'PHP'... The first time this can take a while.
+ Info: processing `PHP': please wait...
Doing CodeIntel for 'PHP' (hold on)...
unknown UDL-based XML completion: <built-in function id>
done eval: error
Done 'PHP' CodeIntel! Full CodeIntel took 24ms
Updating indexes for 'PHP'... The first time this can take a while.
Doing CodeIntel for 'PHP' (hold on)...
unknown UDL-based XML completion: <built-in function id>
done eval: error
Done 'PHP' CodeIntel! Full CodeIntel took 32ms
xavi
 
Posts: 24
Joined: Sat Jul 30, 2011 12:00 am

Re: CodeIntel ported from Open Komodo Editor

Postby chmac on Tue Jul 17, 2012 3:13 pm

I'm in the same situation as xavi above. I installed via git, but the result is the same.
chmac
 
Posts: 4
Joined: Mon Jul 16, 2012 5:31 pm

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 13 guests