Latexdoc // Tooltip for user defined newcommands

Help
Sven Port
2014-01-27
2014-01-27
  • Sven Port
    Sven Port
    2014-01-27

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

    \begin{...

    a tooltip is shown with the contents:

    "\begin{envname}
    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:

    "\testcommand

    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