Add Carets to End of Lines
Use a shortcut to add carets at the end of each selected line so you can make the same change in multiple places.
With the Add Carets to Ends of Selected Lines action, you can quickly place carets at the end of each selected line. To try it, select some code and press ⌃⌥⇧G (macOS) / Alt+Shift+G (Windows/Linux). Press ␛ (macOS) / Escape (Windows/Linux)when you’re ready to exit the multi-caret editing mode.