Friday, December 10, 2004

New Homepage!

Well, I got kind of bored and decided to do a new homepage for pydev. I think it is better than the last one (I'm not really good at doing homepages, so, if anyone has any suggestions, feel free to do so).

About the code completion stuff, it is still not working, I think it would take me about a whole week to get it right. The difficult thing is having a week to do it...

p.s. I'm hoping on some homepage comments!!

Wednesday, November 17, 2004

Target for 1.0

Well, I just decided that the code completion provided for now is not good enough for a 1.0 version.

That means that for the 1.0 version to be released, not only should it be stable, but code completion should not be based on a python shell (even though it would need to get some info from the shell, as getting completions from a dll or other modules existant only in the c level would be needed).

So, the only way is to use a mixed approach... analyzing source files and compiled modules...

Target is:
- 0.8.1: completion for imports without shell (definition of pythonpath on project properties) - I might take out pylint, as it is still not stable... that's not because of support, because Sylvain Thénault from logilab has been very helpful on its problems, it is just that I can't find time to do it, and a really good code completion is my highest priority right now...
- 0.8.2: full code completion for source files
- 0.9.0: mixed code completion using source and compiled extensions

1.0 will be the "stable version" with the above features
this probably will give enough time for Grig to do the pyunit integration too...

Friday, November 12, 2004

PyUnit integration

PyUnit is in the process of integration in pydev... Grig Gheorghiu is working on this and it is almost usable, anyway, it is already integrated in cvs, and I intend to do another build as soon as it is really usable...

Thursday, November 04, 2004

Release 0.8.0

And yes... it's out!!

I'm waiting for bug notes for this one... (next version should be 1.0)

And I'm also looking forward to know where (and how) is pydev being used... (you could post it here if you want to)...

You know... if it is not being used, why should it be continued?!?

Friday, October 29, 2004

New Release

New release is on the way...

I'm not sure if I'm going to be able to do it this fryday, anyway, if I don't, in the beggining of the next week it should be out... Most bugs corrected... I think (and added builders to it, so, now we can have pylint and get the todo tasks from python files!!)

Thursday, October 21, 2004

Release 0.7.1

Wow, that's the first release I did... It really takes a lot of time...
But I think it was worth it...
A whole new feature was introduced (code coverage) and the ability to run all below a module is really a helper for me...

Other sweet things like the content assist (Ctrl+F1)... I'm not really sure that's it's name... but, well, that's something I use A LOT (in Java I think it's one of the best features - competing with refactoring and code completion).

Well, release acomplished. Next thing I will probablly do is integration with pychecker as I think it could really be helpful (still not sure on the best way to present it to the user - so, if you have any suggestions, please contribute them...)

Wednesday, October 13, 2004

Code Completion

Well, code completion is something I'm really not happy with... it should be more responsive and not depend on a shell all the time... (it could depend on a shell to get some info, but that's

Links to help me on doing it better...

dependency graph analysis in python

Friday, October 08, 2004

Code Coverage

Right now, I'm playing with code coverage on pydev...

It should work in the following way: user runs something saying that he wants to make code coverage.

Many runs can be done. (Probably he would want to run all the files that match some criteria).

After, he goes to a new view and is able to get that information, seeing the data for all below a certain folder or for a selected file.

Useful links for eclipse development

General on eclipse

Using SWT tree (showing dir structure)

Friday, October 01, 2004

Content Assist on pydev

Hi... content assist is one of the things I use most when editing Java, and I really miss that when editing python, so, I started some days ago an implementation trying to do some stuff on this.

It is really far from complete... current status is:

When you Ctrl+1 on any line it tries to give some good hints on which code it can produce from the line:

Features available:
- Assign to new local variable (tries to guess some combination or just assigns 'result')
- Assign to new field (tries to guess some combination or just assigns 'result')
- Create new method (in class) - when you're in a class and write something like,a) - it creates method def foo(a,b):pass

- when we're not within a class, it should not offer the assign to new field suggestion
- Create class (if we had a new class wizard, it could use it and import it here)
- Create new method (in module)

well, list goes on... later I'll add more to it...

First Post

This is still only a first try to give some information on what I'm doing in the pydev plugin.

I will try to give some information on it and on the pitfalls I encouter in my way...