Home Download Buy Blog Forum Support

CodeIntel ported from Open Komodo Editor

Re: CodeIntel ported from Open Komodo Editor

Postby PressedCory on Wed Jul 18, 2012 6:12 pm

CodeIntel just doesn't work on Win7. Not sure what the deal is... :(
PressedCory
 
Posts: 1
Joined: Wed Jul 18, 2012 6:11 pm

Re: CodeIntel ported from Open Komodo Editor

Postby rhexter on Thu Aug 02, 2012 5:05 am

Yeah I've burnt alot of time with this one over the last weekend.

Its patchy inconsistent and since I'm on the win7x64 side of things I'm finding most input is "huh works for me you must be dumb or something.." not so helpful. and many answers on here are from other platforms so sifting this info to determine whats useful is quite hard work.

I have found that with in config files the newer:
Code: Select all
{
   "Python":
   {
      "python": '%ProgramFiles(x86)%/Autodesk/Maya2012/bin/mayapy.exe',
       "env":
       {
           "PYTHONPATH":'%ProgramFiles(x86)%/Autodesk/Maya2012/bin/python26.zip:$PYTHONPATH',
      
        }
   }
}

On winx64 just does not work.
Does not work with explicit paths, does not work with native envVars, although I don't know if it should?
It also does not work with python packaged in .zip, should it? who knows.. be nice if it did mind.
Nor does it work with an extracted typical installation of python i.e. c:/Python26/
at least in my experience

However the older:
Code: Select all
{
    "Python":
    {
        "python": "C:/Python26",
       
        "pythonExtraPaths":
        [
            "C:/Data/PythonProjects/homeProjects"
        ]
       
        // "env":
        // {
        //     "PATH":"C:/Python26:C:/Data/PythonProjects/homeProjects",
        //     "PYTHONPATH":"C:/Python26: C:/Data/PythonProjects/homeProjects"
        // }
       
    }
}

seemed to work more reliably, however more reliable in the sense that some .py files in the same project work and complete quite nicely and gave me quite a chill a thing of beauty and so much promise, yet another file in the same project in the same directory would not complete anything at all, most frustrating! yes I have been blowing away the db files and rebuilding between each alteration test cycle to see what changes.

I am unsure if comments in code blocks above cause failure?
I am unsure if the "env" settings can even be put in the config files? I did try.. no gravy..

the:
"python": "C:/Python26"
forces it to use the specified python version which is nice otherwise it seems to find python in system paths somewhere, not sure where it gets them from the registry as that was the only place I found an entry for my local x64Python version at one point, I don't have PYTHONPATH and PATH pointing to installations on my machine. Any more checking is probably going to be a debugging and dissection session.

I have found I only get db files in the:
C:/Users/user/.codeintel/db
and not in the:
C:/Data/PythonProjects/myProjects/.codeintel/db
even though I have configs there I don't know if I should..

I would like to see :
PYTHONPATH : ["path..", "path.."]
rather than :
PYTHONPATH : "C:/Python26: C:/Data/PythonProjects/homeProjects:$PYTHONPATH"
as its far easier to deal with.

and that $PYTHONPATH is it accessing the current system PYTHONPATH, is that consistent for all platforms, what is it doing?

All the apparently stupid questions I'm asking really need documentation to assist this tool(me and CodeIntel), sometimes you have to over communicate stuff that may seem really obvious, when to some its really not.
If I could get some sort of consistency I'd be quite happy to use it, its got so much potential and is really nice.. when it works!

But really as a result of the experience I've gone back to WINGIDE as it just works.. and the auto-complete and the debuggers are really something I need for speed whilst working in a development environment.
But I am using Sublime more and more for general stuff replacing a stack of other editors that all have bits of things that are really useful that sublime has or as I figure it out I can probably add.
rhexter
 
Posts: 3
Joined: Thu Aug 02, 2012 4:05 am

Re: CodeIntel ported from Open Komodo Editor

Postby duydangle on Sun Aug 12, 2012 4:41 pm

I am having problems with CodeIntel. First I install the version on Package Control but due to the poor performance with automatic popup, I removed and update to the development version. Now I cannot get it to work, just
Code: Select all
+ 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 15ms
+ Info: processing `PHP': please wait...
Doing CodeIntel for 'PHP' (hold on)...
done eval: success

Don't know how to get to work.
duydangle
 
Posts: 7
Joined: Sun Jul 29, 2012 3:30 pm

Re: CodeIntel ported from Open Komodo Editor

Postby Carpette on Tue Sep 04, 2012 12:10 pm

I've just installed SublimeText 2, and the codeIntel package, in a Php environment, and, it's building indexes for about 2h30.
Hope it's not a bug, but it's damn long.

I'm trying to get rid of eclipse (way too heavy for me)
Carpette
 
Posts: 2
Joined: Tue Sep 04, 2012 12:08 pm

Re: CodeIntel ported from Open Komodo Editor

Postby formware on Sun Nov 18, 2012 11:44 am

hi, could you help me to correctly configure plugin for the development in php?
is installed on a osx
Thks
formware
 
Posts: 1
Joined: Sun Nov 18, 2012 10:19 am

Re: CodeIntel ported from Open Komodo Editor

Postby amphetamine on Thu Dec 27, 2012 4:12 am

CodeIntel's one of those plugins you just have to learn to appreciate when it actually works and ignore when it doesn't. If having it working consistently is a dealbreaker for you, you might be better off looking at other editors/IDEs. Don't get me wrong though, I understand why you'd be annoyed: ST evangelists have a habit of boasting about its code completion capabilities, often entirely neglecting to mention that it's dependent on a plugin which is currently mediocre on a good day.

I'm not saying CodeIntel's badly done - it's the best there is at what it does - but it just has a long way to go.

I don't personally rely on it because I can't get it setup stably on Ubuntu 11.04 x86 or Windows 7 x64. The languages I use most are either not supported or have much more reliable alternatives. C++, Java and C# all have their own pretty dependable plugins and completions for web languages like JS and PHP can be achieved well enough with packages like AndyJS and AndyPHP. Python - if you're into that kind of thing - has SublimeRope and PyTags. Really it's only a handful of languages that have absolutely no alternatives.
amphetamine
 
Posts: 23
Joined: Fri Dec 14, 2012 8:59 pm

Re: CodeIntel ported from Open Komodo Editor

Postby dgalliford on Thu Mar 28, 2013 3:35 am

In order to view code hints/lists, make sure that you are setting the file's syntax. To do this, just go to command palette and type Set and you should get a slew of scripting languages.
dgalliford
 
Posts: 1
Joined: Thu Mar 28, 2013 3:34 am

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 15 guests