Skip to content

Code indentation issue #248

Closed
Closed

Description

@Falcon7EH

The code indentation doesn't seem to work correctly for case statements,
if the WHEN block is defined a row below the "COND #(" part.
Every time the cleaner is carried out, the block moves 4 chars to the right,
which could lead to a syntax error, if the maximum number of allowed chars per rows are reached.

media_12 02 2024_10-47-37

Used cleaner settings:
recommended.zip

Activity

  1. self-assigned this
    on Feb 27, 2024
  2. jmgrassau commented on Feb 27, 2024

    @jmgrassau
    Member

    Hi Falcon7EH,

    ah, nice observation! This is caused by the "Indent lines" rule when there are two commands on the same line, and the second command spans multiple lines. Will be fixed with the next release!

    Kind regards,
    Jörg-Michael

  3. jmgrassau commented on Feb 27, 2024

    @jmgrassau
    Member

    Hi Falcon7EH,

    thanks again for opening this issue! This bug should now be resolved with version 1.13.2, which was just released!

    Kind regards,
    Jörg-Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions