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

throttleTime 1000 和 10000 (具体范围不清楚)会让vscode保存不生效,60000就可以 #623

Open
MiniJude opened this issue Dec 12, 2024 · 0 comments

Comments

@MiniJude
Copy link

MiniJude commented Dec 12, 2024

描述bug(必填)

throttleTime 1000 和 10000 (具体范围不清楚)会让vscode保存不生效(第一次生效,后面不生效,第一次生效可能是扩展正在初始化),60000就可以

注释设置(必填):

VsCode设置:

// 配置填在这里面
"fileheader.configObj": {
      "createFileTime": true,
      "language": {
        "py": {
          "head": "#",
          "middle": "# ",
          "end":"#",
          "functionSymbol": {
            "head": "/** ",
            "middle": " * @",
            "end": " */"
          }
        }
      },
      "autoAdd": false,
      "autoAddLine": 100,
      "autoAlready": true,
      "annotationStr": {
        "head": "/*",
        "middle": " * @",
        "end": " */",
        "use": false
      },
      "headInsertLine": {
        "php": 2,
        "sh": 2
      },
      "beforeAnnotation": {
        "文件后缀": "该文件后缀的头部注释之前添加某些内容"
      },
      "afterAnnotation": {
        "文件后缀": "该文件后缀的头部注释之后添加某些内容"
      },
      "specialOptions": {
        "特殊字段": "自定义比如LastEditTime/LastEditors"
      },
      "switch": {
        "newlineAddAnnotation": true
      },
      "supportAutoLanguage": [],
      "prohibitAutoAdd": ["json"],
      "folderBlacklist": ["node_modules", "文件夹禁止自动添加头部注释"],
      "prohibitItemAutoAdd": [
        "项目的全称, 整个项目禁止自动添加头部注释, 可以使用快捷键添加"
      ],
      "moveCursor": true,
      "dateFormat": "YYYY-MM-DD HH:mm:ss",
      "atSymbol": ["@", "@"],
      "atSymbolObj": {
        "文件后缀": ["头部注释@符号", "函数注释@符号"]
      },
      "colon": [": ", ": "],
      "colonObj": {
        "文件后缀": ["头部注释冒号", "函数注释冒号"]
      },
      "filePathColon": "路径分隔符替换",
      "showErrorMessage": true,
      "writeLog": false,
      "wideSame": false,
      "wideNum": 13,
      "functionWideNum": 0,
      "CheckFileChange": false,
      "createHeader": false,
      "useWorker": false,
      "designAddHead": false,
      "headDesignName": "random",
      "headDesign": false,
      "cursorModeInternalAll": {},
      "openFunctionParamsCheck": true,
      "functionParamsShape": ["{", "}"],
      "functionBlankSpaceAll": {},
      "functionTypeSymbol": "*",
      "typeParamOrder": "type param",
      "customHasHeadEnd": {},
      "throttleTime": 10000,
      "functionParamAddStr": "",
      "NoMatchParams": "no show param"
    },

文件后缀(必填):

vue、js等

预期的行为(必填):

预期希望可以正常保存,同时正常更新fileheader

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