Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法关闭为后缀为drawio的文件自动添加文件头 #616

Open
LumaFilter opened this issue Aug 11, 2024 · 0 comments
Open

无法关闭为后缀为drawio的文件自动添加文件头 #616

LumaFilter opened this issue Aug 11, 2024 · 0 comments

Comments

@LumaFilter
Copy link

描述bug(必填)

最近在使用vscode的drawio画图插件,会用到后缀为drawio的文件,这种文件是没办法添加文件头的,也不用加,所以我在fileheader设置中prohibitAutoAdd里填了drawio,但似乎没起作用,还是一直报错。

注释设置(必填):

VsCode设置:

        "autoAdd": true, // 检测文件没有头部注释,自动添加文件头部注释
        "autoAddLine": 100, // 文件超过多少行数 不再自动添加头部注释,这样即只允许文件自动添加头部注释一次
        "autoAlready": true, // 只添加插件支持的语言以及用户通过`language`选项自定义的注释
         // 自动添加头部注释黑名单
         "prohibitAutoAdd": [
            "json",
            "drawio"
          ],

文件后缀(必填):

drawio

你得到的注释(必填):

你生成的注释为:

无。

预期的行为(必填):

不自动为后缀为drawio的文件添加文件头。

屏幕截图(选填)

在我编辑后缀为drawio的文件时,一直报错:
image
image

问题相关(选填)

错误日志(选填):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant