In code formatting, how do I wrap a long line in a log.info() statement?

已回答

In JetBrains product, like Intellij, I have a long  line like below

log.info("fafafafafasfasfasfasfasfasfasfasfasfasfafasfasfaf" + "/" + someClass.aMethod("this is a test));

and I want to style it like, below!! so what option do I need to use in the Setting dialog box?

log.info("fafafafafasfasfasfasfasfasfasfasfasfasfafasfasfaf" 

              + "/" 

            + someClass.aMethod("this is a test));
0

There is no option to put "/" on a separate line. Feature request is welcome at https://youtrack.jetbrains.com/newIssue?project=IDEA.

0

请先登录再写评论。