digitalmars.D.announce - Descent 0.5.3 released
- Ary Borenszweig (25/25) Dec 20 2008 The Descent plugin for Eclipse provides an IDE for writing, launching
- dsimcha (3/28) Dec 20 2008 Awesome! How far along is semantic support for D2? I'd really like a r...
- Tim M (4/34) Dec 20 2008 I dont think the allround ide is a problem anymore with eclipse availabl...
- Christopher Wright (3/6) Dec 22 2008 No top-posting, please.
- Denis Koroskin (2/8) Dec 22 2008
- Jarrett Billingsley (2/13) Dec 22 2008 Top-posting is putting your reply at the top, with the quoted post below...
- BCS (6/8) Dec 20 2008 Better template support. I now have 2 libs that are just flat uneditable...
- Christopher Wright (4/14) Dec 22 2008 I agree entirely. Using templates turns Descent into a very large text
- Lutger (3/3) Dec 21 2008 Thank you so much, I really appreciate this IDE.
- Jacob Carlborg (38/71) Dec 23 2008 First I have to say that you're doing a great job with descent. Here are...
- Ary Borenszweig (6/59) Dec 30 2008 You can remove it in Windows -> Preferences -> D -> Editor -> Content
- Jacob Carlborg (8/73) Dec 31 2008 I'm not sure if you understand what I mean but the biggest problem is
- Ary Borenszweig (2/55) Dec 31 2008 Now I see what you meen. I'll add an option for it. :-)
- Jacob Carlborg (2/58) Dec 31 2008 :) Thanks
- Ary Borenszweig (8/10) Dec 30 2008 Thank you all for the feedback!
- Olli Aalto (8/22) Dec 30 2008 It seems that the new build is missing some stuff. Tried both the daily
- Jacob Carlborg (3/17) Dec 31 2008 Sounds good
- Ary Borenszweig (15/22) Dec 31 2008 Ok, I promise this is the last one in this year.
- Jacob Carlborg (3/30) Jan 01 2009 Almost there. When pressing dot the second time the cursor is moved back...
- Ary Borenszweig (2/23) Jan 01 2009 Can you check this happens all the time? It happened to me in some cases...
- Jacob Carlborg (16/38) Jan 02 2009 I have this example:
- Ary Borenszweig (4/50) Jan 02 2009 There, I've fixed it. Updating from the update manager will be enough.
- Jacob Carlborg (3/54) Jan 03 2009
- Trass3r (6/8) Jan 19 2009 #1: the "preprocessed"-source output discussed in the learn newsgroup!
- Ary Borenszweig (23/34) Jan 19 2009 I think this point is pretty feasible. I can probably implement it as a
- Trass3r (3/7) Jan 20 2009 Hey good idea, would be interesting to see what stuff gets optimized,
- Ary Borenszweig (47/55) Jan 20 2009 Well, now I'm not sure about this... I've just played around with this.
- Trass3r (3/5) Jan 20 2009 Cool, didn't know scope was just syntactic sugar for such a construct.
- Trass3r (2/2) Jan 20 2009 btw how do you get these information? Do you directly use the dmd
- Ary Borenszweig (3/5) Jan 20 2009 Descent has a port of DMD's frontend code to Java. It also implements
- Ary Borenszweig (4/10) Jan 20 2009 Ummm... So I apply the semantic routines, which transforms the original
- Trass3r (2/8) Jan 20 2009 Yeah I thought so. Wasn't that quite time-consuming?
- Robert Fraser (3/65) Jan 20 2009 That doesn't look entirely useless, especially for optimization. Perhaps...
- BCS (2/5) Jan 20 2009 ditto; now that you have it might as well make it available.
- Ary Borenszweig (2/9) Jan 20 2009 Ok, I'll work on it. :-)
- Trass3r (2/3) Jan 22 2009 Hope you'll release it soon ;)
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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!
Dec 20 2008
== Quote from Ary Borenszweig (ary esperanto.org.ar)'s articleThe 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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!Awesome! How far along is semantic support for D2? I'd really like a real IDE for D2, but I guess not having one is the price I pay for living on the bleeding edge.
Dec 20 2008
I dont think the allround ide is a problem anymore with eclipse available. Whats missing is a good gui builder. If you know of one other than entice though can you please reply with the links. On Sun, 21 Dec 2008 18:50:31 +1300, dsimcha <dsimcha yahoo.com> wrote:== Quote from Ary Borenszweig (ary esperanto.org.ar)'s articleThe 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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!Awesome! How far along is semantic support for D2? I'd really like a real IDE for D2, but I guess not having one is the price I pay for living on the bleeding edge.
Dec 20 2008
Tim M wrote:I dont think the allround ide is a problem anymore with eclipse available. Whats missing is a good gui builder. If you know of one other than entice though can you please reply with the links.No top-posting, please. I use Glade. It works reasonably well for small projects.
Dec 22 2008
On Tue, 23 Dec 2008 04:54:11 +0300, Christopher Wright <dhasenan gmail.com> wrote:Tim M wrote:What do you mean? His post is not a top-level message.I dont think the allround ide is a problem anymore with eclipse available. Whats missing is a good gui builder. If you know of one other than entice though can you please reply with the links.No top-posting, please.I use Glade. It works reasonably well for small projects.
Dec 22 2008
On Mon, Dec 22, 2008 at 9:01 PM, Denis Koroskin <2korden gmail.com> wrote:On Tue, 23 Dec 2008 04:54:11 +0300, Christopher Wright <dhasenan gmail.com> wrote:Top-posting is putting your reply at the top, with the quoted post below it.Tim M wrote:What do you mean? His post is not a top-level message.I dont think the allround ide is a problem anymore with eclipse available. Whats missing is a good gui builder. If you know of one other than entice though can you please reply with the links.No top-posting, please.
Dec 22 2008
Reply to Ary,And a question: what would you like to see next in Descent?Better template support. I now have 2 libs that are just flat uneditable under descent (scrapple.units and scrapple.dparse) both bring it down to a stand still if not crash and hand it out right. I'd love to see it just work at all for those files even if it doesn't support any template specific goodies.
Dec 20 2008
BCS wrote:Reply to Ary,I agree entirely. Using templates turns Descent into a very large text editor. I still use Descent for any application or library level development. (When I use D as a scripting language, I still use vim.)And a question: what would you like to see next in Descent?Better template support. I now have 2 libs that are just flat uneditable under descent (scrapple.units and scrapple.dparse) both bring it down to a stand still if not crash and hand it out right. I'd love to see it just work at all for those files even if it doesn't support any template specific goodies.
Dec 22 2008
Thank you so much, I really appreciate this IDE. What would make me most happy, personally, is getting Descent to parse command line output from dmd and jump to errors in the source file. Next up the wishlist is actually building from Descent, but this is less important. Dsss support would be awesome too.
Dec 21 2008
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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!First I have to say that you're doing a great job with descent. Here are a few suggestions: Remove "." as insertion of autocompletion. Yes I know that it's like that in JDT, BUT Java doesn't have slicing ".." and variadic functions "..." Add an option, when enabled, if you're in a slice [|] and pressing "." don't show the autocompletion list (| is cursor). Ctrl+Space is still available. "Go to definition" using Ctrl+click doesn't work in Eclipse 3.4 and Add "Libraries" for project properties, including "User Library". See JDT, right click on project -> Properties -> Java Build Path -> Libraries -> Add Library ... -> User Library. This is a must after removing "Installed Compilers" in one of the latest nightly builds. If not too much work, getting Descent to parse command line output from dmd/gdc/ldc and jump to errors in the source file. Not so important, creation of dsss.conf file in project It would be really great if the semantic analyzer could get better performance, it works great in files with around 200-300 lines of code. If the files are larger than that it can get really slow. For some reason, I haven't found out yet, many features like "go to definition", highlighting class fields in blue, highlight same occurrences of variable and so on stops working in larger files, it's probably something specific in the code that makes it not working. For example in this file, http://www.dsource.org/projects/dwt-mac/browser/dwt/widgets/Display.d , everything works as it should until line 766, after that line none of the above mentioned features work. The semantic analyzer highlights this piece of code as an error: System.arraycopy (contexts, 0, newContexts, 0, contexts.length); Error message: Function expected before (), not 'arraycopy' File: http://www.dsource.org/projects/dwt-mac/browser/dwt/widgets/Display.d Line: 397 Included from file: http://www.dsource.org/projects/dwt-mac/browser/dwt/dwthelper/System.d Line: 126 Pleas let me know if I should make a ticket for any of these suggestions, problems
Dec 23 2008
Jacob Carlborg escribió:Ary Borenszweig wrote:You can remove it in Windows -> Preferences -> D -> Editor -> Content Assist, in "Auto activation triggers for D" (just remove the dot).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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!First I have to say that you're doing a great job with descent. Here are a few suggestions: Remove "." as insertion of autocompletion. Yes I know that it's like that in JDT, BUT Java doesn't have slicing ".." and variadic functions "..."Add an option, when enabled, if you're in a slice [|] and pressing "." don't show the autocompletion list (| is cursor). Ctrl+Space is still available.I'll do it, that seems a reasonable solution.Add "Libraries" for project properties, including "User Library". See JDT, right click on project -> Properties -> Java Build Path -> Libraries -> Add Library ... -> User Library. This is a must after removing "Installed Compilers" in one of the latest nightly builds.Done!(...)Thanks for the feedback.
Dec 30 2008
Ary Borenszweig wrote:Jacob Carlborg escribió:I'm not sure if you understand what I mean but the biggest problem is not the activation of the content assist, it's the insertion of the selected element in the list when the content assist is active, when you press dot the second time. I still want to use dot as the activation of content assist when accessing class members and similar.Ary Borenszweig wrote:You can remove it in Windows -> Preferences -> D -> Editor -> Content Assist, in "Auto activation triggers for D" (just remove the dot).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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!First I have to say that you're doing a great job with descent. Here are a few suggestions: Remove "." as insertion of autocompletion. Yes I know that it's like that in JDT, BUT Java doesn't have slicing ".." and variadic functions "..."Thanks, I think that this will also solve the above problem. This is also a better solution than the above.Add an option, when enabled, if you're in a slice [|] and pressing "." don't show the autocompletion list (| is cursor). Ctrl+Space is still available.I'll do it, that seems a reasonable solution.Add "Libraries" for project properties, including "User Library". See JDT, right click on project -> Properties -> Java Build Path -> Libraries -> Add Library ... -> User Library. This is a must after removing "Installed Compilers" in one of the latest nightly builds.Done! > (...) Thanks for the feedback.
Dec 31 2008
Jacob Carlborg escribió:Ary Borenszweig wrote:Now I see what you meen. I'll add an option for it. :-)Jacob Carlborg escribió:I'm not sure if you understand what I mean but the biggest problem is not the activation of the content assist, it's the insertion of the selected element in the list when the content assist is active, when you press dot the second time. I still want to use dot as the activation of content assist when accessing class members and similar.Ary Borenszweig wrote:You can remove it in Windows -> Preferences -> D -> Editor -> Content Assist, in "Auto activation triggers for D" (just remove the dot).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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!First I have to say that you're doing a great job with descent. Here are a few suggestions: Remove "." as insertion of autocompletion. Yes I know that it's like that in JDT, BUT Java doesn't have slicing ".." and variadic functions "..."
Dec 31 2008
Ary Borenszweig wrote:Jacob Carlborg escribió::) ThanksAry Borenszweig wrote:Now I see what you meen. I'll add an option for it. :-)Jacob Carlborg escribió:I'm not sure if you understand what I mean but the biggest problem is not the activation of the content assist, it's the insertion of the selected element in the list when the content assist is active, when you press dot the second time. I still want to use dot as the activation of content assist when accessing class members and similar.Ary Borenszweig wrote:You can remove it in Windows -> Preferences -> D -> Editor -> Content Assist, in "Auto activation triggers for D" (just remove the dot).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 (There's no need to do the nightly-build manual stuff for this. If you previously had a nightly-build, you must need to remove it before updating. Anyway, the current nightly-build reflects this release, so you can just do it manually if it turns out easier for you.) This release is just an accumulation of small features and bug fixes since the last (official, not nightly-build) version. But since I don't want everyone to think "Aww, nothing new, just a new number", this release also includes support for array "extension methods" in autocompletion. For this to work, the function that you want to use as an extension must be in the current module, or already imported (so for example you won't get methods from std.algorithm, tango.core.Array or tango.text.Util until you have an import for them in the module you are currently typing in). Here's a video that shows this functionality: http://www.youtube.com/watch?v=FBj0wu9dbnA And a question: what would you like to see next in Descent? 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!First I have to say that you're doing a great job with descent. Here are a few suggestions: Remove "." as insertion of autocompletion. Yes I know that it's like that in JDT, BUT Java doesn't have slicing ".." and variadic functions "..."
Dec 31 2008
Ary Borenszweig escribió:The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230) which adds support for user libraries: http://dsource.org/projects/descent/wiki/Configuring Next I'll try to work on making the cool things work inside templates (and not stop working on big files) and maybe dsss integration or a simple builder.
Dec 30 2008
Ary Borenszweig wrote:Ary Borenszweig escribió:It seems that the new build is missing some stuff. Tried both the daily build zip and the update site. There are no descent features and only descent.launching, descent.debug.core and descent.ui.metrics plugins show up in the plugins list. (Unrelated note, both descent.launching and descent.debug.core have the same name; Descent Launching Plug-in) O.The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230) which adds support for user libraries: http://dsource.org/projects/descent/wiki/Configuring Next I'll try to work on making the cool things work inside templates (and not stop working on big files) and maybe dsss integration or a simple builder.
Dec 30 2008
Ary Borenszweig wrote:Ary Borenszweig escribió:ThanksThe Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230) which adds support for user libraries:http://dsource.org/projects/descent/wiki/Configuring Next I'll try to work on making the cool things work inside templates (and not stop working on big files) and maybe dsss integration or a simple builder.Sounds good
Dec 31 2008
Ary Borenszweig escribió:Ary Borenszweig escribió:Ok, I promise this is the last one in this year. I just uploaded another release (0.5.3.20081231) which adds some kind of support for autocompletion, go-to-definition and semantic highlighting inside templates. It is far from perfect, but comparing this to nothing I think it's ok. This release also has an option to not insert completion proposals when a dot is typed (as was suggested by Jacob Carlborg). I also changed the Eclipse Update site to this one: http://downloads.dsource.org/projects/descent/update-site So beware that you won't be able to update this time from the update manager, but you can uninstall the previous one and add this as a new update site. Happy new year! AryThe Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230)...
Dec 31 2008
Ary Borenszweig wrote:Ary Borenszweig escribió:Almost there. When pressing dot the second time the cursor is moved back one letter and ends up between the two dots instead of after the second dot.Ary Borenszweig escribió:Ok, I promise this is the last one in this year. I just uploaded another release (0.5.3.20081231) which adds some kind of support for autocompletion, go-to-definition and semantic highlighting inside templates. It is far from perfect, but comparing this to nothing I think it's ok. This release also has an option to not insert completion proposals when a dot is typed (as was suggested by Jacob Carlborg).The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230)...I also changed the Eclipse Update site to this one: http://downloads.dsource.org/projects/descent/update-site So beware that you won't be able to update this time from the update manager, but you can uninstall the previous one and add this as a new update site. Happy new year! Ary
Jan 01 2009
Jacob Carlborg Wrote:Ary Borenszweig wrote:Can you check this happens all the time? It happened to me in some cases, but I corrected them. I probably missed some others.Ary Borenszweig escribió:Almost there. When pressing dot the second time the cursor is moved back one letter and ends up between the two dots instead of after the second dot.Ary Borenszweig escribió:Ok, I promise this is the last one in this year. I just uploaded another release (0.5.3.20081231) which adds some kind of support for autocompletion, go-to-definition and semantic highlighting inside templates. It is far from perfect, but comparing this to nothing I think it's ok. This release also has an option to not insert completion proposals when a dot is typed (as was suggested by Jacob Carlborg).The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230)...
Jan 01 2009
Ary Borenszweig wrote:Jacob Carlborg Wrote:I have this example: void main () { char[] str; char[] s = str[3.|] } "|" is the cursor, as usual. When I press dot here the cursor is moved back one letter or not moved forward and end up between the two dots like this: void main () { char[] str; char[] s = str[3.|.] } /JacobAry Borenszweig wrote:Can you check this happens all the time? It happened to me in some cases, but I corrected them. I probably missed some others.Ary Borenszweig escribió:Almost there. When pressing dot the second time the cursor is moved back one letter and ends up between the two dots instead of after the second dot.Ary Borenszweig escribió:Ok, I promise this is the last one in this year. I just uploaded another release (0.5.3.20081231) which adds some kind of support for autocompletion, go-to-definition and semantic highlighting inside templates. It is far from perfect, but comparing this to nothing I think it's ok. This release also has an option to not insert completion proposals when a dot is typed (as was suggested by Jacob Carlborg).The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230)...
Jan 02 2009
Jacob Carlborg escribió:Ary Borenszweig wrote:There, I've fixed it. Updating from the update manager will be enough. I've removed the nightly builds page because now it's easier for me just to upload new versions to the update site.Jacob Carlborg Wrote:I have this example: void main () { char[] str; char[] s = str[3.|] } "|" is the cursor, as usual. When I press dot here the cursor is moved back one letter or not moved forward and end up between the two dots like this: void main () { char[] str; char[] s = str[3.|.] } /JacobAry Borenszweig wrote:Can you check this happens all the time? It happened to me in some cases, but I corrected them. I probably missed some others.Ary Borenszweig escribió:Almost there. When pressing dot the second time the cursor is moved back one letter and ends up between the two dots instead of after the second dot.Ary Borenszweig escribió:Ok, I promise this is the last one in this year. I just uploaded another release (0.5.3.20081231) which adds some kind of support for autocompletion, go-to-definition and semantic highlighting inside templates. It is far from perfect, but comparing this to nothing I think it's ok. This release also has an option to not insert completion proposals when a dot is typed (as was suggested by Jacob Carlborg).The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230)...
Jan 02 2009
Ary Borenszweig Wrote:Jacob Carlborg escribió:ThanksAry Borenszweig wrote:There, I've fixed it. Updating from the update manager will be enough. I've removed the nightly builds page because now it's easier for me just to upload new versions to the update site.Jacob Carlborg Wrote:I have this example: void main () { char[] str; char[] s = str[3.|] } "|" is the cursor, as usual. When I press dot here the cursor is moved back one letter or not moved forward and end up between the two dots like this: void main () { char[] str; char[] s = str[3.|.] } /JacobAry Borenszweig wrote:Can you check this happens all the time? It happened to me in some cases, but I corrected them. I probably missed some others.Ary Borenszweig escribió:Almost there. When pressing dot the second time the cursor is moved back one letter and ends up between the two dots instead of after the second dot.Ary Borenszweig escribió:Ok, I promise this is the last one in this year. I just uploaded another release (0.5.3.20081231) which adds some kind of support for autocompletion, go-to-definition and semantic highlighting inside templates. It is far from perfect, but comparing this to nothing I think it's ok. This release also has an option to not insert completion proposals when a dot is typed (as was suggested by Jacob Carlborg).The Descent plugin for Eclipse provides an IDE for writing, launching and debugging code in D.Thank you all for the feedback! I just uploaded a new release (0.5.3.20081230)...
Jan 03 2009
Ary Borenszweig schrieb:And a question: what would you like to see next in Descent?("...output a copy of what the source files look like after things like mixins, CTFE and versions are applied? (Sort of like running a C compiler with a "preprocess-only" flag)...)
Jan 19 2009
Trass3r wrote:Ary Borenszweig schrieb:I think this point is pretty feasible. I can probably implement it as a view. The only "problem" is that if I do that, I'll also have to show the optimized version of the code (which might be very interesting). So if you have: -- int foo(int x) { return 2 * x; } int bar() { return 3 * foo(4); } -- you might end up seeing in that view: -- int foo(int x) { return 2 * x; } int bar() { return 24; } --And a question: what would you like to see next in Descent?("...output a copy of what the source files look like after things like mixins, CTFE and versions are applied? (Sort of like running a C compiler with a "preprocess-only" flag)...)fileYeah... This seems like the favorite one.
Jan 19 2009
Ary Borenszweig schrieb:I think this point is pretty feasible. I can probably implement it as a view. The only "problem" is that if I do that, I'll also have to show the optimized version of the code (which might be very interesting). So if you have:Hey good idea, would be interesting to see what stuff gets optimized, inlined and stuff! :)
Jan 20 2009
Trass3r wrote:Ary Borenszweig schrieb:Well, now I'm not sure about this... I've just played around with this. If you give DMD's front end this: --- module main; class Foo { } int main(char[][] args) { scope(exit) { char[] x = "exit"; } scope(failure) { char[] x = "failure"; } scope(success) { char[] x = "success"; } Foo foo = new Foo(); return 0; } --- it transforms it to this: --- module main; import object; class Foo : Object { } int main(char[][] args) { try { try { int __osf15 = 0; try try { Foo foo = new Foo; return 0; } catch(Object __o2) { __osf15 = 1; throw __o2; } finally if(!__osf15) char[] x = "success"; } catch(Object __o1) { char[] x = "failure"; throw __o1; } } finally char[] x = "exit"; } --- I'm not sure you want to see that, heh. I think I'll stick with the "hover over a symbol to see it's compile-time representation" solution...I think this point is pretty feasible. I can probably implement it as a view. The only "problem" is that if I do that, I'll also have to show the optimized version of the code (which might be very interesting). So if you have:Hey good idea, would be interesting to see what stuff gets optimized, inlined and stuff! :)
Jan 20 2009
I'm not sure you want to see that, heh. I think I'll stick with the "hover over a symbol to see it's compile-time representation" solution...Cool, didn't know scope was just syntactic sugar for such a construct. Well the question is what the output looks like for a test scenario that is more practical, such as mixins and stuff.
Jan 20 2009
btw how do you get these information? Do you directly use the dmd frontend source code?
Jan 20 2009
Trass3r wrote:btw how do you get these information? Do you directly use the dmd frontend source code?Descent has a port of DMD's frontend code to Java. It also implements the visitor pattern in the provided AST, so it can output it as text.
Jan 20 2009
Ary Borenszweig wrote:Trass3r wrote:Ummm... So I apply the semantic routines, which transforms the original AST, and then I output it. You can see all the ugly stuff that happens under the hood. :-)btw how do you get these information? Do you directly use the dmd frontend source code?Descent has a port of DMD's frontend code to Java. It also implements the visitor pattern in the provided AST, so it can output it as text.
Jan 20 2009
Ary Borenszweig schrieb:Trass3r wrote:Yeah I thought so. Wasn't that quite time-consuming?btw how do you get these information? Do you directly use the dmd frontend source code?Descent has a port of DMD's frontend code to Java. It also implements the visitor pattern in the provided AST, so it can output it as text.
Jan 20 2009
Ary Borenszweig wrote:Trass3r wrote:That doesn't look entirely useless, especially for optimization. Perhaps hard to read, but easier than reading the assembly output ;-P!Ary Borenszweig schrieb:Well, now I'm not sure about this... I've just played around with this. If you give DMD's front end this: --- module main; class Foo { } int main(char[][] args) { scope(exit) { char[] x = "exit"; } scope(failure) { char[] x = "failure"; } scope(success) { char[] x = "success"; } Foo foo = new Foo(); return 0; } --- it transforms it to this: --- module main; import object; class Foo : Object { } int main(char[][] args) { try { try { int __osf15 = 0; try try { Foo foo = new Foo; return 0; } catch(Object __o2) { __osf15 = 1; throw __o2; } finally if(!__osf15) char[] x = "success"; } catch(Object __o1) { char[] x = "failure"; throw __o1; } } finally char[] x = "exit"; } --- I'm not sure you want to see that, heh. I think I'll stick with the "hover over a symbol to see it's compile-time representation" solution...I think this point is pretty feasible. I can probably implement it as a view. The only "problem" is that if I do that, I'll also have to show the optimized version of the code (which might be very interesting). So if you have:Hey good idea, would be interesting to see what stuff gets optimized, inlined and stuff! :)
Jan 20 2009
Reply to Robert,That doesn't look entirely useless, especially for optimization. Perhaps hard to read, but easier than reading the assembly output ;-P!ditto; now that you have it might as well make it available.
Jan 20 2009
BCS wrote:Reply to Robert,Ok, I'll work on it. :-)That doesn't look entirely useless, especially for optimization. Perhaps hard to read, but easier than reading the assembly output ;-P!ditto; now that you have it might as well make it available.
Jan 20 2009
Ary Borenszweig schrieb:Ok, I'll work on it. :-)Hope you'll release it soon ;)
Jan 22 2009