Javadoc improvements in IntelliJ IDEA 10.5

We are coming close to opening the Early Access for IntelliJ IDEA 10.5 which we have announced some time ago. So, we are starting a series of blog posts that will describe some additions we are introducing in this new release.

Here is a list of newly added features that simplify working with Javadocs even more. Note that all of them are available in both Ultimate and Community Editions:

  • Smart enter — caret moves to an expected position after pressing ‘Enter’ in situations like the one below:
     * <ul>
     *     <li>[caret]
     *         [caret moves here on Enter]
     * </ul>
    class Test {
  • Automatic insertion of closing tag — controlled by a corresponding new setting that resides under ‘IDE Settings | Editor | Smart Keys’;
  • Customizable font size — documentation popup font size can be changed on the fly with Ctrl+mouse wheel or via a dedicated GUI control:

Stay tuned for the news about IntelliJ IDEA 10.5 EAP availability!

Comments below can no longer be edited.

7 Responses to Javadoc improvements in IntelliJ IDEA 10.5

  1. Avatar

    Jason Winnebeck says:

    March 23, 2011

    With the “smart enter” in javadocs, will IDEA also receive the ability to properly format HTML code in javadocs when using “reformat code” (for example today it will just slam it all in one line)? When using HTML in javadocs, it prevents you from doing a reformat on an entire file as a result.

  2. Avatar

    Oleg says:

    March 23, 2011

    How about “smart return” in http://youtrack.jetbrains.net/issue/IDEA-18505 ?

  3. Avatar

    Carsten Schlipf says:

    March 23, 2011

    Great. Any chance to make this also available to ASDoc in 10.5? See also http://youtrack.jetbrains.net/issue/IDEA-66746. ASDoc editing is the only area, where FlashBuilder is still better than IDEA.

  4. Avatar

    Sam Razialruh says:

    March 24, 2011

    I hope this will be also fixed in 10.5


  5. Avatar

    Denis.Zhdanov says:

    March 28, 2011

    2Jason: the only solution for now is to surround target javadoc snippet that shouldn’t be reformatted by <pre> tags.

    2Oleg: that issue doesn’t have high priority for now

    @Carsten: I’ll ask developers that work with ActionScript support to have a look here

  6. Avatar

    Jeffrey Aguilera says:

    June 7, 2012

    I’m using IntelliJ 11 and the HTML in my JavaDoc still gets munged. Did this feature never make its way to 11? This has been one of my biggest complaints for at least 6 years. It would be nice if this would be addressed.

  7. Avatar

    Denis.Zhdanov says:

    June 10, 2012

    Hi Jeffrey,

    All of the mentioned features are available at v.11. Please create dedicated ticket at the tracker and provide detailed problem description if any of them doesn’t work for you.


Discover more