Add Line After/Before

Smart-add a line, from the middle of a line, after or before the current line.

Florin Pățan
editing    go   

Language-aware line adding, no muss no fuss.

How to use: Press ⇧⏎ (macOS) / Shift+Enter (Windows/Linux), and you can add a line and place the cursor on it.

Press ⌘⌥⏎ (macOS) / Ctrl+Alt+Enter (Windows/Linux) to add a line above.

See Also

Related Resources

Improve Code Readability and Navigation
Discover how to manage code visibility with code folding in Go
Create a function in another package
Type a non-existing function name and generate its implementation in a package of your choice
Empower your `Printf`-like functions with coding assistance
Provide hints and highlights for message formats in custom `Printf`-like functions