Latexdoc // Tooltip for user defined newcommands

Sven Port
  • Sven Port
    Sven Port

    is there a way to create something like javadoc for user defined latex commands?
    E.g. if i hover over:


    a tooltip is shown with the contents:

    Start of an environment, must end with \end{envname}."

    I would like to create a command of my own - e.g.\newcommand{\testcommand}... -
    and document its usage:


    This is my documentation"

    If i use it within another latex file in texclipse, it would be awesome if my documentation shows up within a tooltip.

    But how to write a comment so that it will show up as tooltip?

    Thanks for any hints in advance
    S. Port