burner / test_migration2

0 stars 0 forks source link

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

Open burner opened 6 years ago

burner commented 6 years ago

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/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.