PyCharm将选中的内容加上引号

正常情况下,选中一段内容,再按引号,内容会被替换为引号

想要将选中的内容不被替换为引号,而在内容的两端加上引号,只需设置一下即可

File  -->  Settings  -->  Editor  -->  General  -->  Smart Keys  

勾选 Surround selection on typing quote or brace 

猜你喜欢

转载自www.cnblogs.com/jiyu-hlzy/p/11839138.html