Thursday, March 31, 2005

Wednesday, March 23, 2005

ReleaseForge...

Today I got a tool named ReleaseForge... I hope it helps me to do releases in sourceforge.

My time is really short lately... There is a release ready but I simply don't have time to do it... actually, most of the time I spend in a release is updating the homepage, maybe I should put less things in it, and just say the highlights, not sure yet... anyway, letting things get outdated doesn't seem a good choice...

Now, where were I... oh...I hope this tool helps me in the releases... ;-)

Friday, March 18, 2005

Content assistants

Wow... lot's of things happening in the plugin.

- I've upgraded my local Python to 2.4 and therefore it's support should be better now;

- Addressed some bugs on code completion;

- Decided to allow the user to change colors for decorators -- otherwise, they just don't seem right to me in the screen;

- Added brackets matching, so that they will highlight its pair;

- Added 2 new content assistants that can use the code completion things:

One happens on lines that have the keyword 'class' and that override some other class.

E.g. class Foo(Bar): | Ctrl+1 - gives you option to override all the public interface of Bar. By that, I mean all methods that don't have '_' in the beggining.

Maybe with this one, I'll start to use some Python interface system. I gave a small look at PyProtocols, but still am not sure about it... All I know is that I really miss some of the static checking from Java as the project I'm working on is growing... Not really because of the language, but because of the tools, more specifically, refactoring... Bycicle Repair Man is dead right now, and I don't see any other project doing it for Python... I'm thinking I should roll my own on that, but I want to put PyDev in a state where that's the only thing missing (for me) before doing it...

The other one is in lines with 'def', to override a specific method of a superclass.

E.g.
class Foo(Bar):
def m| Ctrl+1 - brings all methods from Bar that start with m and provides the completion and a little stub with its arguments and a docstring.

So, keep 'tuned', I think a release should be coming shortly...

Fabio



Tuesday, March 08, 2005

Step-by-step

Today I spent a little time at the code, most specifically code completion...

Well, basically, after staring at it for a while, I decided to refactor it a bit... Thing is, no unit-tests... Damn, yeah, yeah, I know what you're thinking, how does someone write without them? Fool!

Well, what can I say, I use unit-tests all the time, and discovered that they're really useful. -- TDD is a wonderful way of doing things --, that is, if the system is going to grow and you're going to mess a lot with it, as for PyDev, really, it started only as a hobby! Sometimes I messed a little with it, Aleks had done most of the work at that time, and didn't care much about unit-testing for PyDev too... just a for fun project anyway right?!?

Thing is, it is growing... and I'm starting to be concerned in messing with some code areas, as I know that lot's of people are already using it... So, I decided to add some unit-testing to it... Weird how things seem to evolve much better like that hum?!?

Anyway, that got me thinking, is PyDev still only a hobby for me? Do hobbies really require all that much effort? Right now, I cannot see a long distance between it and my job (only that my job pays a lot better)... got me thinking you know...

I guess I really like coding, and getting new stuff to work, hell, what I like most is seeing a project grow, especially in a sustainable way, as I think PyDev is growing until now...

Is there a point in this? Maybe, maybe not, I'm not sure... I guess I just wanted to ramble a little...

Wednesday, March 02, 2005

Release 0.9.1 is out

Just released the new PyDev... This one had many improvements, as I commented before, even thought my time to mess around PyDev is getting shorter...

Anyway, version 1.0 seems always closer... I think there are still some annoying things in it. Namely:

- PYTHONPATH: I'm not happy with how this is managed... And that's the major source of support requests and errors because of user misconfiguration... I added a huge FAQ explaining it, because it is really non-intuitive right now.

- Code completion: This is really good for me right now, but it seems the more I do, the more I think it should have ;-)


I also saw a nice proverb today...
"People always make time to do the things they really want to do."

I guess that's why I keep developing PyDev...
Note that I'm also trying to gather some funding, so, I could do more of what I like ;-)

-- Anyone, any suggestions on how doing it with? --