Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Whitespace before same-line comments is formatted
Whitespace before same-line comments is formatted [message #506838] Sun, 10 January 2010 16:49
Eclipse UserFriend
When making a comment on the same line as some code, I like having two spaces after the code.

However, the Eclipse Java Formatter keeps shortening this to one space.

I'd like to tell it not to tamper with this, without turning it off entirely, but I can't find the appropriate rule.

Can anyone please help? Smile


For example:
gameWindow.setLocationRelativeTo(null); // Center the window.

Is modified to:gameWindow.setLocationRelativeTo(null); // Center the window.
Previous Topic:JSP editor problem [CLOSED]
Next Topic:opening jar files in eclipse
Goto Forum:
  


Current Time: Sat Mar 15 04:41:16 EDT 2025

Powered by FUDForum. Page generated in 0.03556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top