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

Answered

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
1 comment

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

0

Please sign in to leave a comment.