The autocomplete and popup hints are most annoying. I am told that they come from Intellisense.
Hi @SteveMann. You can control the behavior of the language server-based features (AKA "IntelliSense") via the Arduino IDE advanced settings. I'll provide instructions you can follow to disable the automatic appearance of popups, etc. generated by these features:
- 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 command name in the field.
A "Settings" tab will open in the Arduino IDE main panel. - Type
editor.hover.enabledin the "Search Settings" field of the "Settings" tab. - Uncheck the box under the "Editor › Hover: Enabled" setting.
- Type
editor.inlineSuggest.enabledin the "Search Settings" field of the "Settings" tab. - Uncheck the box under the "Editor › Inline Suggest: Enabled" setting.
- Type
editor.parameterHints.enabledin the "Search Settings" field of the "Settings" tab. - Uncheck the box under the "Editor › Parameter Hints: Enabled" setting.
- Type
editor.suggestOnTriggerCharactersin the "Search Settings" field of the "Settings" tab. - Uncheck the box under the "Editor: Suggest On Trigger Characters" setting.
- Close the Settings tab by clicking its X icon.
I believe that will disable most, if not all, of the appearances that might annoy you. The other significant feature is "Quick Suggestions". However, this is disabled by default. Just to be sure, you might want to check to make sure you didn't enable it at some point. The setting for this feature is exposed in the primary Arduino IDE preferences:
- Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Verify that the box next to "Editor Quick Suggestions" in the "Preferences" dialog is unchecked.
- Click the "OK" button.
The "Preferences" dialog will close.
After making these adjustments to the settings, if you still encounter the unwanted appearance of any elements, you can post a screenshot in a reply here and we'll try to track down the relevant setting for you.
Note that although the automatic appearance of these elements can be quite distracting/annoying to some of us, we also might find the features to be useful in some cases. If so, it is important to understand that you can trigger the appearance on demand. This can be done via a keyboard shortcut. You can determine or customize the keyboard shortcuts using the interface accessed via File > Advanced > Keyboard Shortcuts in the Arduino IDE menus.
Just out of curiosity, why does intellisense bother you? It's just a "suggestion," it doesn't automatically modify the code, and it's useful in many cases...
It puts a popup on top of the code I’m trying to read and I have to press ‘esc’ to clear the popup.
+1 What @herbschwarz said.
Wow, thanks. I’ve been using V1 of the IDE for more years than I can remember and only recently decided to start using V2. (Because I couldn’t get V1 to work on my Linux Laptop, but V2 works just fine).
It was becoming a productivity loss when trying to make a few tweaks to code only to have my work covered by pop-ups. Again, your prompt reply is greatly appreciated.
You are welcome. I'm glad if I was able to be of assistance.
Regards, Per
I'm sorry, but I'd like to understand better, since it's never particularly bothered me.
When I hover the mouse over a function or keyword (e.g., "println()" or a variable) with the mouse, it shows me a pop-up with its definition, which I find useful. To avoid it, just don't hover over it.
If you're talking about "suggestions" while typing, I also find those very useful and practical (Ctrl-space and autocompletes for me) and in any case, I rarely need to read the following lines of code (and if I do, pressing Esc doesn't seem very annoying to me), and, besides, it's similar to Visual Studio's behavior so I find that feature very practical when programming...
Obviously it's a matter of personal taste, so I don't want to argue about other preferences (I heard someone saying "opinions are like Christmas balls, everyone has their own"
). So if you've found the solution, good for you, no problem, I just wanted to share my point of view.
Enjoy this IDE and have good coding!
For me, the problem is it is distracting. When writing code, I am often in a state where the work is generating a deep stack of ephemeral ideas in my mind. I am focusing at the code currently being typed, while also holding the other associated tasks and inspirations that have been generated by the work at hand in my short term memory.
When some user interface appears while I am writing code, it slightly interferes with my focus. This can break my chain of thought and risk me losing some of the ideas that I was holding in my mind. I am a fast typist, and most often I know exactly what I need to type, so I would have finished typing before I could have selected the appropriate item from the interface. So it does harm without providing any benefit.
In the event I am not sure of the exact name I need to write, it can be useful. However, in this case I don't mind triggering the appearance of the suggestion interface manually. The extra time to press the keyboard shortcut to trigger the suggestion is insignificant for this use pattern where the feature is used infrequently.
I don't mind the "editor hover" feature so much. However, it is sometimes distracting or annoying when it appears by chance just because I happen to have left the mouse pointer over an object. So I would generally prefer to disable that feature as well and trigger the hover on demand.
All that said, I actually leave my Arduino IDE installation with completely vanilla settings so that I can reproduce the environment of the average user, and thus be most effective in my support and beta testing work. And I find Arduino IDE to be quite usable even with the features enabled. However, if I only used the IDE for developing my own sketch projects then I would definitely disable these settings. I have done so in VS Code, which I use for development of non-sketch projects.
I understand, I'm an experienced programmer (I'm 66, I started with Basic and Clipper...), but everyone has their own programming style and way of thinking, so in my case, I don't really need that IntelliSense. Still, I don't find it annoying; in fact, I find it useful in some (few) cases, especially when working on something new to me.
In any case, the settings allow each user to customize the IDE based on their needs and preferences, so no problem, that's good. ![]()
I actually use it all the time.
However, the constant popups annoyed me endlessly. I solved that by changing the delays before the popup from the almost instant 300ms to 1.2 or 1.5 seconds. Things are very useable with that. If I need the function a hover the cursor a bit and it pops up.
That's a good point!
