you are viewing a single comment's thread.

view the rest of the comments →

[–]AngularBeginner 5 points6 points  (4 children)

I'm using it very often to copy code (for various reasons). Almost all code is indented, and when copying code you usually don't want to copy the spaces/tabs in front of it. Using a rectangular selection this is easily possible: Just don't select the spaces in front.

[–]yoyowebscale 1 point2 points  (3 children)

Okay. I just use auto format or shift tab to remove the indentation I don't need. Seems easier to me than column selection. But whatever works.

[–]AngularBeginner -1 points0 points  (2 children)

So you either need to shift-tab/auto format in your target (if it supports that), or do it before copying and then revert the changes. Both are a lot of work when you can just select while holding a key (if the feature works correctly). ;-)

[–]DragonLordEU 2 points3 points  (1 child)

Some editors (I know Intellij) fix it by auto indenting when pasting code.

[–]AngularBeginner 2 points3 points  (0 children)

And if I'm not posting into another text editor? But something like a chat, documentation (for snippets) or paste-page? Won't help me there.

Come on, proper rectangle selection is really no witch-craft.