Go Doc Comments in Quick Documentation
Support for links, lists, and new headings in doc comments.
Go 1.19 has added support for links, lists, and new headings in doc comments. Now GoLand also supports these new features.
Clicking on doc links leads to the referenced element while clicking on a text link leads to a text-link definition.
Both text and doc links are rendered as links in the Quick Documentation popup and the Documentation tool window.
Headings (#) and lists (*, +, 1.) are also supported.
To see documentation about an element in your code, hover the mouse over the element or click it and press F1 (macOS) / Ctrl+Q (Windows/Linux). To open documentation in the Documentation tool window, press F1 (macOS) / Ctrl+Q (Windows/Linux) twice.