Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Attaching additional javadoc in Intellij IDEA

When I use quick documentaion lookup (Ctrl+Q) on j2ee classes or annotations in IDEA I only get an empty javadoc. It only contains the basics like class name.

How do I add the javadoc to the libs IDEA provides itself?

like image 351
homaxto Avatar asked Sep 18 '08 09:09

homaxto


People also ask

How do I add javadoc to a method in Intellij?

Place the caret at the declaration in the editor, press Alt+Enter , and select Add Javadoc from the list.

How do I manually add javadoc?

Choose Tools > Java Platform Manager from the main window. Select the platform to which you want to add Javadoc in the left panel of the dialog box. In the Javadoc tab, click Add ZIP/Folder and specify the location of the Javadoc files. Click Close.

How do I create a 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.


Video Answer


1 Answers

You can attach javadoc to any library you have configure in your module or project. Just access the project structure windows (File -> Project Structure), then select "modules" and select the module that has the dependency you want to configure.

Then select the "Dependencies" tab, select the dependency that's missing the javadoc and click "Edit". In the window that just showed up you see two buttons "Add" and "Specify Javadoc URL". If you have the javadoc in a jar file select the first one, if you want to point to a web site that contains the javadoc select the latest. That's it.

like image 73
Hugo Palma Avatar answered Sep 20 '22 02:09

Hugo Palma