How to make documentation with NetBeans and Javadoc

前端 未结 3 994
孤城傲影
孤城傲影 2020-12-28 13:11

I was searching a while, but nothing found. How can i make documentation in NetBeans 7.0.1?

My file looks like:

/** Class Description of MyClass */
p         


        
相关标签:
3条回答
  • 2020-12-28 13:24

    Update: for those using NetBeans 8.0, besides the options already stated, you can create Javadoc for a file or package.

    • Right click over file/package
    • Tools > Analyze Javadoc
    • "Analyzer" window should appear, noting which Javadoc is missing, with the corresponding "Create missing Javadoc for [method]"
    • Check the ones you want, click on "Fix Selected".

    Done :)

    0 讨论(0)
  • 2020-12-28 13:42

    This is another way that you can generate your Javadoc through Netbeans.

    1.- Click on 'Run' menu

    2.- Then go down to 'Generate Javadoc (...)'

    enter image description here

    0 讨论(0)
  • 2020-12-28 13:43

    Right click your project in Project window and click 'Generate Javadoc'

    Netbeans generate javadoc

    0 讨论(0)
提交回复
热议问题