Community
Participate
Working Groups
I was thrilled to see all of the formatting settings that are available in Java > Code Style > Formatter. I am much happier now that I can use Ctrl+Shift+F more liberally! I'd very much like one more option (which is why I originally went looking for all of those formatting settings). I'd like block comments (non-Javadoc) to be smaller, let me draw an example. (I hope this renders well on your screen. I used short lines to try and help out your email client.) /* I'd like the option to format my block * comments like this. */ /* * Instead of like this. I use these a lot and * this can take up a lot of space. */ I hope this is possible. Thanks, everyone! Jeff onkenj@gmail.com
I think this could be an interesting preference...
Any progress on this? Our Java project has doubled in size, and we'd probably lose about 2 or 3% of our total number of lines if the block comments were adjusted! :^P Thanks! Jeff onkenj@gmail.com
>I think this could be an interesting preference... Yes, makes sense.
Created attachment 159663 [details] Proposed patch This patch adds 2 new formatter options, one to condense the block comments and the other one to condense javadoc comments...
Comment on attachment 159663 [details] Proposed patch Sorry, wrong patch... :-(
Created attachment 159665 [details] Proposed patch This patch is the good one and really adds 2 new formatter options, one to condense the block comments and the other one to condense javadoc comments...
Created attachment 159770 [details] Proposed patch + doc Just add a entry in the build notes to describe the new options
(In reply to comment #7) > Created an attachment (id=159770) [details] > Proposed patch + doc > > Just add a entry in the build notes to describe the new options Released for 3.6M6 in HEAD stream.
Created attachment 159911 [details] Additional patch This patch changes the constants names to better reflect the action of the corresponding preferences...
Created attachment 159912 [details] Additional patch + doc Same patch than previous one + corresponding changes in the build notes entry...
(In reply to comment #10) > Created an attachment (id=159912) [details] > Additional patch + doc > Released for 3.6M6 in HEAD stream.
Verified for 3.6M6 using build I20100305-1011
Thank you very much! It works wonderfully; I really like the new look. :^) Best, Jeff
(In reply to comment #13) > Thank you very much! It works wonderfully; I really like the new look. :^) > > Best, > Jeff You're welcome :-)
*** Bug 61110 has been marked as a duplicate of this bug. ***