在输入文本或字符串后插入括号或引号

时间:2018-04-01 11:53:32

标签: python pycharm anaconda

考虑以下命令:

print (help me insert quotes after i have typed)

print "help me insert parentheses after i have typed"

我希望这些格式正确,比如说

print ("help me insert quotes after i have typed")

print ("help me insert parentheses after i have typed")

有没有办法选择文字,然后输入括号而不必剪切,输入括号然后粘贴回来?

我使用所有这些:Anaconda,PyCharm,Python

1 个答案:

答案 0 :(得分:1)

以下是您正在寻找的确切答案

How to surround selected text in PyCharm like with Sublime Text