How do I insert a line above in the script editor?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CodeOrange

I’m following GDQuest’s “Make Your First 2D Game with Godot” course and he mentioned a shortcut for the script editor that seemed very useful. He said that you can press CTRL+SHIFT+ENTER to insert a line of text above the one that you’re currently working on. However, when I tried this… nothing happened. I am aware that the tutorial is a bit old so I googled it, but found nothing. Is this still a feature?

The shortcut works here on 3.5 on Linux. Which operating system and keyboard layout are you using?

Calinou | 2022-09-18 10:56

Hmmm… weird. I’m on Windows 10 and I’m just using the regular “QWERTY” layout.

CodeOrange | 2022-09-18 11:20

It works here too (3.5 on Windows 10).

jgodfrey | 2022-09-18 23:04

I’m using Linux, and Ctrl-Shift+Enter does exactly the same thing as Enter on its own.

SteveSmith | 2022-09-20 19:31

That’s really weird because every other shortcut works… maybe I’ll just have to live without it ‍♂️

CodeOrange | 2022-09-20 19:34

I guess emojis don’t work on here lol. Tried to use shrugging emoji and it put the male symbol

CodeOrange | 2022-09-20 19:35

You could just press Up, Enter then Down. Still 3 keys. :slight_smile:

SteveSmith | 2022-09-20 19:36

Not necessarily. It might just go to the middle of the line above and cut it in half

CodeOrange | 2022-09-20 19:38