Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Skip section when formatting source code
Skip section when formatting source code [message #258823] Sat, 21 February 2009 05:24 Go to next message
Eclipse UserFriend
Hi,
I have a class for writing XML documents that is best read when the method
calls are indented as they'd be in the formatted XML document.
Is it possible to have the Java formatter skip certain sections of the
code so as to keep the code editor's format? I mean something like
<pre></pre> sections in the source code.
I believe that while my example is specific this could be useful in other
situations as well.

Thanks
Eduardo
Re: Skip section when formatting source code [message #258853 is a reply to message #258823] Mon, 23 February 2009 11:00 Go to previous message
Eclipse UserFriend
Eduardo Francos wrote:
> Hi,
> I have a class for writing XML documents that is best read when the
> method calls are indented as they'd be in the formatted XML document.
> Is it possible to have the Java formatter skip certain sections of the
> code so as to keep the code editor's format? I mean something like
> <pre></pre> sections in the source code.
> I believe that while my example is specific this could be useful in
> other situations as well.
>
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=128630

Dani
> Thanks
> Eduardo
>
Previous Topic:Joint Compillation Java / Groovy at the Groovy Eclipse Plug-in
Next Topic:Preferences vs. IPreferenceStore
Goto Forum:
  


Current Time: Thu Apr 17 12:11:31 EDT 2025

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

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

Back to the top