Pycharm 函数注释

1 Docstring format

File -> Settings -> Tools -> Python Integrated Tools -> Docstrings -> Docstring format,选择google

File -> Settings -> Editor -> General -> Smart Keys -> Insert type placeholders in the documentation comment stub

2 Live Templates

File -> Settings -> Editor -> Live Templates

添加方式如下:

复制代码
进入 Live Templates 设置页面,点击右方加号,添加 Template Group,再添加 Live Template
在下方添加 Abbreviation(快捷键缩写),Desctiption (快捷键描述)
  1. 在下方添加 Applicable(可应用的语言范围)
相关推荐
Lucky小小吴几秒前
ClamAV扫描速度提升6.5倍:服务器杀毒配置优化实战指南
java·服务器·网络·clamav
handsome_sai6 小时前
【Java 线程池】记录
java
程序员码歌6 小时前
短思考第261天,浪费时间的十个低效行为,看看你中了几个?
前端·ai编程
Swift社区6 小时前
React Navigation 生命周期完整心智模型
前端·react.js·前端框架
大学生资源网6 小时前
基于springboot的唐史文化管理系统的设计与实现源码(java毕业设计源码+文档)
java·spring boot·课程设计
若梦plus6 小时前
从微信公众号&小程序的SDK剖析JSBridge
前端
guslegend7 小时前
SpringSecurity源码剖析
java
用泥种荷花7 小时前
Python环境安装
前端
Light607 小时前
性能提升 60%:前端性能优化终极指南
前端·性能优化·图片压缩·渲染优化·按需拆包·边缘缓存·ai 自动化
Jimmy7 小时前
年终总结 - 2025 故事集
前端·后端·程序员