2

When I'm writing code on my editor and I need to skip or close IntelliSense suggestions, I press the Esc key in order to keep writing freely. So, I've got this habit of writing some stuff and automatically pressing the Esc key at some points, because I know that Visual Studio Code is going to autosuggest some options and I want to close them and keep writing.

But when I'm writing in the Code Snippet editor here on Stack Overflow and I press the Esc key by the force of habit (which happens quite often), I get stuck in this infinite popup loop. Because pressing the Esc key again does not get you out of the popup. It reappears immediately. So I've got to grab the mouse and click on "Cancel"

Could this be fixed somehow? Maybe add a user setting option where you could disable the Esc behavior when the snippet editor is opened?

Enter image description here

Browser: Chrome 88
Windows 10

3
  • 2
    Because pressing the Esc key again does not get you out of the popup It does seem to get me out of popup in firefox
    – Suraj Rao
    Commented Jan 30, 2021 at 11:58
  • @SurajRao Sorry I didn't mention that. I'm using Chrome Desktop 88 on Windows 10. Commented Jan 30, 2021 at 11:59
  • 1
    I have a userscript that incidentally fixes this by disabling the Esc key entirely. Commented Jan 30, 2021 at 14:30

0

Browse other questions tagged .