Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE 2.10: No "Go to definition" in context menu #2034

Closed
3 tasks done
wavoigt opened this issue Apr 27, 2023 · 4 comments · Fixed by #2083
Closed
3 tasks done

Arduino IDE 2.10: No "Go to definition" in context menu #2034

wavoigt opened this issue Apr 27, 2023 · 4 comments · Fixed by #2083
Assignees
Labels
conclusion: resolved Issue was resolved topic: CLI Related to Arduino CLI topic: infrastructure Related to project infrastructure topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project

Comments

@wavoigt
Copy link

wavoigt commented Apr 27, 2023

Describe the problem

Hi, I'm missing the "Go to definition" topic in the context menu of IDE 2.10
The Autocomplete feature is working partially, it only suggests "abc" items, but no functions .

To reproduce

Tested on AI Thinker ESP32-CAM, Adafruit ESP32 Feather and more

Expected behavior

"Go to definition" in the context menu (right click menu)
Autocomplete suggesting function calls

Arduino IDE version

2.10

Operating system

Windows

Operating system version

10 22H2

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@wavoigt wavoigt added the type: imperfection Perceived defect in any part of project label Apr 27, 2023
@per1234 per1234 self-assigned this Apr 27, 2023
@per1234
Copy link
Contributor

per1234 commented Apr 27, 2023

Hi @wavoigt. Thanks for your report. There is a known bug in Arduino CLI that causes this symptom in Arduino IDE 2.1.0: arduino/arduino-cli#2156

This fault only occurs when that sketch you have open is stored on a different drive on your computer from the drive that contains the system temporary folder.

Please save the sketch to any convenient location on your C:\ drive and then comment here to tell me whether the problem still occurs after doing that.

@per1234 per1234 added topic: infrastructure Related to project infrastructure status: waiting for information More information must be provided before work can proceed topic: language server Related to the Arduino Language Server topic: CLI Related to Arduino CLI labels Apr 27, 2023
@wavoigt
Copy link
Author

wavoigt commented Apr 27, 2023

Hi @per1234 , indeed when i save the sketch to C:\Arduino all is working as expected.
Thank you.

@per1234 per1234 removed the status: waiting for information More information must be provided before work can proceed label Apr 27, 2023
@per1234
Copy link
Contributor

per1234 commented Apr 27, 2023

Thanks for the information. Even though the bug is not in this repository's codebase, since the symptom is most impactful to Arduino IDE users and we have already received multiple reports about it on Arduino Forum I'll go ahead and leave this issue open for now to document the bug and available workaround.

@seyyedsaahk

This comment was marked as off-topic.

@arduino arduino locked as resolved and limited conversation to collaborators Aug 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conclusion: resolved Issue was resolved topic: CLI Related to Arduino CLI topic: infrastructure Related to project infrastructure topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants