Community
Participate
Working Groups
Version: 2020-06 (4.16) Build id: I20200314-1800 Copy the class below inside eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui type any character (let say space " ") after "save" word and hit Ctrl+S ################################## package org.eclipse.ui; class TestFormatterBug { /** * hello bug this is a cool one, it will add asterisk inside comment line on save */ void hallo() { } } ################################## Tha javadoc line will be auto-formatted to ################################## package org.eclipse.ui; class TestFormatterBug { /** * hello bug this is a cool one, it will add asterisk inside comment line on * save */ void hallo() { } } ################################## The "* save" part misses a new line, so it appears on the same line with the begin of the comment. Haven't tried on 4.15 or older.
The effect stops when the "Remove trailing whitespace" Save action is turned off. Looks like something introduced with bug 488229.
(In reply to Mateusz Matela from comment #1) > The effect stops when the "Remove trailing whitespace" Save action is turned > off. > Looks like something introduced with bug 488229. I'll look into it.
(In reply to Jeff Johnston from comment #2) > I'll look into it. Thanks.
New Gerrit change created: https://git.eclipse.org/r/159565
Gerrit change https://git.eclipse.org/r/159565 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=73b809c6a1a6e94f4ed806d3b631a88ce0eea5e8
Released for 4.16M1
Verified for 4.16M1 using I20200407-0120 build