Visual D show the opening bracket info for closing bracket

Michelle Long HappyDance321 at gmail.com
Sat Nov 3 16:32:44 UTC 2018


On Saturday, 3 November 2018 at 08:17:50 UTC, Rainer Schuetze 
wrote:
>
>
> 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


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.


More information about the Digitalmars-d-debugger mailing list