Files
openide/python/testData/joinLines/CommentProducesTooLongLineAfterJoin-after.py
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

4 lines
138 B
Python

# this comment is very very very very very very long. And this is the second
# <caret>line of this very long comment
def test():
pass