Skip to content

LeftCurly FormatterSettings missing for LAMBDA #101

Description

@MSJones6

Hi,

I use the actual checkstyle plugin (version 8.12.0.201808161509).
It seems, that the transformer to codeformatter does not support the token "LAMBDA".
No errors in Eclipse message log.
The expression will simply be ignored while creating the formatter.

In the code itsself, the curly bracket is marked as wrong formatted. So, this function works correct.

If I'm correct, the following code is missing in the eclipse-cs/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/ctransformerclasses/LeftCurlyTransformer.java (Line 77):
} else if (tok.equals("LAMBDA")) { userFormatterSetting("brace_position_for_lambda_body", option); }

I'm using Eclipse Oxygen.3a (Release 4.7.3a)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions