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: nob...@puremagic.com
          Reporter: r.sagita...@gmx.de

from https://forum.dlang.org/thread/imrhiouthncheeekk...@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
  }

--

Reply via email to