So, recent versions of VSCode let you toggle between Alt+LeftMouse and Ctrl+LeftMouse under the Selection menu, as detailed in another answer.Īlternately, you could change your OS key bindings using gsettings as mentioned in another answer.Īdd multiple cursors with Ctrl / Cmd + Click Ubuntu) assign window dragging to Alt+LeftMouse, which will conflict with VSCode. This makes it a lot easier to introduce multiple cursors select 300 lines and only 80 fit in the viewport). If the find widget is open, then the find widget settings (matchCase / matchWholeWord) will be used for determining the next occurrenceĬtrl+U ( Cmd+U on Mac) undoes the last cursor action, so if you added a cursor too many or made a mistake, you can press Ctrl+U ( Cmd+U on Mac) to go back to the previous cursor state.Īdding cursor up or down ( Ctrl+Alt+Up / Ctrl+Alt+Down) ( Cmd+Alt+Up / Cmd+Alt+Down on Mac) now reveals the last added cursor to make it easier to work with multiple cursors on more than 1 viewport height at a time (i.e. More multi-cursor features are now available in Visual Studio Code 0.2:Ĭtrl+D ( Cmd+D on Mac) selects next occurrence of word under cursor or of the current selectionĬtrl+K Ctrl+D moves last added cursor to next occurrence of word under cursor or of the current selection This works on Windows and Linux*, and it should work on Mac, too.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |