Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find methods without JavaDoc in IntelliJ?

In IntelliJ, is there a way to get a list of all methods without JavaDoc for a certain class?

A package?

A module?

A project?

like image 797
Christian Avatar asked Mar 03 '15 11:03

Christian


People also ask

Where can I find methods in IntelliJ?

Ctrl+Alt+Shift+N : finds a symbol. In IntelliJ IDEA, a symbol is any code element such as method, field, class, constant, and so on. Ctrl+Shift+A : finds an action by name. You can find any action even if it doesn't have a mapped shortcut or appear in the menu.

How do I fix missing Javadoc?

Go to Project > Properties > Java Build Path > Libraries and Choose . jar file which has missing Javadoc>(You should see Javadoc location: (None)) Click Edit and Provide Javadoc location file and press OK.

How do I find my Javadoc in IntelliJ?

View Javadocs in the editorHover the mouse over the necessary symbol in the editor. Place the caret at the symbol and press Ctrl+Q (View | Quick Documentation). Press Ctrl+Q again to open this documentation in the Documentation tool window.


1 Answers

Go to Settings > Editor > Inspections > Javadoc issues > Declaration has Javadoc problems.

On the right side you can configure the scope (package, class, method, ...) and the visibility (public, private, ...) to show warnings for missing JavaDocs.

Finally run Analyze > Run inspection by name > Declaration has Javadoc problems to search for all specified missing JavaDocs.

like image 186
Darek Kay Avatar answered Nov 04 '22 21:11

Darek Kay