Lots of times I need to paste code from other documents or web pages. They are usually indented with spaces, although in my documents I use tabs – so this code is sloppy looking.
Is there any built-in way or extension to clean this up?
I often resort to find/replace " {4}" / “\t” but it’s a pain and doesn’t do anything for 3 or 2 space indents.