Remove newlines from selected code (Shortcut)
Answered
So I'd like to do something like this, that when I have the code below I can select it and with a shortcut. Make it to be in one line something like (Snippet 2).
(\foo ->
Component.add foo
bar
baz
)
Snippet 2:
(\foo -> Component.add foo bar baz)
Please sign in to leave a comment.
You can try using Ctrl + Shift + J shortcut.
The action is called Join Lines in keymap settings. (Settings/Preferences | Keymap)