Notepad++ select all, multi-line select at end of each line

Solution 1:

I'm afraid there is no such behaviour in Notepad++, but you can do Find/Replace, here is a way to go:

  • Ctrl+H
  • Find what: $
  • Replace with: whatever you want at the end of each line
  • check Wrap around
  • check Regular expression
  • Replace all

Solution 2:

Notepad++ don't has one option/shortcut to easily get multiple carets at the end of several lines.

Remember you need to enable always the Multi-Editing on Settings/Preferences/Editing/Enable Multi-Editing checkbox.

You have 2 options:

Option 1 - Without any extra plugin

  • CTRL+click on each line (it doesn't matter in which part of the line you click) you want to add one caret to the end.
  • When you placed a cursor on each line you want to edit, press END key to move all carets to the end of the line they were placed.

Option 2 - Using BetterMultiselection Plugin

  • Install the BetterMultiSelection Plugin within the Plugins Admin window (on Plugins menu)
  • After the restart of Notepad++ you need to enable the BetterMultiSelection plugin on the plugins menu.
  • Do a column selection with ALT+mouse
  • Press END key.
  • Voila ;-)

Solution 3:

This answer is a bit late, but I hope to be useful...

You could achieve this by Ctrl+Click (with Multi-Editing enabled) at the end of each line you want to manipulate. Then just type whatever you'd like to append. Not so sophisticated, but works for small number of lines.