Go to definition not working

Good day. I am running nightly rc9.1 20220805. Everything seems quite fast, great work!
Unfortunately, as you can see if you right click and select Go to definition, apparently it can't find it.

Thanks!

Edit: This is Windows 7 msi install if it matters

Works OK for me in
Version: 2.0.0-rc9.1-nightly-20220809
Date: 2022-08-09T03:34:13.831Z
CLI Version: 0.0.0-git []

Hmm.. Maybe I will try getting the latest nightly

What is the significance of your mention of Ctrl in the topic title ?

Hi @micahfriesen. The Arduino IDE's language server features such as "Go to definition" (Ctrl+ Left Click) are not yet available for the ATmega4809 microcontroller of the Nano Every:

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

This limitation comes from the clangd C++ language server used by Arduino Language Server. LLVM has already added ATmega4809 support to the clangd project, but they haven't made a production release which contains that enhancement. So we are only waiting on their release. After that, it is only a matter of bumping Arduino IDE's clangd dependency and there will be support for those boards.

So the nightly won't be any better in this respect, but I definitely recommend using it anyway.

First noticed when ctrl+click didn't work. Changed title.

Ok I get it. Thanks!

It is not available for ESP32 also?

The Arduino IDE 2.x language server does support ESP32:

image

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.