Skip to content

@formatter:off & @formatter:on do not seem to work in 15.2.132.637.2 #64

@vanniktech

Description

@vanniktech

Hey,

the formatter off & on do not seem to work in IntelliJ14.

In my configuration file I've configured

<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>

However if I wrap code with those tags it still does get formatted.

// @formatter:off
@ParameterizedRobolectricTestRunner.Parameters(name = "InitialConfiguration = {0}")
public static Collection<Object[]> data() {
    return Arrays.asList(new Object[][]{
            // Some entries
    });
}
// @formatter:on

I'm using Eclipse Code Formatter Version 15.2.132.637.2

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