Thread overview
Descent
Aug 27, 2007
David B. Held
Aug 27, 2007
Robert Fraser
Aug 27, 2007
kris
Aug 27, 2007
Ary Manzana
Aug 28, 2007
David B. Held
August 27, 2007
Hey, Descent looks really awesome now!  I can tell you guys have been working hard on it because it's got a full formatter page and everything.  I can even make it use spaces instead of tabs...good work!  I also note that it does something really interesting with templates in the outline view, but I haven't played around with that much.  What I am wondering about are two things:

1) Build integration.  I notice a descent.launching package in the source which I assume is for dmd integration, and I notice that on a Java project, I can do Run As...D Application, but I can't do that on my D code!  Very weird!

2) DSSS integration.  I'm not sure this totally makes sense or not, but I'd like to hear some thoughts on it.  It would be cool to have something like Create Project from DSource... that would be like Create from SVN...

Anyway, it's good to see all this project on the plugin, and anyone else who hasn't tried Descent yet, you need to give it a good look now!

Dave
August 27, 2007
David B. Held Wrote:

> Hey, Descent looks really awesome now!  I can tell you guys have been
> working hard on it because it's got a full formatter page and
> everything.  I can even make it use spaces instead of tabs...good work!
>   I also note that it does something really interesting with templates
> in the outline view, but I haven't played around with that much.  What I
> am wondering about are two things:
> 
> 1) Build integration.  I notice a descent.launching package in the source which I assume is for dmd integration, and I notice that on a Java project, I can do Run As...D Application, but I can't do that on my D code!  Very weird!
> 
> 2) DSSS integration.  I'm not sure this totally makes sense or not, but I'd like to hear some thoughts on it.  It would be cool to have something like Create Project from DSource... that would be like Create from SVN...
> 
> Anyway, it's good to see all this project on the plugin, and anyone else who hasn't tried Descent yet, you need to give it a good look now!
> 
> Dave


Thanks!

1) are you in the D perspective? IMO, I think Eclipse should switch perspectives whenever you open a language-specific editor, but we lowly plugin devs can't do too much about it. Background compilation and compiler integration are being worked on now, so expect them in the semi-near future.

2) do a google search for "Subclipse", a SVN client that integrates with eclipse quite nicely. Full DSSS integration is a possibility, but we want to get other stuff like go-to-definition, autocomplete, and import management done first.

Glad you like the plugin!
August 27, 2007
Robert Fraser wrote:
> David B. Held Wrote:
[snip]
> 2) do a google search for "Subclipse", a SVN client that integrates with eclipse quite nicely. Full DSSS integration is a possibility, but we want to get other stuff like go-to-definition, autocomplete, and import management done first.

Subclipse works like a charm with Descent. One of the many reasons to give Descent a whirl :)
August 27, 2007
Thanks for the nice words. :)

As Robert said, we are now focusing on other stuff first. My idea is the following:

1. Finish porting the semantic code from DMD. In this point, you'll get error squiggles each time you stop typing for a while. I found having an immediate response of errors to be very useful, since you can instantly correct your code and have it always working.
2. Since some of the errors above may include things like "member not found" or "type not found", it's a step away from using that information for autocompletion, or for organizing imports.
3. Finally, we would be able to use the information above to smartly compile the files, i.e., compile only what is needed. The compilation and probably linkage will happen each time you save a file, as in JDT.

Note that you only need to compile and link your files when you want to test your project or deliver it. Usually you also compile to check if there are errors in what you wrote. Now imagine Descent never compiles the files for you, but always tells you the same errors as the compiler. Then you'll be a lot of time typing, correcting errors, making refactors... and at last, you'll open up a console, compile everything (which is just a dummy step to make your code actually executable... in an interpreted language this step doesn't exist) and run it. Of course, Descent will also compile the files for you, but it's the last step we'll make.

Does this makes sense?

Regards,
Ary

David B. Held wrote:
> Hey, Descent looks really awesome now!  I can tell you guys have been working hard on it because it's got a full formatter page and everything.  I can even make it use spaces instead of tabs...good work!  I also note that it does something really interesting with templates in the outline view, but I haven't played around with that much.  What I am wondering about are two things:
> 
> 1) Build integration.  I notice a descent.launching package in the source which I assume is for dmd integration, and I notice that on a Java project, I can do Run As...D Application, but I can't do that on my D code!  Very weird!
> 
> 2) DSSS integration.  I'm not sure this totally makes sense or not, but I'd like to hear some thoughts on it.  It would be cool to have something like Create Project from DSource... that would be like Create from SVN...
> 
> Anyway, it's good to see all this project on the plugin, and anyone else who hasn't tried Descent yet, you need to give it a good look now!
> 
> Dave
August 28, 2007
Ary Manzana wrote:
> [...]

Well, I was gonna help on the build step, but it sounds like you guys basically have a good groove going, so I think I'll just let you run with it and wait for the goodies when they come out of the oven.  Keep up the good work!

Dave