Thread overview
Descent 0.4.4 released
Nov 04, 2007
Ary Borenszweig
Nov 05, 2007
torhu
Nov 05, 2007
Robert Fraser
Nov 05, 2007
torhu
Nov 05, 2007
Robert Fraser
Nov 05, 2007
Hendrik Renken
November 04, 2007
The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.

Explanations on how to get it from within Eclipse are here:

http://www.dsource.org/projects/descent

The new features for this release are:
- completion for keywords, like public, import, module, abstract, __traits, etc.
- completion for imports *
- completion for special locations, like scope, extern, version and __traits
- completion for ddoc sections and macros
- completion for gotos, continues and breaks
- completion for type properties, like "int.sizeof"
- suggestions for function arguments names
- formatting of two-dimensional arrays is now nicer
- some bug fixes and improvements

This doesn't seem a lot, but we're mainly focusing on porting DMD's front end to Java. It's almost done, only about 160 tests from over 4000 fail. We still can't enable it for release, because the way it's done now is very poor in performance: imports are processed by reparsing the files. But we'll make this better, and then all the other goodies will make it into the project.

* Import completions are suggested for referenced projects and the standard library. You can configure the standard library in Windows -> Preferences -> D -> Installed Compilers. Click "Add", select a directory which contains "bin/dmd.exe" (for DMD) or "bin/gdc.exe" (for GDC) and then add other directories you wish to have in the import completions. In that way you can have suggestions for Tango, if you don't use Phobos, or any other library you usually use.
November 05, 2007
Cool!  Any chance of a zip download, for offline installation?
November 05, 2007
Ary Borenszweig Wrote:

> * Import completions are suggested for referenced projects and the standard library. You can configure the standard library in Windows -> Preferences -> D -> Installed Compilers. Click "Add", select a directory which contains "bin/dmd.exe" (for DMD) or "bin/gdc.exe" (for GDC) and then add other directories you wish to have in the import completions. In that way you can have suggestions for Tango, if you don't use Phobos, or any other library you usually use.

I'd just like to add here that you can add directories for any library. So you can get completion on any library used in your project, plus other modules _in_ the project and referenced projects.
November 05, 2007
torhu Wrote:

> Cool!  Any chance of a zip download, for offline installation?

The best way to do this is download the contents of trunk/descent.update-site and zip that up. Then in Eclipse under Help > Software Updates > Find and Install, select "Add new Local Update Site" (or something like that) and add the folder where you put the contents of the directory.

If you want a zip instead of having to muck about with SVN, I can put one up.
November 05, 2007
Robert Fraser wrote:
> torhu Wrote:
> 
>> Cool!  Any chance of a zip download, for offline installation?
> 
> The best way to do this is download the contents of trunk/descent.update-site and zip that up. Then in Eclipse under Help > Software Updates > Find and Install, select "Add new Local Update Site" (or something like that) and add the folder where you put the contents of the directory.
> 
> If you want a zip instead of having to muck about with SVN, I can put one up.

I use svn all the time, so it's not at big deal.  It was more of a general suggestion. :)
November 05, 2007
> This doesn't seem a lot, but we're mainly focusing on porting DMD's front end to Java. It's almost done, only about 160 tests from over 4000 fail. 

Thx! This is a really good news :) The import completion was the feature i missed most.