java - Intellij code formatting, keep /*package*/ on the same line -
in cases makes lot of sense use package visibility methods.
convention, put /* package */ comment in place of modifier in order make clear intentional :
/* package */ int getspan() { return mspan; }
however, intellij automatic formatting keeps putting comment on separate line ... final methods :/ .
there way configure formatting occurrences of comment left on same line ?
i had similar issue in intellij scala code following:
import executioncontext.implicits.global // todo use own execution context
was getting formatted into:
import executioncontext.implicits.global // todo use own execution context
i managed stop happening ticking comment @ first column
under keep when formatting
:
Comments
Post a Comment