February 04, 2008
one other thing: i am heavily using derelict so pretty much every function i use is a function pointer variable. is it possible to show a parameter list even for them ?

example:
typedef int function(int,int,double) pfBlaaaa;
pfBlaaaa* Blaa;
Blaa(...


Ary Borenszweig schrieb:
> D 2.x is supported, but the semantic analysis is for 1.x. In fact, I just tried it, and if you write "invariant(int) x;" you get a lot of syntax errors, so D 2.x is not supported (tiny bug, I've just fixed it :-()
>
> Extrawurst wrote:
>> looks like an awesome feature list! respect!
>> i have just one question, is the D2.x language supported aswell with all the nifty features?
February 04, 2008
Extrawurst wrote:
> 1) ok well for D2.x Descents new features are pretty useless. even a HelloWorld is too much cause phobos in D2.x is full of strings which Descent doesnt seem to understand.

The way Descent works is that it has a (fairly complete) port of the DMD front-end. Since the DMD front-end is fairly large already, maintaining two versions is a LOT of work. So 2.x support will be there, but we're focusing mostly on getting the framework for a lot of cool features, into which we can insert 2.x semantic analysis. In other words, it'll be there, but just not right away.

> 
> 2) is there any documentation of the features in Descent besides the feature list where one can eventually find a shortcut how to use it. cause features like the formatter are just usable for new users when they find the shortcut for it in the preferences-options menu
> 

I'm going to work on some docs soon, and AFAIK Ary is doing some videos. As usual with any project as ambitious as Descent, there's huge amounts of work to be done & with only two people it doesn't get done very fast.
February 04, 2008
Extrawurst wrote:
> one other thing: i am heavily using derelict so pretty much every function i use is a function pointer variable. is it possible to show a parameter list even for them ?

How do you mean? You should be able to see the type/parameter types by hovering over the variable name. I can check some of the other places where functions are used (autocomplete on call exp, etc.) to hopefully make function pointers and functions virtually interchangeable.
February 04, 2008
Extrawurst wrote:
> 1) ok well for D2.x Descents new features are pretty useless. even a HelloWorld is too much cause phobos in D2.x is full of strings which Descent doesnt seem to understand.

Probably because of the bug I mentioned. After I fix some reported bugs and receive improvements suggestions, I'll make another release. :-)

> 
> 2) is there any documentation of the features in Descent besides the feature list where one can eventually find a shortcut how to use it. cause features like the formatter are just usable for new users when they find the shortcut for it in the preferences-options menu

I've just added a list of useful shortcuts, hovers and autocompletion locations: http://www.dsource.org/projects/descent/wiki/Shortcuts

If anyone else knows other useful shortcuts, please tell me (or tell me how I can make that wiki page editable by anyone).
February 04, 2008
Sure! It never crossed my mind, but it's pretty easy to implement. Please fill an enhancement report: http://www.dsource.org/projects/descent/newticket :-)

Extrawurst wrote:
> one other thing: i am heavily using derelict so pretty much every function i use is a function pointer variable. is it possible to show a parameter list even for them ?
> 
> example:
> typedef int function(int,int,double) pfBlaaaa;
> pfBlaaaa* Blaa;
> Blaa(...
> 
> 
> Ary Borenszweig schrieb:
>> D 2.x is supported, but the semantic analysis is for 1.x. In fact, I just tried it, and if you write "invariant(int) x;" you get a lot of syntax errors, so D 2.x is not supported (tiny bug, I've just fixed it :-()
>>
>> Extrawurst wrote:
>>> looks like an awesome feature list! respect!
>>> i have just one question, is the D2.x language supported aswell with all the nifty features?
February 04, 2008
Ary Borenszweig wrote:
> Extrawurst wrote:
>> 1) ok well for D2.x Descents new features are pretty useless. even a HelloWorld is too much cause phobos in D2.x is full of strings which Descent doesnt seem to understand.
> 
> Probably because of the bug I mentioned. After I fix some reported bugs and receive improvements suggestions, I'll make another release. :-)

And also what Robert said it's true: even with the bug fixed, you won't see much difference, because we are mainly focusing on D1.x, which is stable.
February 04, 2008
"Ary Borenszweig" <ary@esperanto.org.ar> wrote in message news:<fo63qt$8a2$1@digitalmars.com>...
> For current users: after you update the plugin, go to Windows -> Preferences, D -> Compiler, and change any setting. It will ask you to rebuild everything. You'll need to do this since I've changed the format of the indexes for searching stuff. Otherwise you'll get errors, or some things won't work.

I've used Included: (All) for my projects, but when trying to compile I get a message that my source files is not included in the project when I try to rebuild. Is this some bug in Descent, or is this expected behaviour?


February 04, 2008
done{#36}. and another enhancement came to my mind which i filed a ticket for since no membe list of pointer to struct variables is shown{#37}.

Ary Borenszweig schrieb:
> Sure! It never crossed my mind, but it's pretty easy to implement. Please fill an enhancement report: http://www.dsource.org/projects/descent/newticket :-)
February 04, 2008
great i found out using some more features now!

a question: Is there a way to get a list of possible debug-versions or version-flags in general ? so i dont have to type a "version(" somewhere in the code to use the auto completion so it shows me the defined/available versions ?


Ary Borenszweig schrieb:
> I've just added a list of useful shortcuts, hovers and autocompletion locations: http://www.dsource.org/projects/descent/wiki/Shortcuts
February 04, 2008
Where do you want to use it?

If it's just seeing the available ones, they are in Windows -> Preferences, D -> Compiler. The suggestions come from there, and from the version/debug identifiers defined in the source file being edited.

Extrawurst wrote:
> great i found out using some more features now!
> 
> a question: Is there a way to get a list of possible debug-versions or version-flags in general ? so i dont have to type a "version(" somewhere in the code to use the auto completion so it shows me the defined/available versions ?
> 
> 
> Ary Borenszweig schrieb:
>> I've just added a list of useful shortcuts, hovers and autocompletion locations: http://www.dsource.org/projects/descent/wiki/Shortcuts