Skip to content

automatically show information about current scope with the closing brace #246

Open
@dlangBugzillaToGithub

Description

@dlangBugzillaToGithub

r.sagitario (@rainers) reported this on 2018-11-03T08:15:22Z

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

Description

from https://forum.dlang.org/thread/[email protected]:

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions