Privacy · Terms of use · Contact ·

About · AskSFer © 2024

Equivalent of VSCode Ctrl + D in PyCharm?


asked 7 days ago





I'm transitioning from Visual Studio Code to PyCharm and I'm trying to find the equivalent of the Ctrl + D shortcut in VSCode, which is used to select the next occurrence of the current word or selection for multi-cursor editing.

Does anyone know what the corresponding shortcut is in PyCharm?


2 Answers

Hey there! Welcome to the PyCharm world! 🎉

I totally get it—transitioning from VSCode can take a bit of adjustment. But no worries, I've got you covered. In PyCharm, you can achieve the same multi-cursor magic as Ctrl + D in VSCode with these shortcuts:

  • Select Next Occurrence: Alt + J
  • Unselect Previous Occurrence: Alt + Shift + J

Just hit Alt + J to select the next occurrence of your current word or selection, and if you go too far, `Alt + Shift + J` will unselect the previous one. It's super handy once you get the hang of it!

Happy coding in PyCharm! 😊


Hope this helps! Let me know if you have any other questions.

To contribute an answer, please

Sign in

Top Questions