News for hackers. Stuff that matters.
Re:VS Code Roadmap 2018 by sambeau on Wednesday November 01, 2017 @06:16AM (#15599946)
My main wish for VS Code is 'proper' multiple cursors (where by 'proper' I mean 'works the way I expect' which is the Sublime Text way).

I fully understand that if you come from a world of 2D blocks (or regions) where you can select rectangles then VS Code's way of doing things makes sense but I am so used to having multiple identical cursors and being able to swipe vertical lines through tables of text or more often down the ragged right hand side that I find VS Code frustrating for hard-core text editing.

I seem to start every new project using it and I love its language-specific coding tools (and how it handles extensions) but as soon as I need to do a large edit on a nasty piece of text I find myself switching back to Sublime.

(I will of course give it another go as soon as I start another new project)

Re:VS Code Roadmap 2018 by Already__Taken on Wednesday November 01, 2017 @07:19AM (#15600213)
shift+alt click seems to behave just like sublime does, I left sublime a long time ago, I'm not sure what you're trying to describe there?

Do you mean because it selects the rectangle? Just hit an arrow key.

Re:VS Code Roadmap 2018 by sambeau on Wednesday November 01, 2017 @02:02PM (#15603830)
Last I tried you couldn't scrape down the right side of the ragged edge. I'll try it out again as maybe it's fixed.

I also found the 'extra' cursors too faint previously. Hopefully that's been improved too.

I'll give it a go as there's so much to like about it.

Re:VS Code Roadmap 2018 by Already__Taken on Thursday November 02, 2017 @07:09AM (#15609325)
Ah I see what you mean.

I wouldn't call that a problem per-se. It draws a cursor where there it text to draw one. This makes sense to me as I can edit a column of values and not pick up already empty columns.

To do what you want I'd just multi-cursor the start of all the lines and hit end. Usually ctrl+arrow over word boundaries gets anywhere I need after that.

Anything fancier still I've just written a regex instead.

Could certainly be a preference option to enable blank lines on multiple cursors. it would have to fill the white space.

Re:VS Code Roadmap 2018 by sambeau on Wednesday November 01, 2017 @02:10PM (#15603912)
I've tried it and there is still a problem: the cursors draw from wherever the previous cursor was. This makes it impossible to draw a line of cursors vertically through your text without first placing a single cursor at either the top of the bottom of where you want to draw the line. So instead of click-drag (with a modifier key) you have to click-click-drag (with a modifier key).
Re:VS Code Roadmap 2018 by Already__Taken on Thursday November 02, 2017 @07:10AM (#15609330)
I do find the click-click drag annoying too.
Re:VS Code Roadmap 2018 by sambeau on Wednesday November 01, 2017 @02:15PM (#15603966)
I've also tried to put cursors along a ragged right edge and that doesn't work as it tries to create a rectangular selection. It looks like its worked but as soon as you hit a cursor key the cursors try to line up and you end up with cursors at odd positions. Very odd.
Re:VS Code Roadmap 2018 by jameshart on Wednesday November 01, 2017 @08:23AM (#15600494)
Right- or ‘end’ to get cursors onto the end of every line
Re:VS Code Roadmap 2018 by alexdima on Thursday November 02, 2017 @10:21AM (#15610604)
Hi, I'm a VS Code developer.

Can you please open a new issue and describe "as you would to a five year old" what's not working as expected.

Even from reading this comment thread I simply don't get it, so it might be something very easy to fix, once I do understand what it's about.

Thank you for your patience! :)

Re:VS Code Roadmap 2018 by sambeau on Thursday November 02, 2017 @10:23AM (#15610621)
Whoop! Would love to—thanks for your time :)
Re:VS Code Roadmap 2018 by chrismbarr on Wednesday November 01, 2017 @07:14AM (#15600192)
I haven't used Sublime in years now, but that was one huge feature I think about and miss often when in VSCode. I'm glad VSCode does have the current implementation of multiple cursors, and the way Sublime did it differently is subtle, but man it makes a huge difference!