项目中用的mvvm框架模版代码,Android Studio 4.1及以后的各动物版本,对模版代码的支持是以插件的形式来处理 通过对插件的基础配置以及项目模版代码的配置,最终以jar的形式安装到Android Studio的本地插件中,以此来创建模版代码 注意:生成jar包是点击 run plugin 生成 参考资料 AndroidStudio Fox 编写自定义模板
- Create a new IntelliJ Platform Plugin Template project.
- Get familiar with the template documentation.
- Verify the pluginGroup, plugin ID and sources package.
- Review the Legal Agreements.
- Publish a plugin manually for the first time.
- Set the Plugin ID in the above README badges.
- Set the Deployment Token.
- Click the Watch button on the top of the IntelliJ Platform Plugin Template to be notified about releases containing new features and fixes.
This Fancy IntelliJ Platform Plugin is going to be your implementation of the brilliant ideas that you have.
This specific section is a source for the plugin.xml file which will be extracted by the Gradle during the build process.
To keep everything working, do not remove <!-- ... -->
sections.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "mvvm_template" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.