IDE 2.3.4 hover not working

It is enabled in the keyboard shortcuts but doesn't work.

Also, Ctrl-F12 always says "no definition found". Pretty useless.

Anyone know of fixes??

So, if you do the following:

  1. Start a new empty sketch showing just the empty setup() and loop().
  2. Select from the tools menu the AVR boards UNO .
  3. Hold on a few seconds for the indexing (in the bottom left) to complete.

You say you do not get a hover popup for either the setup() of loop() functions?

You have to compile the sketch at least once to work. I use it all the time.

Compiled, and uploaded, many times.

No luck.

K

Ahh -- works with UNO. But I don't use UNO boards -- only Nano Every.

Wonder why.

I just started using Visual Micro, and hovering works there for this board

K

Hi @kmanuele. The information displayed in Arduino IDE's "hover" feature comes from the clangd C++ language server.

Unfortunately, the version of clangd currently in use by Arduino IDE doesn't have support for the ATmega4809 microcontroller of the Nano Every board. So it is expected that the language server-based features (which also include autocomplete and "Go to definition") are not functional when you have the Nano Every board selected in Arduino IDE.

The Arduino IDE developers are tracking the need to update the version of clangd used by the IDE in order to add support for the Nano Every (and other boards that use microcontrollers of the "megaAVR 0-series" architecture) to the language server-based features:

If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:


:exclamation: Please only comment on the GitHub issue thread if you have new technical information that will assist with the resolution. General discussion and support requests are always welcome here on the Arduino Forum.