When I hold the mouse cursor over a variable a box showing the variable info. Can it be turned off? Or even better if the time before it shows can be set. Now it pops up all the time and it's in the way when I'm reading the code.
You can change the Hover Delay in the advanced setting to your liking. I have it set to 1200, that is 1.2 seconds, which suits my way of working. I find the default of 300 irritating.
I do, however, want them - they are very handy for checking the values of variables or parameter types in functions.
This "Editor Hover" feature can be disabled in the advanced settings.
I'll provide the specific instructions:
Disabling Editor Hover
Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
A menu will appear on the editor toolbar:
Select the "Preferences: Open Settings (UI)" command from the menu. ⓘ You can scroll down through the list of commands to find it or type the name in the field.
A "Preferences" tab will open in the Arduino IDE main panel.
Type editor.hover.enabled in the "Search Settings" field of the "Preferences" tab.
Uncheck the box under the "Editor › Hover: Enabled" setting.
Close the Preferences tab by clicking its X icon.
Triggering Editor Hover
Even though it is annoying and distracting to have this "hover" appear automatically, it can sometimes be useful to get information about the code. Even after you disable the "Editor › Hover: Enabled" setting, you can still manually trigger the appearance of the hover via a keyboard shortcut. I'll provide instructions for that:
Place the cursor on the object you want a "hover" for.
Press Ctrl+K on your keyboard (Command+K for macOS users).
Release the keys on your keyboard.
Press Ctrl+I on your keyboard (Command+I for macOS users).
Release the keys on your keyboard.
The hover will now appear.
The "Show Hover" keyboard shortcut is configurable. You can change it by opening File > Advanced > Keyboard Shortcuts from the Arduino IDE menus.
As was already stated by @Willem43, this can be configured via the Arduino IDE advanced settings. In case it will be useful to you (or others who later find this thread while searching for a solution), I'll provide instructions for doing that:
Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
A menu will appear on the editor toolbar.
Select the "Preferences: Open Settings (UI)" command from the menu. ⓘ You can scroll down through the list of commands to find it or type the name in the field.
A "Preferences" tab will open in the Arduino IDE main panel.
Type editor.hover.delay in the "Search Settings" field of the "Preferences" tab.
Adjust the value of the field "Editor › Hover: Delay" setting according to your preference for how many milliseconds the mouse pointer must hover over a code object before the the "hover" is displayed.
Close the Preferences tab by clicking its X icon.
"Quick suggestions" are different than the "hover". "Suggestions" is the term used in the Arduino IDE user interface for what would more commonly be referred to as "auto-complete":
The "Quick Suggestions" preference controls whether the suggestion interface appears automatically as you write code (you can also trigger its appearance on demand by using the Ctrl+Space keyboard shortcut).
So disabling the "Quick Suggestions" preference won't provide the solution to the appearance of the "hover" requested by @andre_alm10. However, it is likely that the same people who dislike the unexpected appearance of the hover would also dislike the unexpected appearance of the "suggestion" interface, so the "Quick Suggestions" preference is relevant here (though less likely to be a problem since, unlike the hover, it is disabled by default).
The Arduino IDE developers are tracking this problem here:
If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:
Please only comment on the GitHub issue thread if you have new technical information that will assist with the resolution. General discussion and support requests are always welcome here on the Arduino Forum.