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?
Please sign in to leave a comment.
It appears to be a bug. Please follow https://youtrack.jetbrains.com/issue/IDEA-289630