How to use the IDEA plug-in Easycode code generator
Editor to share with you how to use the IDEA plug-in Easycode code generator, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Introduction
Easycode is a plug-in of idea, which can generate entity,controller,service,dao,mapper directly to the table of data without any coding, which reduces the workload of developers and improves work efficiency.
Introduction to use:
1. Install the Easycode plug-in
As shown in the figure above, I have already installed it. If you don't know how to install the plug-in in IDEA, please refer to "simple installation steps for common IDEA plug-ins".
Note:
3. Configure database connections on IDEA
Note: first create a springboot project. After the project is completed, find the Database in the right window, as shown below:
Then follow the steps in the following figure:
4. Start generating code
Follow the steps in the figure below to generate the relevant code:
Note: you can select the code that needs to be generated as needed.
By checking the generated code, click OK to complete the code generation.