Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Dealing with Javadoc Comments in Eclipse

Part of the Eclipse For Dummies Cheat Sheet

When you use Eclipse to write Java code, don't forget to edit the Javadoc comments (the things that start with /**). You can add useful information when you edit the Javadoc comments, and as you edit them, Eclipse's code assist offers suggestions. Remember these tips as you edit your Javadoc comments:

  • Add a Javadoc comment: Place the cursor in the editor at the point where the new Javadoc comment belongs. Then choose Source→Add Javadoc Comment from the main menu bar.

  • Create Javadoc pages from existing Javadoc comments: Select the projects or source files whose Javadoc pages you want to create. (Select them in the Package Explorer, the Navigator view, the Outline view, or in an editor.) Then, on the main menu bar, choose Project→Generate Javadoc.

  • See an existing Javadoc page: Select the element whose Javadoc page you want to see. (Select it in the Package Explorer, the Outline view, or in an editor.) Then, on the main menu bar, choose Navigate→Open External Javadoc.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

SERIES
Eclipse For Dummies Cheat Sheet

Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.