Commit Graph

2 Commits

Author SHA1 Message Date
Nikolaj Schumacher
5d04b651ac JoinLinesHandler: Add symmetric spacing to block comments
GitOrigin-RevId: f83830b995a9b7e33a8000d00838aa6fde5aee8d
2022-03-02 14:15:31 +00:00
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