News for hackers. Stuff that matters.
Re:VS Code can do that? by matthewmacleod on Saturday April 21, 2018 @11:52AM (#16891871)
I'm not sure where this feature originated, but it's been a core feature of Sublime for as long as I've used it, and is also broadly available in other editors. Definitely not a VS Code-specific thing, though it's still great!
Re:VS Code can do that? by JonathonW on Saturday April 21, 2018 @02:25PM (#16892589)
I doubt it's where it originated, but I was using multi-select/multi-caret editing in jEdit before Sublime came around.

That and arbitrary window splitting (split any pane horizontally or vertically) are two features I really miss when they're not present. The latter's surprisingly hard to find; Sublime and VS Code don't do it (Atom does).

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.
Re:VS Code can do that? by dexterdog on Saturday April 21, 2018 @12:38PM (#16892086)
Column editing? That was in a shareware text editor that I wrote for Windows in the mid 90s and I didn't invent it.
Re:VS Code can do that? by ehsankia on Saturday April 21, 2018 @03:05PM (#16892808)
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.

Re:VS Code can do that? by setr on Saturday April 21, 2018 @01:04PM (#16892206)
multi-selection; multiple cursors, arbitrary (non-contiguous) columns, arbitrary rows.