Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>snipgeneratorNew to Visual Studio Code? Get it now.
snipgenerator

snipgenerator

Eric000

|
16 installs
| (0) | Free
A snippet generator for C++
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

一个可以自动注释的vscode插件

使用说明: 1.在文件的任意位置按下cmd+J或者ctrl+J会在文件最开始加入头文件,比如 J

2.将光标定位到函数的名称位置按下cmd+K或者ctrl+K会在函数上方插入参数说明,return返回的是函数类型。 光标会自动定位到brief上 K

注意: 比较适合自己使用分析代码。不适合团队协作 仅为C++文件 后续可能添加文件识别 光标只需要在函数名那一行定位即可,不需要选中

package.json需要添加如下代码

"configuration": {
      "type": "object",
      "title": "CPP Settings",
      "properties": {
        "cpp.authorName": {
          "type": "string",
          "default": "Your Name",
          "description": "The name of the author to be used in the file header comment."
        }
      }
    }
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft