PyCharm中自定义后缀模板
下载插件
Custome Postfix Templates在文件路径
C:\Users\24563\AppData\Roaming\JetBrains\PyCharm2021.1\plugins\intellij-postfix-templates_templates\ templates\python中新建文件python.postfixTemplates模仿
Custom Postfix Templates中给出的示例编写模板# .type表示输入.type后缀 # :Type of value表示对.type功能的解释 .type : Type of value ANY → type($expr$)