digitalmars.D.announce - Descent 0.5.4 released
- Ary Borenszweig (38/38) Jan 27 2009 The Descent plugin for Eclipse provides an IDE for writing, launching
- Aarti_pl (7/15) Jan 27 2009 You are doing really great job with Descent.
- Ary Borenszweig (4/22) Jan 27 2009 Here's the video!
- BCS (4/22) Jan 27 2009 Oh Goody! Oh Goody! Oh Goody! Oh Goody!
- Daniel Keep (22/41) Jan 27 2009 I've found one limitation of this, and it's a really weird one. It
- Ary Borenszweig (7/62) Jan 27 2009 Wow! Thanks for the joyful answer, Daniel. :-)
- Daniel Keep (8/17) Jan 28 2009 Cool. Can I make one other inquiry? Is it possible to get the CT
- Ary Borenszweig (5/26) Jan 28 2009 Done!
- Daniel Keep (3/11) Jan 28 2009 Magically delicious updates while-you-sleep!
- Yigal Chripun (12/19) Jan 27 2009 who said you can't? here's how you can have both:
- Olli Aalto (6/15) Jan 28 2009 I code in java for a living, and wouldn't change eclipse as my editor
- Lutger (3/3) Jan 27 2009 How wonderful, thank you VERY much!
- Trass3r (7/7) Jan 27 2009 Getting the results of a mixin doesn't seem to work if a function is use...
- Ary Borenszweig (18/28) Jan 27 2009 I tried this:
- Trass3r (10/10) Jan 27 2009 The code is compatible to both. Currently trying with D1. The function
- Saaa (2/2) Jan 27 2009 Wow nice!
- Frits van Bommel (3/4) Jan 27 2009 Since Descent has a Java port of the DMD frontend inside, it probably
- Saaa (2/6) Jan 27 2009
- Ary Borenszweig (26/35) Jan 27 2009 Which ones are the -O ones? You can see which optimizations are applied
- Saaa (7/32) Jan 27 2009 Thanks!
- Robert Fraser (2/23) Jan 27 2009 Those should be shifts.
- Vladimir Panteleev (7/9) Jan 27 2009 Try the free version of IDA (Interactive DisAssembler) instead:
- Ary Borenszweig (8/30) Jan 28 2009 Just a small remark: the probability that these things stop working is
- Qian Xu (14/16) Jan 28 2009 This build is not compatible with Eclipse3.3 und SuseEnt10(SP2) as well.
- John Reimer (4/4) Jan 28 2009 Thanks for the updates and fixes, Ary.
- Jason House (9/11) Jan 28 2009 This is a great feature that I've been looking forward to.
- Extrawurst (13/58) Jan 29 2009 Since the version 0.5.4.20090129 is available through the update manager...
- Extrawurst (3/67) Jan 29 2009 i think the feature.xml inside the updated plugin package needs to be
- Don (3/16) Jan 29 2009 You've sold me. Finally, a reason to use an IDE!
- BCS (2/2) Jan 31 2009 For me an the other 0.25 shlups out there that are trying to run descent...
- Ary Borenszweig (3/9) Feb 09 2009 Hi,
- Trass3r (5/5) Mar 10 2009 The compile-time view doesn't seem to use UTF, does it?
- Saaa (9/9) Mar 21 2009 Started my descent quest..
- Ary Borenszweig (5/16) Mar 21 2009 What's a keyword group? You can change the colors, but you'd change all
- Saaa (5/16) Mar 21 2009 Poseidon has 7 (custom) groups of keywords which have different colours.
- Saaa (3/6) Mar 23 2009 Not possible...?
- Ary Borenszweig (5/13) Mar 23 2009 It's possible, yes. But I think the code will look like a mess. :-P
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 New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you do a foreach, when you invoke an "extension method", when you do operator overloading; know what type has an auto variable; how struct fields are accessed?; compiler optimizations. It also removes conditionals that evaluate to false, and shows the results of mixins in-place. As always, this is far from perfect and a lot of things can be improved. For the lazies, I'll later upload a video about this. :-) - Now hovering over a mixin (over the "mixin" keyword) shows it's result in a popup. - Now hovering over a function or template instance with ctrl+shift shows it's compile-time result (with shift only: it's source code). - Added code templates for operator overloading, so that you don't have to remember all those names. Try them by typing "op" and pressing ctrl+space. (when available) are shown for classes. "ptr" and "funcptr" are shown for delegates. Please note that most of these features are experimental. (the compile-time view is mostly useful to experiment with small cases to see what the compiler is doing, like for example if you write "auto x = [1, 2, 3];", to see what type the compiler gives to x) I also fixed the problem with the last version: I accidentally introduced a dependency with JDT and that was causing the problems most of you had, so in this version this dependency was removed and updating should work as usual. 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 Enjoy!
Jan 27 2009
Ary Borenszweig pisze: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(...)Enjoy!You are doing really great job with Descent. Thanks for your work! BR Marcin Kuszczak (aarti_pl)
Jan 27 2009
Ary Borenszweig wrote: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 New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you do a foreach, when you invoke an "extension method", when you do operator overloading; know what type has an auto variable; how struct fields are accessed?; compiler optimizations. It also removes conditionals that evaluate to false, and shows the results of mixins in-place. As always, this is far from perfect and a lot of things can be improved. For the lazies, I'll later upload a video about this. :-)Here's the video! http://www.youtube.com/watch?v=oAhrFQVnsrY :-)
Jan 27 2009
Reply to Ary,Ary Borenszweig wrote:Oh Goody! Oh Goody! Oh Goody! Oh Goody! I can't wait to try it with dparse: http://www.dsource.org/projects/scrapple/browser/trunk/dparser OTOH last I checked I couldn't even edit it without that kind of stuff.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 New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, whichHere's the video! http://www.youtube.com/watch?v=oAhrFQVnsrY
Jan 27 2009
Ary Borenszweig wrote:New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you do a foreach, when you invoke an "extension method", when you do operator overloading; know what type has an auto variable; how struct fields are accessed?; compiler optimizations. It also removes conditionals that evaluate to false, and shows the results of mixins in-place. As always, this is far from perfect and a lot of things can be improved. For the lazies, I'll later upload a video about this. :-)I've found one limitation of this, and it's a really weird one. It seems that some combination of a double-quoted string inside a backtick-quoted string in a statement under a static if causes this to fall over and break it's legs. The CT window just shows stuff like this:!descent.core.dom.CompilationUnit 17c858dI've attached the smallest test case I was able to make; hope it helps, because this is just about the BEST thing ever. As someone who makes heavy use of meta-programming, this is fantastic. Incidentally, the backtick-quoted string seems to make the editor VERY confused; try starting a `` literal, and pressing Enter inside. Now imagine trying to write a big code mixin like that...- Now hovering over a mixin (over the "mixin" keyword) shows it's result in a popup.*Glee*- Now hovering over a function or template instance with ctrl+shift shows it's compile-time result (with shift only: it's source code).Indeed, it does! This is SO awesome; now I don't have to muck about with pragma(msg,...) and compile-time formatting to check and make sure I'm not feeding the compiler garbage.[snip] Enjoy!I've never been big on IDEs; I never felt that they had enough advantages over a plain text editor to make up for the slowness and restrictions. But this is just so freaking awesome, I'm seriously considering moving over to Descent for my D development. It's just a pity I can't have my Vim editing commands, too :P -- Daniel
Jan 27 2009
Daniel Keep wrote:Ary Borenszweig wrote:Wow! Thanks for the joyful answer, Daniel. :-) The attachment you sent doesn't compile, it gives a syntax error in the mixed content for the IsExpression (only a type is allowed, not "this."). Anyway, I'll change the "!descent.core.dom.CompilationUnit 17c858d" message to something like "Module foo has syntax or semantic errors due to mixins".New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you do a foreach, when you invoke an "extension method", when you do operator overloading; know what type has an auto variable; how struct fields are accessed?; compiler optimizations. It also removes conditionals that evaluate to false, and shows the results of mixins in-place. As always, this is far from perfect and a lot of things can be improved. For the lazies, I'll later upload a video about this. :-)I've found one limitation of this, and it's a really weird one. It seems that some combination of a double-quoted string inside a backtick-quoted string in a statement under a static if causes this to fall over and break it's legs. The CT window just shows stuff like this:!descent.core.dom.CompilationUnit 17c858dI've attached the smallest test case I was able to make; hope it helps, because this is just about the BEST thing ever. As someone who makes heavy use of meta-programming, this is fantastic. Incidentally, the backtick-quoted string seems to make the editor VERY confused; try starting a `` literal, and pressing Enter inside. Now imagine trying to write a big code mixin like that...- Now hovering over a mixin (over the "mixin" keyword) shows it's result in a popup.*Glee*- Now hovering over a function or template instance with ctrl+shift shows it's compile-time result (with shift only: it's source code).Indeed, it does! This is SO awesome; now I don't have to muck about with pragma(msg,...) and compile-time formatting to check and make sure I'm not feeding the compiler garbage.[snip] Enjoy!I've never been big on IDEs; I never felt that they had enough advantages over a plain text editor to make up for the slowness and restrictions. But this is just so freaking awesome, I'm seriously considering moving over to Descent for my D development. It's just a pity I can't have my Vim editing commands, too :P -- Daniel
Jan 27 2009
Ary Borenszweig wrote:[snip] Wow! Thanks for the joyful answer, Daniel. :-) The attachment you sent doesn't compile, it gives a syntax error in the mixed content for the IsExpression (only a type is allowed, not "this."). Anyway, I'll change the "!descent.core.dom.CompilationUnit 17c858d" message to something like "Module foo has syntax or semantic errors due to mixins".Cool. Can I make one other inquiry? Is it possible to get the CT window to not scroll back to the top every time the source file changes? I've just been using it to debug a mixin (oh God I love this SO MUCH) and I had to keep scrolling down every time I changed something. Even if I had to manually pin the window, or specify which part of the code to view the CT for, it'd really improve the feature. -- Daniel
Jan 28 2009
Daniel Keep wrote:Ary Borenszweig wrote:Done! Just update to the newer version (0.5.4.20090128). (Yeah, it bothered me too. Now it always maintains the scroll, unless you switch to editing another module)[snip] Wow! Thanks for the joyful answer, Daniel. :-) The attachment you sent doesn't compile, it gives a syntax error in the mixed content for the IsExpression (only a type is allowed, not "this."). Anyway, I'll change the "!descent.core.dom.CompilationUnit 17c858d" message to something like "Module foo has syntax or semantic errors due to mixins".Cool. Can I make one other inquiry? Is it possible to get the CT window to not scroll back to the top every time the source file changes? I've just been using it to debug a mixin (oh God I love this SO MUCH) and I had to keep scrolling down every time I changed something. Even if I had to manually pin the window, or specify which part of the code to view the CT for, it'd really improve the feature.-- Daniel
Jan 28 2009
Ary Borenszweig wrote:[snip] Done! Just update to the newer version (0.5.4.20090128). (Yeah, it bothered me too. Now it always maintains the scroll, unless you switch to editing another module)Magically delicious updates while-you-sleep! -- Daniel
Jan 28 2009
Daniel Keep wrote: [snip]I've never been big on IDEs; I never felt that they had enough advantages over a plain text editor to make up for the slowness and restrictions. But this is just so freaking awesome, I'm seriously considering moving over to Descent for my D development. It's just a pity I can't have my Vim editing commands, too :P -- Danielwho said you can't? here's how you can have both: eclipse (descnet is a plugin of it) has three default key mappings that can be used: - the default eclipse key bindings - emacs key-bindings - vim key bindings besides that there's also a plugin that implements vim for eclipse, which I forgot it's name. you can google for it, I guess. the plugin integrates vim's text editing capabilities into an eclipse editor. I didn't try the plugin with D code, but for C/C++ it works great.
Jan 27 2009
Daniel Keep wrote:I've never been big on IDEs; I never felt that they had enough advantages over a plain text editor to make up for the slowness and restrictions.I code in java for a living, and wouldn't change eclipse as my editor for anything. But that's just me. :)But this is just so freaking awesome, I'm seriously considering moving over to Descent for my D development. It's just a pity I can't have my Vim editing commands, too :PI haven't used this, but it might be something you'd like. http://vimplugin.org/ O.
Jan 28 2009
How wonderful, thank you VERY much! OT: I've found eclipse 3.4.x under 64-bit linux less than stable with descent, but the 3.5 stream release works pretty good so far.
Jan 27 2009
Getting the results of a mixin doesn't seem to work if a function is used: mixin (mixinLuaRegisterFunction ("L", "simpleFunction", "mylib.func")); public static istring mixinLuaPushFunction (cstring lua_state, cstring name) { return cast(istring) (`mixin (mixinLuaPushFunctionAtLine ("` ~ lua_state ~ `", "` ~ name ~ `", __LINE__));`); }
Jan 27 2009
Trass3r wrote:Getting the results of a mixin doesn't seem to work if a function is used: mixin (mixinLuaRegisterFunction ("L", "simpleFunction", "mylib.func")); public static istring mixinLuaPushFunction (cstring lua_state, cstring name) { return cast(istring) (`mixin (mixinLuaPushFunctionAtLine ("` ~ lua_state ~ `", "` ~ name ~ `", __LINE__));`); }I tried this: --- mixin(defineInt("bar")); char[] defineInt(char[] name) { return "int " ~ name ~ ";"; } --- and it fails, but it also fails under DMD (1 and 2). If I change the order: --- char[] defineInt(char[] name) { return "int " ~ name ~ ";"; } mixin(defineInt("bar")); --- it works both in DMD and Descent. Also, I see some istring and cstring. If you are using D2 it is more likely that it won't work, because D2 is still not fully ported to Descent.
Jan 27 2009
The code is compatible to both. Currently trying with D1. The function becomes this: public static char[] mixinLuaRegisterFunction(char[] lua_state, char[] name, char[] lua_library_dot_name) { return ("mixin (mixinLuaRegisterFunctionAtLine (\"" ~ lua_state ~ "\", \"" ~ name ~ "\", \"" ~ lua_library_dot_name ~ "\", __LINE__));"); } Furthermore the function is defined in another module and imported. mixin is used in the main module.
Jan 27 2009
Wow nice! How do you generate the compile-time view?
Jan 27 2009
Saaa wrote:How do you generate the compile-time view?Since Descent has a Java port of the DMD frontend inside, it probably just runs the semantics passes on the AST and prints it back out...
Jan 27 2009
Which kind of optimizations are located in the front-end? Not the -O ones, right?Saaa wrote:How do you generate the compile-time view?Since Descent has a Java port of the DMD frontend inside, it probably just runs the semantics passes on the AST and prints it back out...
Jan 27 2009
Saaa wrote:Which kind of optimizations are located in the front-end? Not the -O ones, right?Which ones are the -O ones? You can see which optimizations are applied in the front end in optimize.c For example this: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 2 * 2 * x; } --- is transformed to this: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 4 * x; } --- So it seems the optimize.c code just optimizes left subexpressions. I wonder if -O does more that. Because if not, there's still a lof of room for optimization in the compiler. Where can I find a version of obj2asm for Windows to see what's going on in those cases?Saaa wrote:How do you generate the compile-time view?Since Descent has a Java port of the DMD frontend inside, it probably just runs the semantics passes on the AST and prints it back out...
Jan 27 2009
Which ones are the -O ones?Erm, the ones I invoke with -O :) I thought they were seperate from the semantic pass van Bommel mentionedYou can see which optimizations are applied in the front end in optimize.cThanks!For example this: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 2 * 2 * x; } --- is transformed to this: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 4 * x; } --- So it seems the optimize.c code just optimizes left subexpressions. I wonder if -O does more that. Because if not, there's still a lof of room for optimization in the compiler.wow...Where can I find a version of obj2asm for Windows to see what's going on in those cases?I think it is in here: http://www.digitalmars.com/eup.html When is your birthday? :D
Jan 27 2009
Ary Borenszweig wrote:--- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 2 * 2 * x; } --- is transformed to this: --- int foo(int x) { return x * 2 * 2; } int bar(int x) { return 4 * x; } ---Those should be shifts.
Jan 27 2009
On Tue, 27 Jan 2009 21:19:36 +0200, Ary Borenszweig <ary esperanto.org.ar> wrote:Where can I find a version of obj2asm for Windows to see what's going on in those cases?Try the free version of IDA (Interactive DisAssembler) instead: http://www.hex-rays.com/idapro/idadownfreeware.htm -- Best regards, Vladimir mailto:thecybershadow gmail.com
Jan 27 2009
Ary Borenszweig escribió: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 New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you do a foreach, when you invoke an "extension method", when you do operator overloading; know what type has an auto variable; how struct fields are accessed?; compiler optimizations. It also removes conditionals that evaluate to false, and shows the results of mixins in-place. As always, this is far from perfect and a lot of things can be improved. For the lazies, I'll later upload a video about this. :-) - Now hovering over a mixin (over the "mixin" keyword) shows it's result in a popup. - Now hovering over a function or template instance with ctrl+shift shows it's compile-time result (with shift only: it's source code).Just a small remark: the probability that these things stop working is bigger if the code is spread in many modules. That's because I did some optimizations and lazy loading of some symbols, and sometimes it doesn't work (I'll fix that, eveeeeeeentualy). So this should work better in a single module. That's why this should be a good aid for prototyping new functionality that heavily uses mixins, templates and compile-time evaluation. :-)
Jan 28 2009
Ary Borenszweig wrote:The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.This build is not compatible with Eclipse3.3 und SuseEnt10(SP2) as well. When I press CTRL+Space, I will see an error message: ---------------------------------------------------------------------------- The 'descent.ui.JavaNoTypeCompletionProposalComputer' proposal computer from the 'descent.ui' plug-in did not complete normally. The extension has thrown a runtime exception. To avoid this message, disable the 'descent.ui' plug-in or disable the 'Other D Proposals' category on the content assist preference page. ---------------------------------------------------------------------------- There is no problem with Windows, but with SuseEnt10. Is it possible to make it work again?? For more information, please another thread of mine in this group. --Qian
Jan 28 2009
Thanks for the updates and fixes, Ary. This is seriously good stuff! I'll use dwt source to stress-test it again. :) -JJR
Jan 28 2009
Ary Borenszweig wrote:New features: - Compile-time viewThis is a great feature that I've been looking forward to. When playing around with this, I noticed a few things that seemed odd to me. They may be normal/expected if I understood the better how the front end/descent works. 1. derr.writefln("foo") is translated as 1("foo") 2. Actual template instances are not shown. 3. I have a template (called factory) that takes a string argument. The compile time view translates alias factory!("libego") gameDef; into alias void gameDef;
Jan 28 2009
Ary Borenszweig wrote: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 New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you do a foreach, when you invoke an "extension method", when you do operator overloading; know what type has an auto variable; how struct fields are accessed?; compiler optimizations. It also removes conditionals that evaluate to false, and shows the results of mixins in-place. As always, this is far from perfect and a lot of things can be improved. For the lazies, I'll later upload a video about this. :-) - Now hovering over a mixin (over the "mixin" keyword) shows it's result in a popup. - Now hovering over a function or template instance with ctrl+shift shows it's compile-time result (with shift only: it's source code). - Added code templates for operator overloading, so that you don't have to remember all those names. Try them by typing "op" and pressing ctrl+space. (when available) are shown for classes. "ptr" and "funcptr" are shown for delegates. Please note that most of these features are experimental. (the compile-time view is mostly useful to experiment with small cases to see what the compiler is doing, like for example if you write "auto x = [1, 2, 3];", to see what type the compiler gives to x) I also fixed the problem with the last version: I accidentally introduced a dependency with JDT and that was causing the problems most of you had, so in this version this dependency was removed and updating should work as usual. 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 Enjoy!Since the version 0.5.4.20090129 is available through the update manager updating fails with: An error occurred while collecting items to be installed Problems downloading artifact: osgi.bundle,descent.ui,0.5.4.20090127. Exception connecting to http://downloads.dsource.org/projects/descent/update-site/plugins/descent.ui_0.5.4.20090127.jar. http://downloads.dsource.org/projects/descent/update-site/plugins/descent.ui_0.5.4.20090127.jar Exception connecting to http://downloads.dsource.org/projects/descent/update-site/plugins/descent.ui_0.5.4.20090127.jar. http://downloads.dsource.org/projects/descent/update-site/plugins/descent.ui_0.5.4.20090127.jar
Jan 29 2009
Extrawurst wrote:Ary Borenszweig wrote:i think the feature.xml inside the updated plugin package needs to be updated to the new jar files.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 New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code. For example you can see what happens when you do a foreach, when you invoke an "extension method", when you do operator overloading; know what type has an auto variable; how struct fields are accessed?; compiler optimizations. It also removes conditionals that evaluate to false, and shows the results of mixins in-place. As always, this is far from perfect and a lot of things can be improved. For the lazies, I'll later upload a video about this. :-) - Now hovering over a mixin (over the "mixin" keyword) shows it's result in a popup. - Now hovering over a function or template instance with ctrl+shift shows it's compile-time result (with shift only: it's source code). - Added code templates for operator overloading, so that you don't have to remember all those names. Try them by typing "op" and pressing ctrl+space. "outer" (when available) are shown for classes. "ptr" and "funcptr" are shown for delegates. Please note that most of these features are experimental. (the compile-time view is mostly useful to experiment with small cases to see what the compiler is doing, like for example if you write "auto x = [1, 2, 3];", to see what type the compiler gives to x) I also fixed the problem with the last version: I accidentally introduced a dependency with JDT and that was causing the problems most of you had, so in this version this dependency was removed and updating should work as usual. 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 Enjoy!Since the version 0.5.4.20090129 is available through the update manager updating fails with: An error occurred while collecting items to be installed Problems downloading artifact: osgi.bundle,descent.ui,0.5.4.20090127. Exception connecting to http://downloads.dsource.org/projects/descent/update-site/plugins/descent.ui 0.5.4.20090127.jar. http://downloads.dsource.org/projects/descent/update-site/plugins/descent.u _0.5.4.20090127.jar Exception connecting to http://downloads.dsource.org/projects/descent/update-site/plugins/descent.ui 0.5.4.20090127.jar. http://downloads.dsource.org/projects/descent/update-site/plugins/descent.u _0.5.4.20090127.jar
Jan 29 2009
Ary Borenszweig wrote: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 New features: - Compile-time view (Window -> Show View -> Other -> D -> Compile-time View): allows you to see things from the compiler point of view, which applies some transformations to the source code.It also removes conditionals that evaluate to false, and shows the results of mixins in-place.You've sold me. Finally, a reason to use an IDE! Totally awesome.
Jan 29 2009
For me an the other 0.25 shlups out there that are trying to run descent without an internet connection, is there a zipfile download for 0.5.4?
Jan 31 2009
Ary Borenszweig escribió: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/descentHi, I just uploaded a new version with some semantic fixes (0.5.4.20090209).
Feb 09 2009
The compile-time view doesn't seem to use UTF, does it? const LOC_MAIN_MENU_FILE_OPEN = "&Öffnen"; // (input file encoding is UTF-8) becomes const char[8] LOC_MAIN_MENU_FILE_OPEN = "&֖ffnen"; in the view.
Mar 10 2009
Started my descent quest.. Mostly because I wanted the : Highlighting of all occurrences of the current token under the cursor. Also just to look what else might be interesting. Had a few problems with descent and PATH. Maybe it was something else but could it maybe be that you need to logout for eclipse to see changes in the PATH? Well things seem to be working now but I miss poseidons syntax colourscheme. Is it possible to have different colours per keyword(group)?
Mar 21 2009
Saaa escribió:Started my descent quest.. Mostly because I wanted the : Highlighting of all occurrences of the current token under the cursor. Also just to look what else might be interesting. Had a few problems with descent and PATH. Maybe it was something else but could it maybe be that you need to logout for eclipse to see changes in the PATH?Yes, probably. I'm not sure.Well things seem to be working now but I miss poseidons syntax colourscheme. Is it possible to have different colours per keyword(group)?What's a keyword group? You can change the colors, but you'd change all of the keywords to another color (except "return": you can color returns with a different color, useful to see all exit paths of a function).
Mar 21 2009
I mean log out of XP. Because normally you only need to restart the program. A well, it works now. I'm happy again :DHad a few problems with descent and PATH. Maybe it was something else but could it maybe be that you need to logout for eclipse to see changes in the PATH?Yes, probably. I'm not sure.Poseidon has 7 (custom) groups of keywords which have different colours. eg. import=orange, static=green, void=blue, this=purple To me it makes source much easier to navigate.Well things seem to be working now but I miss poseidons syntax colourscheme. Is it possible to have different colours per keyword(group)?What's a keyword group? You can change the colors, but you'd change all of the keywords to another color (except "return": you can color returns with a different color, useful to see all exit paths of a function).
Mar 21 2009
Poseidon has 7 (custom) groups of keywords which have different colours. eg. import=orange, static=green, void=blue, this=purple To me it makes source much easier to navigate.Not possible...? But.. but.. my code looks soo boring now :( :)
Mar 23 2009
Saaa escribió:It's possible, yes. But I think the code will look like a mess. :-P I'll need a complete list of the keywords inside each group to do that. And... I'm back to university, and work, and in a few days I'm on vacations, so... I won't be able to do much.Poseidon has 7 (custom) groups of keywords which have different colours. eg. import=orange, static=green, void=blue, this=purple To me it makes source much easier to navigate.Not possible...? But.. but.. my code looks soo boring now :( :)
Mar 23 2009
"Ary Borenszweig" <ary esperanto.org.ar> wrote in message news:gq9b51$btc$1 digitalmars.com...Saaa escribió:Me understands.. I could list everything here, but I think it would be easiest to just download Poseidon. That way you can marvel at its highlighting in private. http://www.dsource.org/projects/poseidon/changeset/head/trunk?old_path=%2F&format=zipIt's possible, yes. But I think the code will look like a mess. :-P I'll need a complete list of the keywords inside each group to do that. And... I'm back to university, and work, and in a few days I'm on vacations, so... I won't be able to do much.Poseidon has 7 (custom) groups of keywords which have different colours. eg. import=orange, static=green, void=blue, this=purple To me it makes source much easier to navigate.Not possible...? But.. but.. my code looks soo boring now :( :)
Mar 23 2009
I could list everything here, but I think it would be easiest to just download Poseidon.Poseidon doesn't need to install.. The keywords are listed and selectable in Tools>Options>Editor>D styles>Key Words
Mar 24 2009