Community
Participate
Working Groups
The formatter misses a space between method type parameters and the return type, when the method type parameters provide type arguments. For example: interface Foo { <T> void bar(); // Ok <T extends Enum<T>>void baz(); // Missing space } This is with 4.6.1 (Neon.1a).
I believe this was fixed recently but can't dig out the bug number. Mateusz, do you recall the bug report for that? Ryan, if you can grab a recent build from 4.7 stream, you can see it working as expected.
I pulled down the Oxygen M3 build and the above example formats as desired.
(In reply to Jay Arthanareeswaran from comment #1) > Mateusz, do you recall the bug report for that? I don't recall fixing a bug like that. Also, I can't reproduce it with default settings in any version of Eclipse I tried. Ryan, did the problem occur only for a specific formatter profile? Could you share it?
I tried using our formatter settings in stock 4.6 and 4.7 M3 installs an it's not happening. I'll do more testing to see if I can isolate it further, we have numerous plugins installed.
No further feedback, closing.
Verified for 4.7 M6 using I20170307-2000 build