Wednesday, December 10, 2014

PyCharm Tip of the Year: Multiple Cursors

Multiple cursors is the best thing to happen to text editing since ed.

Here's how to use them in PyCharm. Two simple rules:

  1. To add a cursor, hold an  ⌥ (Option) key and click on a place where you want to add a cursor.
  2. When done with multiple cursor editing, press Escape and you'll be left with a single cursor.

Here's a short video illustrating this feature:

Note: in this particular use case Rename Refactoring is definitely superior to Multiple Cursors. Still a great feature.

No comments:

Post a Comment