Split selection into multiple selections of each line?


If you have multiple lines selected as 1 selection, is there a way to split it into multiple selections of each line? Not seeing it in https://www.jetbrains.com/help/rider/Multicursor.html#column_selection

In Sublime Text it's Ctrl+Shift+L


"To select multiple regions using the keyboard, select a block of text, then press Ctrl+Shift+L to split it into one selection per line."

Thank you

Comment actions Permalink

Hello Danny,

In Rider there is a similar action named Add Carets to Ends of Selected Lines. You can change a keyboard shortcut for in via File | Settings | Keymap.

Comment actions Permalink

Many thanks, it do the trick ! Useful when need to add a tab in front of many :

1. Select code

2. Do the shortcut like described upper

3. Hit HOME to move the caret in front of lines

4. Hit TAB (as many times you want)

What a time saver. Now your html in php code is well aligned !


Please sign in to leave a comment.