Hope to be clear in explaining my questions due to the different language.
I'm referring to some tools/functions I saw in the past with a lower IDE version (I do not remember which but >=2.0 anyway) that I do not see anymore.
First:
I remember some time ago that right-clicking a variable or a function name there was a voice like 'goto the definition). I do not see anymore this choice.
Second:
When writing an exixting function name I was given a short indicaton of what the funcion was expecting (parameters names and types); this does not happen now.
Even typing Ctrl-space I get 'no suggestions'. Example:
When typing the partial of full function name I'm expecting to see 2 uint8_t parms, instead nothing. Do I misanderstood the intellisense?
Pls note that then 'Editor Quick Suggestions' is enabled in the preferences.
In the Debug window, under the 'Open the launch.json' I get this window:
The configurations array is empty: is it normal?
Other info: my sketch is based on a NodeMCU 1.0 board; any problem?
Thanks
Sorry but it is not clear to me.
IDE is installed on my C: drive (C:\Users\xxxx\AppData\Local\Programs\Arduino IDE), while the sketches are on another disk (D:) and this is since the very first beginning with the old revisions.
It is ok. I did't see this area under 'General' where IDE 1.x is.
That is the reason you are having this problem. There is a bug in Arduino IDE that causes the code-aware features like "Go to definition" to not be available when you are working with a sketch that is stored on any drive other than C:\.
The bug has already been fixed, but the fix was made after the time of the 2.1.1 release. Please use the nightly build of Arduino IDE, which contains the fix. The nightly build download links are listed here:
Uhm...I see and I will try the nightBuild (curious name btw) but, again, something is not clear.
When I started with Arduino (sep, '22) I installed the available version; I believe it was the 2.02.
My environment never changed (so, drive C + drive D) and the 'Go to definition' was available and working; it is a mandatory tool for any IDE.
More recently, I think with rev. 2.08 (?) I remember to have seen and used the Intellisense for some libraries functions).
Could it be that the newer versions lost some functionalities or do they require a different environment?
Thanks
It is "nightly build", not "nightBuild". "Nightly" refers to the fact that the build is generated every night, meaning this version of the IDE includes all the latest development work on the project. It is primarily intended to facilitate beta testing, but can also be used in cases where there is an impactful bug in the release version of the IDE.
That is correct. This is a regression introduced in the Arduino IDE 2.1.0 release. It did not occur when using previous versions of Arduino IDE.
Anyway, since you are in the tooling team, I wish to expose other two suggestions:
I would like to see a 'split view' function to be able so see a different part of code (ie. defines and true code) as quite normal in other IDEs.
Another issue I have is the breakpoint management: I would expect to jump to previuos/next breakpoint (or clear all) from the popup menu.
Oh I see. It must have been some random hickup with GitHub then since a few times when I tried to download the nightly build it was gone and reappeared 10min later.
Plus I thought GitHub has some script that everyone use for triggering the nightly build. But maybe it can be customized or needs to trigger from the project owner's own servers.