sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
49 stars 0 forks source link

Remove extra tabs/spaces at the beginning of a copied code #348

Open VitalRus95 opened 2 months ago

VitalRus95 commented 2 months ago

Imagine you have a code like this: изображение

And you want to copy it to show to someone else but it has leading spaces/tabs that make you either send an ugly code or use Shift+Tab and then Tab/Ctrl+Z to make things right. It will be cool if SB removes such extra spaces while keeping the inner indentations. Maybe it is achievable by counting the amount of spaces before the actual text and removing the same amount in each line.

Thanks!