www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Descent 0.4.4 released

reply Ary Borenszweig <ary esperanto.org.ar> writes:
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.
Nov 04 2007
next sibling parent reply torhu <no spam.invalid> writes:
Cool!  Any chance of a zip download, for offline installation?
Nov 04 2007
parent reply Robert Fraser <fraserofthenight gmail.com> writes:
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.
Nov 04 2007
parent torhu <no spam.invalid> writes:
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. :)
Nov 05 2007
prev sibling next sibling parent Robert Fraser <fraserofthenight gmail.com> writes:
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.
Nov 04 2007
prev sibling parent Hendrik Renken <funsheep gmx.net> writes:
 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.
Nov 05 2007