/VSCode-CopySelectionWithMinimalIndention

Copies text and strips common prefixed whitespace from it so you can paste it nicely into a chat/forum

Primary LanguageTypeScriptMIT LicenseMIT

Copy Selection With Minimal Indention README

Features

This extension allows you to copy part of your source code in a way that allows you to paste it nicely into a chat message or a forum. It will strip away any common prefixed whitespace/characters and works with disjoined selections. Simply use instead of a normal copy selection command.

example.mp4

Release Notes

1.0.2

Updates dependencies and cleaned up unused stuff

1.0.1

Added a second command that surrounds the copied lines with triple backticks and language id

1.0.0

Initial release