Skip to content

Tab Size is not respected and always defaults to 4 #271

@swpalmer-cl

Description

@swpalmer-cl

No matter what my indent settings are both in the general NetBeans Formatting settings, and the "Override Tab Size" setting for"External Formatter", it always formats with an indent size of 4.

In my NetBeans Formatting settings the indent size is 2
In the "External Formatter" settings the "Override Tab Size" setting is 2
In my Gradle configuration the indent size for Spotless (using this Palantir formatter) is 2.

When I format in NB with this plugin active the indent size used is 4.

It does not matter if "Use indentation settings from external formatter" is checked or not.

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