[Issue 19350] New: automatically show information about current scope with the closing brace

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 3 08:15:22 UTC 2018


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 at puremagic.com
          Reporter: r.sagitario at 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.

--


More information about the Digitalmars-d-bugs mailing list