windows11,vscode1.89.0版本,函数注释快捷键不起作用
描述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
你得到的注释(必填):
你生成的注释为:
// 注释贴在这里面
也可以贴上截图:
预期的行为(必填):
预期得到的注释/行为:
// 预期行为的注释贴在这里
也可以贴上截图:
屏幕截图(选填)
问题相关(选填)
在这里添加关于这个问题的任何其他上下文。
错误日志(选填):
我也是不生效,头部倒是可以
vsc 1.90.1 检查发现默认快捷键中有这玩意:
{ "key": "ctrl+win+t", "command": "extension.cursorTip", "when": "editorTextFocus" },。
尝试使用keybindings.json覆盖掉这个失败:
[ { "key": "ctrl+win+t", "command": "extension.fileheader", "when": "editorTextFocus" }, ]
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可以正常使用,我现在是使用这个版本,不升级
换成ctrl+windows+其他未占用快捷键就能用了
vsc 1.90.1 检查发现默认快捷键中有这玩意:
{ "key": "ctrl+win+t", "command": "extension.cursorTip", "when": "editorTextFocus" },。尝试使用keybindings.json覆盖掉这个失败:
[ { "key": "ctrl+win+t", "command": "extension.fileheader", "when": "editorTextFocus" }, ]
还是不生效
https://github.com/OBKoro1/koro1FileHeader/issues/611#issuecomment-2303959758
此法可行