12

I love multiple cursors in Sublime Text and was wondering if there was anything close to equivalent in PyCharm. I haven't been able to find anything other than Extract Variable which kind of does something similar I suppose, but it's definitely not the same thing.

I want to able to press Ctrl-D (obviously not that specific combination necessarily) and be able to highlight subsequent occurrences for quick modification.

2 Answers 2

11

This is an old thread, but I thought I should mention that, after a mere four years, the pycharm EAP release includes multiple cursors.

5
  • 1
    Link to a blog post on usage for anyone interested: blog.jetbrains.com/ruby/2014/03/…
    – hfaran
    May 19, 2014 at 4:10
  • 2
    Now, if I could only import my Sublime Text key bindings, I'd be set.
    – blackappy
    May 19, 2014 at 13:40
  • 7
    Ctrl+G & Ctrl+Shift+G is the equivalent of Cmd+D/Ctrl+D in Sublime Text. It has the added advantage that Ctrl+Shift+G unselects the last selection, in case you go too far :o) Jun 8, 2014 at 14:55
  • 3
    @BorisChervenkov Sublime Text can do that as well with Ctrl-U. :) Also, Alt-J is also mapped to do selections in PyCharm.
    – hfaran
    Jun 12, 2014 at 4:59
  • Currently, ctrl L skips between occurences alt J keeps selecting multiple occurences and ctrl shift j unselects
    – borgr
    Sep 10, 2017 at 7:30
1

This feature is available in PyCharm now! Please, see PyCharm web help: http://www.jetbrains.com/pycharm/webhelp/multicursor.html

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.