[Issue 19353] New: Indent function bodies correctly when generating overrides.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 3 08:41:46 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19353
Issue ID: 19353
Summary: Indent function bodies correctly when generating
overrides.
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: visuald
Assignee: nobody at puremagic.com
Reporter: r.sagitario at gmx.de
from https://forum.dlang.org/thread/imrhiouthncheeekksny@forum.dlang.org:
inside a class, if you type "override" then ctrl-space, it shows a list of
overridable functions. Choose one and it outputs a function stub, but the
generated body is the same indent level as the declaration, e.g.:
override protected void myFunction() {
super.myFunction(); <- should be indented one level further
}
--
More information about the Digitalmars-d-bugs
mailing list