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.


Related Resources

Clean Up Messy Imports With Optimize Imports
Clean Up Messy Imports With Optimize Imports
Quickly remove any unused imports and more.
Add console.log Faster
Add console.log Faster
Use Postfix Completion to quickly add console.log.
Find in Path with the Navigation Bar
Find in Path with the Navigation Bar
Use the Navigation bar and Find in File together and be faster than all of your team members.