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

Answered

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 (see 2nd row). Why?

0
1 comment

It appears to be a bug. Please follow https://youtrack.jetbrains.com/issue/IDEA-289630

0

Please sign in to leave a comment.