digitalmars.D.debugger - Visual D show the opening bracket info for closing bracket
- Michelle Long (12/12) Oct 30 2018 For some languages the IDE will show info about a closing bracket
- Rainer Schuetze (4/22) Nov 03 2018 Recent versions of VS also shows similar information when hovering the
- Michelle Long (5/29) Nov 03 2018 Thanks. It helps reduce having to write unnecessary code just to
For some languages the IDE will show info about a closing bracket so one knows how it is grouped. The idea is that either a shadow comment is added or a popup when highlighted/selected is shown over the closing bracket which displays the first non-empty line above the opening bracket: statement { } // statement // statement is a shadow comment(not part of the source, grayed out a bit, or a popup) Helps a lot with lots of nesting and one doesn't have to manually add them which isn't robust.
Oct 30 2018
On 30/10/2018 17:19, Michelle Long wrote:For some languages the IDE will show info about a closing bracket so one knows how it is grouped. The idea is that either a shadow comment is added or a popup when highlighted/selected is shown over the closing bracket which displays the first non-empty line above the opening bracket: statement { } // statement // statement is a shadow comment(not part of the source, grayed out a bit, or a popup) Helps a lot with lots of nesting and one doesn't have to manually add them which isn't robust.Recent versions of VS also shows similar information when hovering the indentation guides. I've created an enhancement request: https://issues.dlang.org/show_bug.cgi?id=19350
Nov 03 2018
On Saturday, 3 November 2018 at 08:17:50 UTC, Rainer Schuetze wrote:On 30/10/2018 17:19, Michelle Long wrote:Thanks. It helps reduce having to write unnecessary code just to be able to make programming easier. Reducing bloat like this goes a long way. Providing this meta info helps.For some languages the IDE will show info about a closing bracket so one knows how it is grouped. The idea is that either a shadow comment is added or a popup when highlighted/selected is shown over the closing bracket which displays the first non-empty line above the opening bracket: statement { } // statement // statement is a shadow comment(not part of the source, grayed out a bit, or a popup) Helps a lot with lots of nesting and one doesn't have to manually add them which isn't robust.Recent versions of VS also shows similar information when hovering the indentation guides. I've created an enhancement request: https://issues.dlang.org/show_bug.cgi?id=19350
Nov 03 2018