Hello, after IDE 2.0.3 is started, Go to Definition function works fine, I like using it.
However after some random time it says "No definition found" to everything in the sketch.
It doesn't work on variables, constants nor on functions for no apparent reason.
Does anybody else experience the same?
Can you provide an approximate time range (e.g., "somewhere between 1 and 10 minutes")?
Does the problem still occur even if you only open a sketch and then leave Arduino IDE alone? Or does it only occur if you are using Arduino IDE? The reason I'm asking is because it might only appear that the required condition to produce the fault is "some random amount of time passing", when really it is produced by some specific action(s) you took during that time while using Arduino IDE.
Which board do you have selected in Arduino IDE when the fault occurred?
Does the fault occur even when attempting a "Go to Definition" operation on a very simple sketch like this?:
It was definately more, than 10 minutes. I was just developing my sketch, doing regular stuff. Compile once in a while, upload once in a while. After a while Go to def. function just stopped working. IDE restart was needed to get back to normal.
Does the problem still occur even if you only open a sketch and then leave Arduino IDE alone?
I haven't tried to leave it alone, but I will and check the behavior as well with a simple sketch you provided.
Which board do you have selected in Arduino IDE when the fault occurred?
Arduino Pro or Pro Mini (3.3V, 8 MHz), USBasp as a Programmer.
I'm using version 2.0.3 from AUR (en) - arduino-ide-bin
My operating system is Manjaro (Gnome) from the "Testing" branch.
My development board is ,,ESP32 Dev Module"