vscode添加python头部注释
依次单击菜单栏 【File(文件)】—【Preferences(首选项)】—【User Snippets(用户片段)】,然后选择【python】后会生成python.json文件将文件内容替换为{"file header": { "prefix": "py", "body": [ "# !/usr/bin/python", "# -*- coding: utf-8 -*-" "\"\"\"", "@File : $TM.
原创
2020-12-21 18:12:48 ·
2127 阅读 ·
0 评论