Files
openide/java/java-tests/testData/codeInsight/joinLines/ConvertFinalLineComment2.java
Tagir Valeev 0d75036403 JoinLines: better comments processing
1. Improve the support of other languages in CommentJoinLinesHandler
2. Respect right margin in CommentJoinLinesHandler
3. JoinLineProcessor#convertEndComments: do not convert if only whitespaces are going to be added
4. JoinLineProcessor#adjustWhiteSpace: do not add white-spaces before line-break
Also fixes IDEA-125325 Join lines in custom file type should handle end-of-line comments

GitOrigin-RevId: 392fe2455dcf19d21303a0b42ee85db7f824fa85
2019-08-27 11:01:35 +03:00

8 lines
50 B
Java

class A {
<selection>// foo
</selection>
}