Description
Describe the problem
Go To Definition option in the context menu stops working after relocating the Arduino15
folder.
To reproduce
I tried to move the Arduino15
folder from the Local
folder to my other folder.
In this case, I set the path to my folder in the file arduino-cli.yaml
:
directories:
builtin:
libraries: workspace\Arduino15\libraries
data: workspace\Arduino15
downloads: workspace\Arduino15\staging
libraries: workspace\Arduino15\libraries
user: D:\Users\lsd\Documents\Arduino
At the same time, I deleted the original Arduino15
folder from the Local folder
The environment as a whole understands such movement.
The environment continues to work correctly with the folder at the new path I specified.
But the Go To Definition option in the context menu stops working.
When I copy the Arduino15
folder back to the Local folder
then Go To Definition is restore functionality the next time the environment is loaded.
The compiler and other elements of the environment continue working with the folder I specified in the arduino-cli.yaml
Expected behavior
Go To Definition option in the context menu should work in both situations
Arduino IDE version
2.2.1
Operating system
Windows
Operating system version
10
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