Search code examples
intellij-ideadocumentationjavadoc

Intellij JavaDoc not in sync or refreshing when I edit


What do I need to do to get Intellij to display the new edited version of my documentation when I view it (using Ctrl+Q).

For example if I create a new class the default template is added and the documentataion looks like this:

Orig Doc Code

And then will display like this:

Initial Doc view

If I then edit this to this:

Edited Doc

It still displays as the original documentaion (2nd image).


Solution

  • I figured it out. I had the documentation open previously, but pinned to the right hand side. Like below:

    enter image description here

    This meant that when I edited and tried to view it again it would display the old doc version which was pinned.

    If I close that pinned window then the updated doc is displayed every time.