New Line

Start a new line below or above your current line with the correct indentation.

Press ⇧⏎ (macOS) / Shift+Enter (Windows/Linux) to start a new line. You can do this at the start of a line, the middle of a line or the end of a line, the indentation will always be correct. Alternatively, to start a new line above your current line of code, you can press ⌘⌥⏎ (macOS) / Ctrl+Alt+Enter (Windows/Linux).


Related Resources

Create an Editor Fold
Create an Editor Fold
Create an editor fold to hide parts of your class which can make it more readable.
Extend Selection
Extend Selection
Extend and shrink your current code selection.
Clipboard History
Clipboard History
Paste a subset or multiple entries such as a list from your recent copy history.