IDE 2.1 "go to definition" missing in the context menu

Hello

It seems this problem has not been solved.

When I create a new sketch the context menu works properly.
As soon as the sketch is saved the context menu looses features such as "go to definition" or "go to symbol".

my setup:
Version: 2.1.0
Date: 2023-04-19T15:31:10.185Z
CLI Version: 0.32.2

Thanks for help
Shasha

Hi @shasha. The bug has been fixed but you are not using the version of Arduino IDE that contains that fix.

Please try the latest nightly build of Arduino IDE. The download links are listed here:

https://www.arduino.cc/en/software#nightly-builds

Hi @ptillisch
Thanks a lot the latest nightly build fixes this problem (arduino-ide_nightly-20230609_Windows_64bit) !

You are welcome. I'm glad it is working now.

Regards,
Per

Hi , I have the same problem im using 2.1.1 CLI Version 0.32.3 and if I check for updates I have the most recent.
I'm editing Sketch that was built using an earlier version, could that be the issue ?

regards
Bill

Hi @bbates. As I mentioned above, the bug has already been fixe.

Unfortunately we had to make an emergency release of Arduino IDE to fix a critical bug that made it impossible for Windows users to upload to the new UNO R4 WiFi so we were not able to include that fix in the Arduino IDE 2.1.1 release. We also had to temporarily revert the fix in the nightly build of Arduino IDE.

This means that, for now, you can only get the fix by using a beta tester version of Arduino IDE. I'll provide instructions you can follow to install the version of the IDE with the fix:

  1. Sign in to your GitHub account.
    (GitHub only allows downloads of the beta tester builds when you are signed in.)
  2. Open this page in your browser:
    https://github.com/arduino/arduino-ide/actions/runs/5243125693#artifacts
  3. Click the "Windows_X86-64_zip" link under the "Artifacts" section of the page.
  4. Wait for the download to finish.
  5. Unzip the downloaded file.
  6. Unzip the ZIP file you find inside the unzipped file to any convenient location on your computer.
    (yes, there are two layers of ZIP files :upside_down_face:)
  7. Run the Arduino IDE.exe file from the unzipped folder.

When you install the IDE via this ZIP file, it will not interfere with any other installations of Arduino IDE on your computer so you are welcome to have both beta tester versions as well as the release version of Arduino IDE installed on your computer at the same time.


The alternative workaround would be to save your sketch to the C:\ drive.

The fix will definitely be in the next release of Arduino IDE.

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