IDE 2.1.1 changed mouseover functions and intellisense

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:

void midiSetInstrument(uint8_t chan, uint8_t inst) {...

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:
Intellisense

The configurations array is empty: is it normal?

Other info: my sketch is based on a NodeMCU 1.0 board; any problem?
Thanks

It depends on where your sketch is located. I think it must be on the same drive as the Installation.

As your topic is about IDE 2.x, your topic had been moved there.

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:

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

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.

1 Like

In Europe they should be called noonly build since they seem to follow the US time :smile:

Sorry...my old mind and my English sometimes (?) are slow :cry:

Interesting...there were bugs in those implementations? Can I hope to find them again in the future (stable) relesaes?

Thanks for your clarifications

The build is triggered at 03:00 UTC, so more like "early morningly":

I'm the only one on the tooling team based in the US and I still end up operating somewhat on CEST time (it's 02:33 here as I write this).

I'm not sure I understood correctly what you mean by this. Please provide a more detailed description to help me to understand it.

Are you hoping to find the bug with the code-aware features (Language server features not available when sketch on different drive from temp folder · Issue #2034 · arduino/arduino-ide · GitHub) in future releases?

Exactly.

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.

OK, well it is quite odd to hope for a bug. So, the answer to your question:

is "no". The bug has already been fixed so you will not find it in any future stable releases unless there is another regression.

The Arduino IDE developers are tracking this request here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.

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.

Shit :fearful:! Hope you still manage to get enough sleep.

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