Chrome Devtools console autocomplete issue

Viewed 890

When I type into console and there is a list of suggestions, if I press Enter then the first option is selected. I want pressing Enter to just run the code as it is and the suggestions to be inserted only if I press Tab. Is this possible?

2 Answers

You can turn of Autocompletion in the Dev Tools settings.
However, it is only possible for the Sources tab and not for the console
(go to Sources and check of the box Autocompletion).

What worked for me was starting the habit of always ending a line with ; before pressing Enter.

You can escape the autocomplete by pressing arrow left, or Esc.

Very annoying, I have for habit to press right, but that only selects the autocomplete. Like 30 times and my habit persists. Maybe I will learn it now.

Related