Arduino IDE 2 introduces an autocomplete feature for writing your code. Follow these steps to enable the feature.
-
Open the IDE.
-
Open the Preferences window from the menu bar:
-
Windows/Linux: File > Preferences
-
macOS: Arduino IDE > Preferences[1]
-
-
Check the Editor Quick Suggestions.
-
Click OK to save.
Autocomplete is now enabled: