Reputation: 125
In IntelliJ, if you double click after open flower bracket ({), it automatically highlights the entire reachable code block. Is there a similar shortcut present in PyCharm where I can highlight blocks of code post a colon is encountered (like for loops, function defs, etc.)
Upvotes: 1
Views: 917
Reputation: 1932
You can use Alt+Up for incremental selection. If you want to select the whole method, you can do Ctrl+Up then Alt+Up
https://www.jetbrains.com/help/pycharm/selecting-text-in-the-editor.html
Upvotes: 0