facebook

Disable reformatting for a block of code?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #294114 Reply

    Charles Roth
    Member

    I’d like to find a way to disable formatting (reformatting, a la Java ctrl-shift-F) for a block of code. I’m wondering if there’s any @ directive or pragma, or a magic comment, or any other means of saying to the IDE “don’t reformat this block of code”?

    For example, I (pray for me) often have to rewrite SQL queries embedded in old java code. I try to make them readable, by lining up SELECT, FROM, etc. on separate lines, according to some well-known SQL standards.

    Myeclipse, of course, helpfully rearranges those for me if I reformat the containing class or method.

    Any thoughts are welcome. Thanks!

    #294126 Reply

    Loyal Water
    Member

    roth45,
    Im afraid this option is not available. Sorry about that.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Disable reformatting for a block of code?

You must be logged in to post in the forum log in