OBKoro1 / koro1FileHeader

VSCode插件:自动生成,自动更新VSCode文件头部注释, 自动生成函数注释并支持提取函数参数,支持所有主流语言,文档齐全,使用简单,配置灵活方便,持续维护多年。
MIT License
5.65k stars 274 forks source link

vscode 更新版本 1.90.1后,方法注释不可用 #611

Closed Ena-Heleneto closed 1 month ago

Ena-Heleneto commented 4 months ago

vscode 版本

版本: 1.90.1 (user setup) 提交: 611f9bfce64f25108829dd295f54a6894e87339d 日期: 2024-06-11T21:01:24.262Z Electron: 29.4.0 ElectronBuildId: 9593362 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631

config

"fileheader.customMade": { "Author": "git config user.name && git config user.email", "Date": "Do not edit", "LastEditors": "git config user.name && git config user.email", "LastEditTime": "Do not edit", "FilePath": "Do not edit", "Description": "", "custom_string_obkoro1_copyright": "Copyright (c) ${now_year} by git config user.name email: git config user.email, All Rights Reserved." },

flair0626 commented 4 months ago

+1

AaronChuzb commented 4 months ago

+1 用了openark看了这个快捷键被win11 文件资源管理器占用了 image

y4n6 commented 4 months ago

我暂时把快捷键改成ctrl+windows+U了,希望帮到后面来的兄弟们。 屏幕截图 2024-06-25 153221

cfx1999 commented 3 months ago

确实是被占用了

nonlz commented 2 months ago

extension.cursorTip 对应 函数注释 extension.fileheader 对应 头注释 extension.codeDesign 对应 图案注释

keybindings.json 中,添加以下内容即可

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