Step 3 of 7

Hover

Hover

Once a server is attached, the Space menu grows a few entries that were inert before. The gentlest one is hover:

  • Space-k — show the server’s documentation for the symbol under the cursor

A popup appears beside the cursor with whatever the server has to say: for a real language that’s the type of the thing, its signature, and its doc comment. The stand-in here reports where the identifier is defined and how many times it appears in the file. Any motion closes the popup.

If the cursor sits on whitespace rather than a word, most servers answer with nothing and Helix shows nothing. The one here is more forgiving and looks at the next word on the line, but you’ll get better answers if you ask about a word.

Move to the farewell call inside main below and ask about it.

  1. Put the cursor on farewell in line 9 9gg lands on the indent; ff finds the f of farewell.
  2. Show what the server knows about it with Space-k Read the popup, then move the cursor to dismiss it.
Put the cursor on farewell in line 9 9gg lands on the indent; ff finds the f of farewell.

Next: Show what the server knows about it with Space-k

Loading editor…