OBKoro1/koro1FileHeader

头部注释显示问题

Closed this issue · 1 comments

你好,我这边将"fileheader.customMade": {}, 配置为空,然后设置了"beforeAnnotation": {"py": "# coding: utf-8\n#“},期望是只显示beforeAnnotation内的内容,但实际上创建新文件一直是这样的

coding: utf-8

Author:。。。
Date:。。。
LastEditors: 。。。
LastEditTime: 。。。
FilePath: 。。。
Description: 这是默认设置,请设置customMade, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

请问我要怎么设置才能不显示author这些,只显示# coding: utf-8 这一行就好了呀

hi 你好,你可以设置custom_string_obkoro1设置一个\n换行,或者空行之类的, 因为你至少需要设置customMade一个选项。否则插件将会有一个默认模板。
如图,请在wiki中查找相关配置:
image

如果觉得插件还不错的话,就点个star吧~