Skip to content

Incorrect folding of for loop #149

Description

@cbruegg

I'm experiencing issues possibly related to curly braces being on a new line instead of in the same line. For example:

for (int i = 0; i < colorSequence.length; i++)
{
    Color color = colorSequence[i];
    bean.setRGBColor(i, color.getRed(), color.getGreen(), color.getBlue(), token);
}

is folded to

for val (i = 0; i < colorSequence.length; i++)
{
    Color color : colorSequence) {
    bean.setRGBColor(i, color.getRed(), color.getGreen(), color.getBlue(), token);
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions