Thread overview | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
August 12, 2007 Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
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: - Awsome, flexible formatter, almost as good as the one in JDT. This was done by Robert Fraser, which spent lots of hours making the formatter as flexible as possible. The formatter also allows templates like for, foreach, if, etc., to be well formatted (in 0.3 they were not). - Spell checking, with two built-in dictionaries english dictionaries (US and UK). Enable from Windows -> Preferences -> General -> Editors -> Text Editors -> Spelling (select "D spelling engine" to configure). - Better support for ddbg and gdb. - Ddoc view. This is very helpful for ddoc writers to see how ddoc will look like as they type, without the need to compile the file and open a browser. Macros processing is fully supported, as well as sections and code sections (text between "---"). - Highlighting of all occurrences of the token under the cursor. This is less powerful than the one in JDT, but in a future it could be as powerful. Also, Ctrl+2 Ctrl+R allows to rename in-line all of these ocurrences. - Todo tasks: "// TODO something" makes "TODO something" appear in the task list. This is configurable exactly like in JDT. - trace.log viewer: where you can filter function names, sort according to different criterias, and show/hide fans-in and fans-out. You can recursively expand fans to see theyre associated function's fans. - Updated parser for DMD 1.020 and 2.003. You can now select the compiler version for each project. If you used Descent before, make sure to uninstall it first. Also delete the .project and .classpath files for the projects you had, otherwise you won't have todo tasks support. Also, don't forget to run eclipse with "-clean" so that the new version of the plugin appears in the update dialog. The plugin still doesn't integrate with a compiler. We are looking at the best way to seamlessly integrate it, so that compiling programs is as easy as it can be. 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 |
August 12, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Manzana | erm, .. wow. this is so cool. :) |
August 12, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Manzana | On Sun, 12 Aug 2007 20:30:55 +0300, Ary Manzana <ary@esperanto.org.ar> wrote: > - trac: http://www.dsource.org/projects/descent/report?action=new I noticed that visiting the above link gives me a "Forbidden" error: > REPORT_CREATE privileges are required to perform this operation So, I decided to give Descent a shot, and tried to import my current project (created a new project based on an existing source directory). However, after clicking "Finish", Eclipse seemed to freeze and started eating tons of resources. I almost gave up on it finishing, when it finally "unfroze". Given that I was running Eclipse in a Linux VM (although my host is a decent machine), and the project being fairly sizeable (over 8000 lines of code), the ~5 minute analysis time doesn't sound too unreasonable - however, is it possible to add some kind of visual feedback, or if not - detect that the processing may take a long time and display a warning or something? Anyway, this is really something - especially the code formatter :D As a minor feature request, I'd like to see an option to format classes like this: class Foo { int x; private: int y; public: int z; } This indentation style is used quite often in Phobos, and I use it as well. I guess it might require adding "negative" indentation for certain elements to the formatter engine... From what I understood, things like code completion, "Open Declaration" and stuff pertaining to Quick Assist isn't implemented yet, is it? If any of it is supposed to be working, it didn't work for me... -- Best regards, Vladimir mailto:thecybershadow@gmail.com |
August 12, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | Vladimir Panteleev escribio': > On Sun, 12 Aug 2007 20:30:55 +0300, Ary Manzana <ary@esperanto.org.ar> wrote: > >> - trac: http://www.dsource.org/projects/descent/report?action=new > > I noticed that visiting the above link gives me a "Forbidden" error: > >> REPORT_CREATE privileges are required to perform this operation Ok, now you should be able to do it. > > So, I decided to give Descent a shot, and tried to import my current project (created a new project based on an existing source directory). However, after clicking "Finish", Eclipse seemed to freeze and started eating tons of resources. I almost gave up on it finishing, when it finally "unfroze". Given that I was running Eclipse in a Linux VM (although my host is a decent machine), and the project being fairly sizeable (over 8000 lines of code), the ~5 minute analysis time doesn't sound too unreasonable - however, is it possible to add some kind of visual feedback, or if not - detect that the processing may take a long time and display a warning or something? I'll try to see why it takes so long. Even if it is a big project, it shouldn't take that long. > > Anyway, this is really something - especially the code formatter :D > As a minor feature request, I'd like to see an option to format classes like this: > > class Foo > { > int x; > > private: > int y; > > public: > int z; > } > > This indentation style is used quite often in Phobos, and I use it as well. > I guess it might require adding "negative" indentation for certain elements to the formatter engine... I think this is doable. I'll ask Robert. :-) > > From what I understood, things like code completion, "Open Declaration" and stuff pertaining to Quick Assist isn't implemented yet, is it? If any of it is supposed to be working, it didn't work for me... No, they don't work yet. Only the featues I mentioned are the new stuff. Regards, Ary |
August 13, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Manzana | Ary Manzana wrote: > Vladimir Panteleev escribio': >> On Sun, 12 Aug 2007 20:30:55 +0300, Ary Manzana <ary@esperanto.org.ar> wrote: >> >>> - trac: http://www.dsource.org/projects/descent/report?action=new >> >> I noticed that visiting the above link gives me a "Forbidden" error: >> >>> REPORT_CREATE privileges are required to perform this operation > > Ok, now you should be able to do it. Um, I think you want to create a new ticket, not a report. http://www.dsource.org/projects/descent/newticket BA |
August 13, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Manzana | Dnia Sun, 12 Aug 2007 15:30:55 -0200 Ary Manzana <ary@esperanto.org.ar> napisał/a: > The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. I just installed Descent 0.3 about 6 hour ago :) But easly upgraded to 0.4. Nice work. > The new features for this release are: > - Awsome, flexible formatter, almost as good as the one in JDT. This > was done by Robert Fraser, which spent lots of hours making the > formatter as flexible as possible. The formatter also allows > templates like for, foreach, if, etc., to be well formatted (in 0.3 > they were not). It is great. It's the BEST formatter i have ever seen. It is _first_ formater which is completly compatible with my coding style (JDT, CDT, gnu indent and many others always had some missing points). > - Better support for ddbg and gdb. More better. Now it is working for me (gdb with gdc). > - Ddoc view. This is very helpful for ddoc writers to see how ddoc will look like as they type, without the need to compile the file and open a browser. Macros processing is fully supported, as well as sections and code sections (text between "---"). Useful. How about supporting this: /// Simple class class B { int x; /// position int y; /// ditto } > - Highlighting of all occurrences of the token under the cursor. This is less powerful than the one in JDT, but in a future it could be as powerful. Also, Ctrl+2 Ctrl+R allows to rename in-line all of these ocurrences. Nice but: void a() { int a; } int a; a = 5; ^ - puting cursor here, will highlight all "a"s. These feature needs more semantic knowledge. It will also be usefull in refactoring module. > - trace.log viewer: where you can filter function names, sort according to different criterias, and show/hide fans-in and fans-out. You can recursively expand fans to see theyre associated function's fans. Very useful. > - Updated parser for DMD 1.020 and 2.003. You can now select the compiler version for each project. Great. I have some projects in DMD 2.x and some in DMD 1.x, this feature is really nice. I have problem with seting paths to compiler dmd and phobos. Binary is in /usr/bin/dmd and phobos headers/source in /usr/lib/dmd/src/phobos/{std, c,...}, and configuration dialog have problems with this. Thanks. And keep going. -- Witold Baryluk MAIL: baryluk@smp.if.uj.edu.pl, baryluk@mpi.int.pl JID: movax@jabber.autocom.pl |
August 13, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Witold Baryluk | Witold Baryluk escribió: > Dnia Sun, 12 Aug 2007 15:30:55 -0200 > Ary Manzana <ary@esperanto.org.ar> napisał/a: > >> The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D. > > > I just installed Descent 0.3 about 6 hour ago :) But easly upgraded > to 0.4. Nice work. > > >> The new features for this release are: >> - Awsome, flexible formatter, almost as good as the one in JDT. This >> was done by Robert Fraser, which spent lots of hours making the >> formatter as flexible as possible. The formatter also allows >> templates like for, foreach, if, etc., to be well formatted (in 0.3 >> they were not). > > It is great. It's the BEST formatter i have ever seen. It is _first_ > formater which is completly compatible with my coding style (JDT, > CDT, gnu indent and many others always had some missing points). Thank Robert. ;-) > >> - Better support for ddbg and gdb. > More better. Now it is working for me (gdb with gdc). Cool! Actually I've fixed it without knowing if it works or not (I have linux in a VM, but with Eclipse it dies)... So now I know it does work. > > >> - Ddoc view. This is very helpful for ddoc writers to see how ddoc >> will look like as they type, without the need to compile the file and >> open a browser. Macros processing is fully supported, as well as >> sections and code sections (text between "---"). > > Useful. How about supporting this: > > /// Simple class > class B { > int x; /// position > int y; /// ditto > } "ditto"s are also supported. If you position the cursor over y, in the ddoc view it shows "position". Is that it or something else I'm missing? > > > >> - Highlighting of all occurrences of the token under the cursor. This >> is less powerful than the one in JDT, but in a future it could be as powerful. Also, Ctrl+2 Ctrl+R allows to rename in-line all of these ocurrences. > > Nice but: > > void a() { > int a; > } > > int a; > a = 5; > ^ - puting cursor here, will highlight all "a"s. These feature > needs more semantic knowledge. It will also be usefull in refactoring > module. I know. As semantic analysis improves (actually, starts), this will become more powerful, as well as other things. But at least for long names it has a chance to work. > > >> - trace.log viewer: where you can filter function names, sort >> according to different criterias, and show/hide fans-in and fans-out. >> You can recursively expand fans to see theyre associated function's >> fans. > > Very useful. > >> - Updated parser for DMD 1.020 and 2.003. You can now select the compiler version for each project. > Great. I have some projects in DMD 2.x and some in DMD 1.x, this > feature is really nice. > > I have problem with seting paths to compiler dmd and phobos. > Binary is in /usr/bin/dmd and phobos headers/source > in /usr/lib/dmd/src/phobos/{std, c,...}, and configuration dialog have > problems with this. I didn't know that. So I'll make the standard library's source location configurable if a guess fails. But don't worry about this because this isn't used yet. We've just started to work on it... You'll have to compile using an external tool ( http://www.dsource.org/projects/descent/wiki/CompilingPrograms ) or use the command line. Thanks for the feedback! > > > Thanks. And keep going. > |
August 13, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Manzana | Ary Manzana wrote:
> The plugin still doesn't integrate with a compiler. We are looking at the best way to seamlessly integrate it, so that compiling programs is as easy as it can be.
[Warning!! Shameless plug levels at critical!]
May I suggest integrating with DSSS? This would make your job much easier, since you wouldn't have to worry about specific compiler quirks or differences in making libraries etc on different platforms.
- Gregor Richards
|
August 13, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson | On Mon, 13 Aug 2007 03:11:45 +0300, Brad Anderson <brad@dsource.org> wrote: > Um, I think you want to create a new ticket, not a report. > > http://www.dsource.org/projects/descent/newticket Oh, that's right. I just clicked the link in the OP :) -- Best regards, Vladimir mailto:thecybershadow@gmail.com |
August 13, 2007 Re: Descent 0.4 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Manzana | Wow, this is becoming very nice, my compliments. I agree with everbody that the formatter is just awesome, never seen something like this. DSSS integration would be a great feature (also for the net commands and doc building), I'd like to see that very much. |
Copyright © 1999-2021 by the D Language Foundation