] > [Python-projects] Re: [ANN] Pydev Extended: Pydev Extensions 1.0 release (Logilab.org)

Email [Python-projects] Re: [ANN] Pydev Extended: Pydev Extensions 1.0 release

from
subject
[Python-projects] Re: [ANN] Pydev Extended: Pydev Extensions 1.0 release
date
2006/02/07 09:13
Nicolas Chauvat wrote:

>Hello,
>
>  
>
>>Pydev Extensions 1.0 has been released
>>
>>Check the homepage (http://www.fabioz.com/pydev/) for more details.
>>
>>Pydev Extensions is a commercial product, and works with Eclipse and the 
>>Pydev "Open Source" version, and has features such as:
>>
>>    * Code completion with auto-import
>>    * Code analysis (PyLint replacement, but much faster)
>>    * Quick-Fix for problems found in code analysis
>>    * Go to definition (Bycicle Repair Man replacement, but much more 
>>reliable)
>>    * Debug server (allows debugging scripts not lauched from within 
>>Eclipse)
>>    * Keywords presented as auto-completions as you type
>>    * Quick-outline
>>    
>>
>
>May I ask what the exact problem was with pylint, what test cases you
>could provide for which pylint was too slow and what tool you replaced
>it with ? Looking at the pydev-extensions release it looks like you
>rewrote a tool in java, am I right ?
>
>  
>

Hi Nicolas,

The problems I had were:

1. PyLint does not work in jython
2. PyLint needs the files in the filesystem in order to make the 
analysis... in Pydev Extensions I use the editor that the user has open 
in order to do the analysis (so that I can do the analysis while the 
user is typing).
3. PyLint needs a different structure... In Pydev I already have to keep 
a 'database' abstraction with the symbols available for code-completion, 
and every time PyLint is run it would need to recreate it once again... 
maybe this one could be tackled by creating a 'server' for the analysis 
and keeping it up-to-date with file-changes (that's what I do in Pydev).

Well, I guess that those were the actual problems I had... It is not the 
actual speed of a single run... It's because it does not work in Eclipse 
structure that really does the difference (because it needs to gather 
the symbols every time over and over again).

In a 'real-world' example: I have a project with about 700 modules, and 
it would take PyLint about 50 minutes to analyze all files (with the 
current structure), and within Pydev Extensions it takes about 3-4 
minutes...

So, I guess those were the actual problems I had... (and yes, it is in 
java with some parts in python to gather the builtins).

Anyway, I still think PyLint is a pretty nice tool, and I'll keep 
supporting the integration for all the 'improvements' you do (the last 
release has a number of things done to improve that integration, such as 
giving the output in the console, making the hover work with it and 
testing it with the latest PyLint release).

Another thing is that I could not work with was the PyLint license (GPL) 
-- I can do it calling it as an executable (as it is now), but I could 
not try to really integrate it in Pydev and try to make it work with the 
structure I have... I have plans to put code from the commercial to the 
open source version from time to time, but I will not open it all at once...

Best Regards,

Fabio

-- 
Fabio Zadrozny
------------------------------------------------------
Software Developer

ESSS - Engineering Simulation and Scientific Software
www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

PyDev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects