# vscode-code-generator-plugin **Repository Path**: fixedx/vscode-code-generator-plugin ## Basic Information - **Project Name**: vscode-code-generator-plugin - **Description**: vscode 代码生成插件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-20 - **Last Updated**: 2024-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Template Code Generator 一个基于template的代码生成器,用于生成模板代码。 # 生成类型 - page 生成一个页面 - component 生成一个组件 - router 生成一个路由 - form 生成一个表单 - style 生成一个样式 # 模板定义 在项目根目录下可以使用handbar模板格式编写自定义模板,模板中暂时支持以下变量: - `{lowerCaseName}` 小写名字 - `{upperCaseName}` 大写名字 # 自定义配置 ``` json { "tpl.page": "tpl/page.tpl", "tpl.component": "tpl/component.tpl", "tpl.router": "tpl/router.tpl", "tpl.form": "tpl/form.tpl", "tpl.style": "tpl/style.tpl", } ```