Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » formatter
formatter [message #218159] Tue, 01 November 2005 10:24 Go to next message
Zohar Amir is currently offline Zohar AmirFriend
Messages: 419
Registered: July 2009
Senior Member
Hello,
I'm using antenna to do some preprocessing in my j2me application's code.
Preprocessing directives should be something like "//#ifdef BLA", where the
'#' come right after the comment markers "//". When I reformat the code with
eclipse it separates those, ruining all my directives. Is there a way to
avoid this?
Thanks,
Zohar.
Re: formatter [message #218196 is a reply to message #218159] Wed, 02 November 2005 07:03 Go to previous messageGo to next message
Zohar Amir is currently offline Zohar AmirFriend
Messages: 419
Registered: July 2009
Senior Member
This also holds for pasting a comment that is an antenna preprocessing
directive.

"Zohar" <david_fire4@hotmail.com> wrote in message
news:dk7fod$2dh$1@news.eclipse.org...
> Hello,
> I'm using antenna to do some preprocessing in my j2me application's code.
> Preprocessing directives should be something like "//#ifdef BLA", where
> the '#' come right after the comment markers "//". When I reformat the
> code with eclipse it separates those, ruining all my directives. Is there
> a way to avoid this?
> Thanks,
> Zohar.
>
Re: formatter [message #218273 is a reply to message #218159] Thu, 03 November 2005 09:07 Go to previous message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
Zohar wrote:
> Hello,
> I'm using antenna to do some preprocessing in my j2me application's code.
> Preprocessing directives should be something like "//#ifdef BLA", where the
> '#' come right after the comment markers "//". When I reformat the code with
> eclipse it separates those, ruining all my directives. Is there a way to
> avoid this?

Aside not formatting comments at all, no.

-tom
Previous Topic:java.lang.NoClassDefFoundError: junit/framework/TestCase
Next Topic:Help for Building update site Project
Goto Forum:
  


Current Time: Tue Nov 12 19:48:47 GMT 2024

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

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

Back to the top