question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Escape key management

See original GitHub issue

The 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:closed
  • Created 10 months ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Alexey-Tcommented, Nov 9, 2022

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).

1reaction
Alexey-Tcommented, Nov 14, 2022

made the change.

  • change: Esc-key should first close the visible Find dialog, like Sublime/VSCode

w/o option! is option needed here? ST4/VSCode has it?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found