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 (see 2nd row). Why?
请先登录再写评论。
It appears to be a bug. Please follow https://youtrack.jetbrains.com/issue/IDEA-289630