www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19350] New: automatically show information about current

https://issues.dlang.org/show_bug.cgi?id=19350

          Issue ID: 19350
           Summary: automatically show information about current scope
                    with the closing brace
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: r.sagitario gmx.de

from https://forum.dlang.org/thread/syseposhefgipogiehvs forum.dlang.org:

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.

--
Nov 03 2018