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

windows11,vscode1.89.0版本,函数注释快捷键不起作用 #609

Open
wekerSnail opened this issue May 29, 2024 · 3 comments
Open

windows11,vscode1.89.0版本,函数注释快捷键不起作用 #609

wekerSnail opened this issue May 29, 2024 · 3 comments

Comments

@wekerSnail
Copy link

描述bug(必填)

windows11,vscode1.89.0版本,函数注释快捷键(ctrl+windows+t)不起作用,并且查看快捷键设置中也没有对应可以配置的地方

注释设置(必填):

VsCode设置:

   "fileheader.configObj": {
        "autoAdd": true,
        "createHeader": false,
    },
    "fileheader.customMade": {
        "Author": "name",
        "Description": "",
        "Date": "Do not edit",
        "LastEditTime": "Do not edit",
        "FilePath": ""
    },
    //自动生成注释插件  函数注释
    "fileheader.cursorMode": {
        "description": "",
        "Author": "name",
        "param": "",
        "return": ""
    },

文件后缀(必填):

如:test.js 的后缀为 js

你得到的注释(必填):

你生成的注释为:

// 注释贴在这里面

也可以贴上截图:

预期的行为(必填):

预期得到的注释/行为:

// 预期行为的注释贴在这里

也可以贴上截图:

屏幕截图(选填)

image

问题相关(选填)

在这里添加关于这个问题的任何其他上下文。

错误日志(选填):

怎么生成错误日志?

@JI4JUN
Copy link

JI4JUN commented May 30, 2024

我也是不生效,头部倒是可以

@zealX
Copy link

zealX commented Jun 14, 2024

vsc 1.90.1 检查发现默认快捷键中有这玩意:

{ "key": "ctrl+win+t",            "command": "extension.cursorTip", "when": "editorTextFocus" },。

尝试使用keybindings.json覆盖掉这个失败:

[ { "key": "ctrl+win+t",            "command": "extension.fileheader", "when": "editorTextFocus" }, ]

@wekerSnail
Copy link
Author

vsc 1.90.1 检查发现默认快捷键中有这玩意:

{ "key": "ctrl+win+t",            "command": "extension.cursorTip", "when": "editorTextFocus" },。

尝试使用keybindings.json覆盖掉这个失败:

[ { "key": "ctrl+win+t",            "command": "extension.fileheader", "when": "editorTextFocus" }, ]

回退到4.9.2可以正常使用,我现在是使用这个版本,不升级

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

3 participants