-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancement[WHAT] New feature, idea, concept[WHAT] New feature, idea, conceptprogrammer[SCOPE] It is for the (maybe professional) programmer[SCOPE] It is for the (maybe professional) programmertools and libraries[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.
Description
As a programmer I would like to have a convenience shortcut to start a new line of code above the current line without leaving the keyboard or having to use the cursor keys to first get to the right position to start a new line above.
When automatic indentation is enabled, the newly opened line should be indented as appropriate to the line above.
Example:
line one.
lin|e two.
^---- cursor
Press Cmd+Enter (or a similarly reachable shortcut):
line one.
|
^---- cursor
line two.
The behavior should be roughly equivalent to moving the cursor to the end of the line above the current one, then pressing Enter.
Eclipse has a similar shortcut. In vim it exists as the command O. It can be useful at times, for example if you want to introduce temporary variables or want to add a comment above the current line.
Metadata
Metadata
Assignees
Labels
enhancement[WHAT] New feature, idea, concept[WHAT] New feature, idea, conceptprogrammer[SCOPE] It is for the (maybe professional) programmer[SCOPE] It is for the (maybe professional) programmertools and libraries[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.