aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes not so great feature Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "not so great feature" Watch "not so great feature" New topic
Author

not so great feature

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
i've eclipse 3 and it has a add/remove block comment; but after adding a block comment if i use "format", then all formatting inside my block comment gets spoiled.

does anyone knows how to turn this around?

thanks in advance


java amateur
Stefan Willi
Ranch Hand

Joined: Mar 11, 2005
Posts: 47
Hy!
You can configure, how Eclipse formats your document. By default, Eclipse also formats your comments.

Go to:
Windows > Preferences > Java > Code Style

There you can edit a profile for Code-Formating. Under the Tab-Page Comments, you can disable or customize the formating of your comments.

Hope it's helpfull

Stefan
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
here's what i mean:
at start:

after source->add block comment:

after source->format:

after source->remove block comment
Stefan Willi
Ranch Hand

Joined: Mar 11, 2005
Posts: 47
The good message: I can reproduce your problem.

The bad one: I havn't another advice rather than cutsomizing code formating or use line comments.

stefan
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

I agree with Stefan. The easiest approach is to use line comments.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not so great feature