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?
Please sign in to leave a comment.
What do you expect this action to do and in what context will you call it?
@serge
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

Unfortunately, there is no way to call any specific intention action from the toolbar action as it's context sensitive.
@serge
Great to get such a quick response to a query, thanks!
Mark