Some lovely tools for VV FE.
Features
- To achieve gitflow more convenient
git commit , avoid the tedious steps of input one by one from the command line and re-entry when errors occur.
Manual
- Shortcuts:
ctrl + F10
- Menu: File right-click menu
vv-gitflow
- Command:
vv-gitflow
Road map
- History storage
- Friendly error analysis
- Optimize UI, optimize tips
snippets使用
- 在项目中安装依赖 yarn add vv-snippet-tool -D
- 在项目根目录新建.vv-snippetrc.js并扩展自定义snippets
module.exports = {
// 项目自定义规则,参考 https://code.visualstudio.com/docs/editor/userdefinedsnippets
extends: [require.resolve('vv-snippet-tool')],
rules: [
{
iCusSnippet: {
prefix: ['vv.cusSnippet'],
body: ["improt { ${1} } from 'keyName';"],
description: 'cusSnippet'
}
}
]
};
| |