Re:VS Code can do that?
by jobigoud on Saturday April 21, 2018 @12:08PM
(#16891945)
I believe Sublime introduced the feature. I looked it up and it was already present in the first release on January 18, 2008.
[ Parent
| on HN ]
Column editing? That was in a shareware text editor that I wrote for Windows in the mid 90s and I didn't invent it.
Editors like n++ have column editing, but Sublime takes it to a different level. It's most generalized, it's multi-cursor.
You can for example put your cursor on a word, spam ctrl+d (of press alt+f3) to select all instances of that word, and start editing them all at ones, no matter where they are. They don't have to be perfectly in a column. You can also copy X items from anywhere, and if you have X cursors again somewhere else and paste, they'll each go in their respective slot.