add 'Add Javadoc' to toolbar in Intellij IDEA CE?

Answered

After trying different alternatives and searching, I can't work out how to add 'Add Javadoc' from the 'context Actions' submenu to my  toolbar.

Im starting by right mousing over the toolbar to customise it



Im using Intellij IDEA Community Edition version 2023.1.1.

Is this possible and, if so, how please?

0
4 comments

What do you expect this action to do and in what context will you call it?

0

@serge

What do you expect this action to do and in what context will you call it?

This:

When I place the editor caret on a class name or method name (or select one of these)
And click on the 'Add Javadoc' item in the toolbar
Then IntelliJ creates an empty Javadoc section above that classname or method name

 

---- 

E.G. from this

to this

0

Unfortunately, there is no way to call any specific intention action from the toolbar action as it's context sensitive.

0

@serge

Great to get such a quick response to a query, thanks!

Mark

0

Please sign in to leave a comment.