Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to surround selected text in PyCharm like with Sublime Text

Is there a way to configure PyCharm to be able to surround selected code with parenthesis by just typing on the parenthesis key, like when we use SublimText 2?

like image 804
Alexis Benoist Avatar asked Sep 26 '22 22:09

Alexis Benoist


1 Answers

I think you want something like

Settings | Editor | General | Smart Keys -> Surround selection on typing quote or brace

like image 229
Arnaud P Avatar answered Oct 11 '22 12:10

Arnaud P