Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Comment formatter?
Comment formatter? [message #150632] Thu, 25 March 2004 12:33 Go to next message
Eclipse UserFriend
I have read the the newsgroup looking for an answer to this question.
There is some information on the topic, but it appears to point to a
plugin that is no longer a part of 3.0 (M7 at least).

I have an external program that invokes the Java code formatter and all
works well. I had noticed that the comments weren't formatted. The
dicussion in this group seems to indicate that there's another formatter
for the comments. I can't find it though.

Can someone point me in the right direction?

Thanks!

Ray
Re: Comment formatter? [message #151768 is a reply to message #150632] Wed, 31 March 2004 05:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Ray Elenteny wrote:

> I have read the the newsgroup looking for an answer to this question.
> There is some information on the topic, but it appears to point to a
> plugin that is no longer a part of 3.0 (M7 at least).
>
> I have an external program that invokes the Java code formatter and
> all works well. I had noticed that the comments weren't formatted.
> The dicussion in this group seems to indicate that there's another
> formatter for the comments. I can't find it though.
>
> Can someone point me in the right direction?

It's only available inside Eclipse: Using 3.0 M8:
1. Window > Preferences > Java > Code Style > Code Formatter,
2. Select a profile and press Edit... (or Show... if read-only)
3. Switch to the Comment page

Dani

>
> Thanks!
>
> Ray
Re: Comment formatter? [message #152000 is a reply to message #151768] Thu, 01 April 2004 07:00 Go to previous message
Eclipse UserFriend
Daniel,

Thanks for the info. Actually our plan was to set up all the
preferences, export them and use them outside the environment for "bulk"
formatting of code.

The code formatter is accessible in this manner. The comment formatter
is really tied into the UI code and I just can't seem to find a way
through it - amoung all the other tasks I have going :-).

If there was a "format all the code in this project option," I'd be set,
but there is not one of those - or even a variation of it.

With the addition of all the formatting options in Eclipse, we're just
trying to get our code base all in sync with a standrda set of options
for our group. It would be nice to be able to do this outside the
environment in some type of script.

Thanks for your input.

Ray


Daniel Megert wrote:
> Ray Elenteny wrote:
>
>> I have read the the newsgroup looking for an answer to this question.
>> There is some information on the topic, but it appears to point to a
>> plugin that is no longer a part of 3.0 (M7 at least).
>>
>> I have an external program that invokes the Java code formatter and
>> all works well. I had noticed that the comments weren't formatted.
>> The dicussion in this group seems to indicate that there's another
>> formatter for the comments. I can't find it though.
>>
>> Can someone point me in the right direction?
>
>
> It's only available inside Eclipse: Using 3.0 M8:
> 1. Window > Preferences > Java > Code Style > Code Formatter,
> 2. Select a profile and press Edit... (or Show... if read-only)
> 3. Switch to the Comment page
>
> Dani
>
>>
>> Thanks!
>>
>> Ray
Previous Topic:docs PDE JUnit
Next Topic:Automatic build for project
Goto Forum:
  


Current Time: Sat Jun 07 17:27:32 EDT 2025

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

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

Back to the top