Can I Define Exceptions to Eclipse cleanup rules?

Posted by Henrik Paul on Stack Overflow See other posts from Stack Overflow or by Henrik Paul
Published on 2008-10-06T09:15:30Z Indexed on 2010/05/28 21:02 UTC
Read the original article Hit count: 138

Filed under:
|
|

Most often the cleanup rules (Preferences > Java > Code Style > Clean Up) in Eclipse work perfectly and create nice-looking code.

But sometimes, especially with comments and concatenated string snippets (like inline SQL queries), the cleanup just messes things up, and destroys my formatting.

Is there a way to say to Eclipse "Don't touch this block of text! I have formatted it just the way I like, and you would make it just less readable"?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse