Search code examples
android-studiojavadoc

How to generate javadoc comments in Android Studio


Can I use shortcut keys in Android studio to generate javadoc comments?

If not, what is the easiest way to generate javadoc comments?


Solution

  • I can't find any shortcut to generate javadoc comments. But if you type /** before the method declaration and press Enter, the javadoc comment block will be generated automatically.

    Read this for more information.