Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Landz - Git Commit Message helperNew to Visual Studio Code? Get it now.
Landz - Git Commit Message helper

Landz - Git Commit Message helper

Zzhk

|
187 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Landz - Git Commit Message helper 使用规范

  • 下载插件 Landz - Git Commit Message helper

  • 在源代码控制界面就能看到提交按钮旁边多了个icon,后续commit操作都通过该按钮控制

提交信息的类型

const commitSelectType: Array<CommitSelectType> = [
  {
    label: 'feat',
    detail: '新功能(feature)'
  },
  {
    label: 'fix',
    detail: '修复bug'
  },
  {
    label: 'build',
    detail: '构建工具或者外部依赖的改动,例如webpack、npm等'
  },
  {
    label: 'style',
    detail: '代码格式化(但不影响代码运行的变动)'
  },
  {
    label: 'test',
    detail: '增加测试'
  },
  {
    label: 'docs',
    detail: '修改文档'
  },
  {
    label: 'refactor',
    detail: '重构(既不增加新功能,也不是修复bug)'
  },
  {
    label: 'perf',
    detail: '性能优化'
  },
  {
    label: 'revert',
    detail: '回退'
  },
  {
    label: 'chore',
    detail: '构建过程或辅助工具的变化'
  },
  {
    label: 'ci',
    detail: '修改项目的持续集成流程(jenkins、Travis等)的提交'
  }
]

快捷键

window: alt + enter mac: option + enter

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft