June 2004
Beginner to intermediate
364 pages
7h 38m
English
You want to comment out a long section of code.
Select Source→ Comment.
All you have to do is to select the lines to comment out and then
select Source→ Comment. A single-line comment,
//, will appear in front of all the lines. To
uncomment them, just select Source→ Uncomment.
Eclipse 3.0 also enables you to surround code in a block comment
(/*...*/). Just select Source→ Add Block
Comment. To remove the comment, select Source→ Remove Block
Comment.
Chapter 2 of Eclipse (O’Reilly).
Read now
Unlock full access