Skip to content

Inconsistent formatter settings in WB projects #375

@ptziegler

Description

@ptziegler

Something quite frustrating when working with the WB code is that most of the code is formatted using spaces with an identation depth of 2. However, the project-specific settings are configured to use tabs with an identation depth of 4.
So whenever I modify the code, I have to double-check that the auto-formatting doesn't break the code style.

From the project settings of WB Core:

org.eclipse.jdt.core.formatter.tabulation.char=tab
org.eclipse.jdt.core.formatter.tabulation.size=4

For the sake of compatibility, we should adapt the project-specific settings to match the actual code style. If we ever happen to create new plugins, those should then follow the built-in Eclipse profile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions