The @author tag for javadoc is missing in Android Studio

I switched from Eclipse (ADT) to Android Studio, but he said that @author is an invalid tag for javadoc.

+4
source share
1 answer

First, we need to create the @author tag inside the command line. Then only you can see the results. Like this:

    /**
    * @author author_name
    */

Between /**and */, if you type a character @and then click ctrl+space, all available tags will be shown automatically in android studio.

If you type before defining a method /**, then press ENTER, the parameters and type of the returned method will show tags with names automatically.

0

Source: https://habr.com/ru/post/1584812/


All Articles