Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Insert New LineNew to Visual Studio Code? Get it now.
Insert New Line

Insert New Line

Victor Teo

|
1,059 installs
| (0) | Free
Insert new line with any key stroke.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Insert New Line

Insert new line character with any keystroke. Multiple cursors are supported.

By default, Insert New Line doesn't bind to any key bindings. It's user's right to decide which command goes to which key binding. This is a very handy editor command, you may not want to invoke it through command palette.

If you are an previously emacs user, you may want to add these to your keybindings.json.

{
  "key": "ctrl+j",
  "command": "insertNewLine",
  "when": "textInputFocus && !editorReadonly"
}

Need Help?

Open an issue here.

LICENSE

MIT @ Victor Zhang

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft