Can't turn off autocomplete

I'm using Arduino IDE 2.0.3, the latest nightly build. I cannot turn off autocomplete that is very irritating when I just want to add a line of code that I'm totally familiar with (I don't need help). I ticked off the box in Preferences, but autocomplete is still there and the suggestion obscures what I want to type. I have restarted the IDE many times, went through a couple reboots (for other reasons). It is STILL there. How do I shut it off forever?

Hi @queenidog. Would it be possible for you to provide a screenshot of the IDE when it is doing the unwanted "autocomplete"? If you would like instructions for doing that, just tell me which operating system (e.g., "Windows") you are using and I'll provide them.

You can then add the screenshot to a reply here by doing any one of the following:

  • Press Ctrl+V (Command+V on macOS) to paste the screenshot from the clipboard.
  • Save the screenshot as an image and then drag and drop it into a forum reply.
  • Save the screenshot as an image, click the upload button (image) in the post composer toolbar, and then select the image file.
    image

The reason I am requesting a screenshot is because there are actually multiple different features in Arduino IDE that could be described as "autocomplete" and I need to know which of those you are experiencing.

I agree with @queenidog the autocompletes are a pain - one ends up with extra " or ) or } in code
also the popups which appear when when one hovers a function() name are a distraction, e.g.
image

I have File>Preferences Editor Quick Suggestions unticked

I'll provide instructions for disabling this "Editor Hover" feature:

Disabling Hover

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
  3. A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type editor.hover.enabled
  4. Uncheck the box under the "Editor › Hover: Enabled" setting.
  5. Close the Preferences tab by clicking its X icon.

Triggering Hover

Even though it is annoying and distracting to have this "Editor Hover" appear when not wanted just because the mouse pointer happened to be positioned over a hoverable code object, it can 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:

  1. Place the cursor on the code object you want information about.
  2. Press the Ctrl+K keyboard shortcut.
  3. Release the keys.
  4. Press the Ctrl+I keyboard shortcut.
  5. Release the keys.

The hover will now appear.

This is an advanced type of shortcut called a "chord", where you must press and release two separate shortcuts in sequence.

The "Show Hover" keyboard shortcut is configurable. You can change it by opening File > Advanced > Keyboard Shortcuts from the Arduino IDE menus.

Adjusting Sensitivity of Hover

In case you find it useful to trigger the appearance of the "Editor Hover" using the mouse pointer, but want to reduce the number of spurious appearances, you can increase the required duration of mouse pointer hovering before the "Editor Hover" is triggered:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
  3. A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type editor.hover.delay
  4. Adjust "Editor › Hover: Delay" setting according to your preference.
  5. Close the Preferences tab by clicking its X icon.

I couldn’t get a screenshot of the popup, so I took a photograph of it.

Thanks! That is helpful. This thing is called the "Parameter Hint". It can be disabled in the advanced settings:

Disabling Parameter Hint

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
  3. A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type editor.parameterHints.enabled
  4. Uncheck the box under the "Editor › Parameter Hints: Enabled" setting.
  5. Close the Preferences tab by clicking its X icon.

Triggering Parameter Hint

Even though it is annoying and distracting to have this "Parameter Hint" appear automatically, it can sometimes be useful to get information about the code. Even after you disable the "Editor › Parameter Hints: Enabled" setting, you can still manually trigger the appearance of the hint via a keyboard shortcut. I'll provide instructions for that:

  1. Place the cursor inside the parentheses of the function call you want parameter information about.
  2. Press the Ctrl+Shift+Space keyboard shortcut.

The hint will now appear.

The "Trigger Parameter Hints" keyboard shortcut is configurable. You can change it by opening File > Advanced > Keyboard Shortcuts from the Arduino IDE menus.

Thanks, that did it. At first I was confused looking for something that said ‘Command Palette”. And when you say “Select the "Preferences: Open Settings (UI)" command from the menu.” You should say that you should “scroll down to Preferences” .

Thanks for the feedback on my instructions!

Please let me know what you think about this revision:

  1. 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:
    image
  2. 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.
  3. Type editor.parameterHints.enabled in the "Search Settings" field of the "Preferences" tab.
  4. Uncheck the box under the "Editor › Parameter Hints: Enabled" setting.
  5. Close the Preferences tab by clicking its X icon.