"Select current line" keyboard shortcut in script editor?

Godot Version

4.2

Question

E.g. “Ctrl + L” in VSCode.

Is there such a thing? I couldn’t find an option for it in Editor -> Editor Settings -> Shortcuts though I might be missing it.

If not, is there an extension that could provide this functionality?

If not, how might I go about making one?

The universal way is Home, Shift + End

1 Like

Is there a way to provide a custom mapping for it in the program? This might be a dumb question but I don’t think my laptop keyboard has those keys?

Is there a specific reason you need it?
If there’s nothing selected ctrl+c will copy the current line, ctrl+x will cut it, ctrl+shift+k will delete. Alt+up or down to move the line.
No need to select it for any of these operations.

2 Likes

THANK YOU!!! I was thrown off by the fact that the selection doesn’t get highlighted in the editor but this is exactly what I was looking for.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.