AAorris / vscode-add-line-break

Visual Studio Code package to add line breaks before/after selections

Home Page:https://marketplace.visualstudio.com/items?itemName=dorian-marchal.add-line-break

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add line break

This extension adds two commands:

  • "Add new line before selection" (extension.addNewLineBeforeSelection): adds a new line before every selection.
  • "Add new line after selection" (extension.addNewLineAfterSelection): adds a new line after every selection.

You can use them via the command palette (e.g. Ctrl + Shift + P, "Add new line before selection") or with these two keybindings:

  • Ctrl + Up ("Push selection up"): extension.addNewLineAfterSelection
  • Ctrl + Down ("Push selection down"): extension.addNewLineBeforeSelection

If needed, you can rebind these shortcuts with Ctrl + Shift + P, "Open Keyboard Shortcuts" (search for "add new line").

About

Visual Studio Code package to add line breaks before/after selections

https://marketplace.visualstudio.com/items?itemName=dorian-marchal.add-line-break

License:MIT License


Languages

Language:TypeScript 100.0%