www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Descent 0.5.1 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:
  - Autocompletion now works for pointer to structs.
  - Autocompletion now allows you to invoke function pointers and 
delegates. They get an "()" icon, as well as opCalls.
  - Autocompletion now shows aliased symbols. For example, if you have a 
class with a method "void foo(int x)", and an alias "alias foo bar", 
when completing that type members it will also suggest "void bar(int 
x)". This also works for aliases like "alias foo opCall".
  - Labels in outline view, project explorer and autocompletion 
proposals don't resolve aliases anymore. Before, if you had "alias int 
myInt; myInt foo" and "foo" was a proposal, you'd see it like "foo - 
int", now you'll see it as "foo - myInt" (for this, current users need 
to make a full rebuild by changing any D -> Compiler setting).
  - Inside a function, autocompletion now works even if you don't type 
anything: it will suggest anything that's in the current scope (and 
enclosing scopes), plus members of currently imported modules.
  - *Much* smarter autocompletion: now proposals are sorted according to 
their type and the expected type in the source file, according to 
context, so most of the time the first proposals will be those you are 
looking for.
  - Inside a "with(obj) { ... }", members of that object will appear 
first in autocompletion. Here you also can press ctrl+space without 
having typed anything.

Any suggestion, critic or bug report is welcome. You can use:
- the forums: http://www.dsource.org/forums/viewforum.php?f=107
- trac: http://www.dsource.org/projects/descent/report?action=new
- irc: at freenode, #d.descent
Feb 06 2008
parent reply Sergey Gromov <snake.scaly gmail.com> writes:
Ary Borenszweig <ary esperanto.org.ar> wrote:
 The Descent plugin for Eclipse provides an IDE for writing, launching 
 and debugging code in D.

You doesn't seem to mention anywhere that it's for D1. Or am I missing something ? -- SnakE
Feb 06 2008
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
D2 has some support. I've added a "Supported versions" sections in the 
front page: http://www.dsource.org/projects/descent

Thanks for the observation.

Sergey Gromov escribió:
 Ary Borenszweig <ary esperanto.org.ar> wrote:
 The Descent plugin for Eclipse provides an IDE for writing, launching 
 and debugging code in D.

You doesn't seem to mention anywhere that it's for D1. Or am I missing something ?

 Ary Borenszweig <ary esperanto.org.ar> wrote:
 The Descent plugin for Eclipse provides an IDE for writing, launching 
 and debugging code in D.

You doesn't seem to mention anywhere that it's for D1. Or am I missing something ?

Feb 07 2008
parent reply Sergey Gromov <snake.scaly gmail.com> writes:
Ary Borenszweig <ary esperanto.org.ar> wrote:
 D2 has some support. I've added a "Supported versions" sections in the 
 front page: http://www.dsource.org/projects/descent
 
 Thanks for the observation.

quote:
 D 2.x is supported, except you get syntax errors on delimited strings 
 and token strings, and errors regarding invariant/const are not 
 reported. Everything else (autocompletion, ddoc, etc.) should work.

enum manifest constants are not supported: enum string Name = "name"; invariant as an attribute is not supported: invariant int x = 3; gives: Invariants only are for struct/union/class definitions Statement expected to be {} string is an undefined identifier ? That's only what I see on my simple project of two files. -- SnakE
Feb 08 2008
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Sergey Gromov wrote:
 Ary Borenszweig <ary esperanto.org.ar> wrote:
 D2 has some support. I've added a "Supported versions" sections in the 
 front page: http://www.dsource.org/projects/descent

 Thanks for the observation.

quote:
 D 2.x is supported, except you get syntax errors on delimited strings 
 and token strings, and errors regarding invariant/const are not 
 reported. Everything else (autocompletion, ddoc, etc.) should work.

enum manifest constants are not supported: enum string Name = "name"; invariant as an attribute is not supported: invariant int x = 3; gives: Invariants only are for struct/union/class definitions Statement expected to be {} string is an undefined identifier ? That's only what I see on my simple project of two files.

Ok, so I decided to change the "Supported versions" paragraph to say D2.x is not supported, although you can open a file. Easier. :) (but maybe you didn't change the version to 2.x in D -> Compiler, or in the project settings?)
Feb 08 2008
parent reply Sergey Gromov <snake.scaly gmail.com> writes:
Ary Borenszweig <ary esperanto.org.ar> wrote:
 (but maybe you didn't change the version to 2.x in D -> Compiler, or in 
 the project settings?)

Oops ! My bad. Though it wasn't obvious. I thought that choosing a compiler in Installed Compilers should adjust for the version automatically. It still doesn't support enum constants. ;) -- SnakE
Feb 08 2008
parent Robert Fraser <fraserofthenight gmail.com> writes:
Sergey Gromov wrote:
 Ary Borenszweig <ary esperanto.org.ar> wrote:
 (but maybe you didn't change the version to 2.x in D -> Compiler, or in 
 the project settings?)

Oops ! My bad. Though it wasn't obvious. I thought that choosing a compiler in Installed Compilers should adjust for the version automatically. It still doesn't support enum constants. ;)

Yup, the D2 port is from 2.003 or something.
Feb 08 2008