Escape key management
See original GitHub issueThe behavior of the Escape
key is a bit inconsistent right now:
- in the editor, it does nothing
- in the search dialog, it hides it
- in the Console/Output/Validate/Terminal panel, it gives the focus back to the editor and let the panel open
Maybe we could match the behavior of the other editors:
- in the editor, successive uses of the
Escape
key should, in order :- close the find dialog if it’s open
- close the Console/Output/Validate/Terminal panel if one is open (*)
- close the application if ui_esc_close is set to true
- in the search dialog, it should close it
- in the Console/Output/Validate/Terminal panel, it should close it (*)
(*) by the way, the option ui_esc_close_console doesn’t seem to do anything.
What do you think?
Issue Analytics
- State:
- Created 10 months ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Esc key: Escape key functions and key combinations - IONOS
The Esc key, simply “Esc” on a keyboard, is a control key. Like the function keys or the Alt and Ctrl keys, it...
Read more >Esc key - Wikipedia
On computer keyboards, the Esc key Esc is a key used to generate the escape character (which can be represented as ASCII code...
Read more >Escape key closes Task Manager - Microsoft Community
Windows 7 Profesional. Today, while in-game 'Diablo 2' I pressed the esc key and it closed the game. Then I opened the task...
Read more >What is the Escape Key (ESC)? - Definition from Techopedia
The escape key (ESC) on a keyboard is a specific standardized part of the programming characters routinely accepted by a computing system through...
Read more >How to Type the Escape Key on iPad Keyboard | OSXDaily
Pressing Control and [ will achieve the ESC escape key function on many keyboard and with many apps on iPad, including with the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I doubt about “close sidepanel / bottom panel on Esc”. because I want to show sidepanel / bottompanel on next start. i want to show panels always. they must not be closed (for me).
made the change.
w/o option! is option needed here? ST4/VSCode has it?