![]() So I would say the moving around thing I have internalized and I'm trying to remember that adding shift gives, it is stamping that all over the place. If I add shift to that and hit down I'm copying this line. So here is how I like to remember it, if I hold down option, I can use the up and down arrows to move this line wherever I wanna move it. I want to know if this is possible in vs code. But I would like to add increased number by some shortkey so that I don't need to update each one manually. Like there are people who you could steal their mouse for a day and they wouldn't even notice, I am not one of those people. I want to add increased number for multi selected caret in visual studio code. Even alt-click in visual studio code is sometimes extremely. Most of it is not stuff that I would end up using. Ctrl-D in visual studio code and alt-J in jetbrains are some of my most used key combinations. All right, so line manipulation and this is a subset but I feel like it's the attainable subset for line manipulation. It 'd be really nice to bring it all at once. And in this case that particular term is probably used 30 times in this file. ![]() > Mike: Well, sorry I messed it up there, but effectively we were able to grab everything and then get rid of this one and that one there. > Mike: Select everything and then we on click. Control command g, so I could say get everything but remove just that one there. So you could select everything, like we could do this what was it, I haven't internalized this one yet. And I alt click on this, it'll actually get rid of the selection as well not just the cursor which is exactly what we would want in this case. And it appears to also work with like if we have that multi selection going on here. And I will update this that option click also remove a cursor if you click on that exact cursor. The values are preserved on a per cursor basis. It kind of remembers that each cursor gets to hold onto it’s own value, and then when you paste it out it goes. So while I would go back here and type like li and everyone gets the same thing, I can actually grab all of this, cut it move my cursor into the middle and paste. It's almost like each cursor get to do in a little slot and a clip board. Select them, one of the cool things about multi-cursor support and this works as it does in other browsers. So I could just drag a line of cursors here. > Mike: Like one, two, three, it looks I already did example last night. Really nice for Like if you wanted to grab a bunch of HTML elements and like embed them, or you have a list of items. Alt+Shift and then you can drag up and over like this. > Mike: Sorry it is fooling me by highlighting in kind items. ![]() And that let's us do something like this. The way I remember this is, it's multi cursor with Shift. ![]() It was just placing cursors, right? If we alt click, it's just those individual positions. Option and click is how we got those little cursors and without the Cmd+D thing. Delete the part of the line from the left side of the visual line the cursor is on to the cursor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |