| 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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
|
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
|
 |
 |
|
|
subject: not so great feature
|
|
|