Sebastian Filip
Sebastian Filip

Reputation: 71

Intellij Refactor Java Code is different from Mac than from Windows even though the same code style schema is used. why?

I am using macOS 12.2.

The code should look like this, and this is how is reformatted on a windows machine.

router.POST().route(
        "/api/randomStuff") // random comment
        .with(RandomClass::getRandomThing);

This is how it looks on a Mac machine:

router.POST().route(
            "/api/randomStuff") // random comment
        .with(RandomClass::getRandomThing);

Mac machine ads a new TAB when a function parameter is set. Why?

Upvotes: 3

Views: 153

Answers (0)

Related Questions