EdgeOps lets you quickly append or remove characters at the start or end of all lines or specified lines in VS Code.
Supports both unconditional and conditional actions (only add/remove if missing).
Features
Append any character(s) to the end of all lines
Append any character(s) to the end of all lines (If Missing)
Append any character(s) to the end of specified lines
Prepend any character(s) to the start of all lines
Prepend any character(s) to the start of all lines (If Missing)
Prepend any character(s) to the start of specified lines
Remove ending character(s) from the end of all lines (If Missing)
Remove starting character(s) from the start of all lines (If Missing)
Remove First Character of all lines
Remove Last Character of all lines
Usage
All commands are available via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P on Mac).
Add Text to End:
Appends text to the end of every selected line
Add Text to End (If missing):
Appends text only if the line doesn’t already end with it
Add Text to Start:
Prepends text to the start of every selected line
Add Text to Start (If missing):
Prepends text only if the line doesn’t already start with it
Add Text to End of Specified Lines:
Specify line numbers to append text to
Add Text to Start of Specified Lines:
Specify line numbers to prepend text to
Remove First Character:
Deletes the first character of each selected line
Remove Last Character:
Deletes the last character of each selected line
Remove Starting Text (If Present):
Removes specific text from the start if it exists
Remove Ending Text (If Present):
Removes specific text from the end if it exists
Requirements
No additional requirements. Works with VS Code 1.85.0 or later.
Release Notes
1.0.0
Initial release of EdgeOps.
Append or Prepend character(s) to selected lines or specified line ranges.
Remove character(s) from either the start or end of all lines.