本文介绍了如何像 Sublime Text 一样在 PyCharm 中包围选定的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以将 PyCharm 配置为能够通过在括号键上键入来用括号括起选定的代码,就像我们使用 SublimText 2 时一样?

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?

推荐答案

我想你想要这样的东西

设置|编辑 |一般 |智能键 -> 输入引号或括号时的环绕选择

这篇关于如何像 Sublime Text 一样在 PyCharm 中包围选定的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 11:18