It's nice that the previous post on Django on Pydev made so many people happy :)
There were many comments and I decided for writing a separate post to answer those and explain a bit better what should be the final state of the integration.
1. Django templates
There will be a special editor for that, but this will not be in the next release. This editor will be based upon the new Aptana Studio 3 (if you don't know about it, there's a preview explaining it at http://vimeo.com/channels/radrails#9895797). Initially it may be simpler (at least syntax highlighting and outline) and it should shape to have code-completion and other features in the future.
2. Custom Django actions
A new nightly has just been pushed with support for any custom action to manage.py. There's still room for improvement, like automatically going through the manage.py help and executing a command or asking help on that, but this won't be available for the upcoming release.
3. Code Analysis of Django
Most things should work as it is now, but I'm waiting for bug-reports saying what exactly Pydev fails to acknowledge on Django.
And that's it for the current plans... if there are more suggestions, they're very welcome!
Thanks for the updates. Having support for Django templates would be great. I created my first project (Food Prints) with PyDev and Web Tools Platform (WTP) for HTML, CSS and JS editing. I'm now using Django docs to find usage examples and quick help. If this can be integrated with PyDev, it will be very helpful. Thanks!
ReplyDeleteSome people (including me) use symlinks to link 3rd party django applications to the main project.
ReplyDeletecurrently, Pydev doesn't find errors & changes in files under symlinked project folders.
Also I don't know if it was a bug or not, that Pydev didn't open files in symlinked folders properly.
And i don't know if this is Eclipse or Pydev problem, that it doesn't detect symlinked folders when you make a project or import an existing project (linux & mac os x).
Also, how are you going to detect which settings files to use in django project?
Is there such line in project settings?
For me (and a few others who have posted) the nightly builds page is not accessible - it gives an HTTP 403 error. Can you check it out?
ReplyDeletethanks!
Same here, could you please check this? I would like to test the new features!
ReplyDeleteFor those having errors in the nightly, please add http://pydev.org/nightly/site.xml
ReplyDeleteIt seems there's a problem in the build generation with the latest eclipse (3.6m6), which is the reason that the update site is not correct... I'll see how to fix that, but in the meanwhile http://pydev.org/nightly/site.xml should work.
Having Django support in PyDev is super exciting. One of the biggest super simple features to add would be a keyboard command to restart a running launch. Because we're usually running runserver with --noreload, we have to restart the server if we make code changes. The task of finding the console tab, clicking the stop button and then clicking on the run arrow is a really big annoyance that could easily be simplified. If it was a simple keystroke the process for seeing your changes live becomes super simple.
ReplyDeleteI can not install 1.5.6!
ReplyDeleteNightly build site contains only :
PyDev for Eclipse 1.5.5.2010030420 org.python.pydev.feature.feature.group
without Django support!
The update site should be already ok (there was a problem, but this has been fixed already).
ReplyDeleteI'm using Eclipse for month and i'm actually learning Django. It's a very good news for me !
ReplyDeleteThanks for helping us all with this excellent tools !
Hi, I just discovered the new pydev 1.5.6 with Django integration, that's great news!
ReplyDeleteThere's one thing that concerns me though... you mentioned that the template code completition & highlighting stuff will be based on Aptana Studio 3... what does that mean for us folks using Pydev on non-Aptana Eclipse?
Thanks for the hard work!
@Federico Cáceres, that would mean PyDev would simply have Aptana Studio as a dependency and it would be installed together with PyDev as any other Eclipse plugin.
ReplyDeleteHi
ReplyDeleteI have written a Django editor plugin for Eclipse: http://eclipse.kacprzak.org/
How to proceed to put it (or parts - whatever is required) into PyDev?
Regards,
Zbigniew
See comments on
ReplyDeletehttps://sourceforge.net/projects/pydev/forums/forum/293649/topic/3757281/index/page/1