Closed
Description
Describe the project you are working on
Just messing around in Godot 3.X and 4.0 alpha.
Describe the problem or limitation you are having in your project
I'm used to being able to press Escape to clear my current selection in a code editor.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Having a configurable shortcut for clearing the current selection would be helpful.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
This is something that could be added as it's own shortcut in the Script Text Editor category. Or it could be hooked into the existing ui_cancel shortcut. This would be similar to Evaluate Selection, it just wouldn't move the cursor around.
If this enhancement will not be used often, can it be worked around with a few lines of script?
I'm not sure.
Is there a reason why this should be core and not an add-on in the asset library?
I think most people would appreciate this.