Skip to content

Confusing comment indentation inside anonymous procedure sections #144

Open
@zaneduffield

Description

@zaneduffield

Here's an example (with the formatting I expect)

begin
  var A :=
      procedure
      //
      type
        //
        B = Integer;
      //
      begin
      end;
end;

this is formatted as

begin
  var A :=
      procedure
          //
      type
        //
        B = Integer;
          //
      begin
      end;
end;

the issue is that the comments are 'inside' the line, and are 'continued' much like any other kind of wrapped line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions