You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## IDEA Code Automatically Generate Plugin • `For Java Version`
@@ -46,7 +46,7 @@ Well, that's a valid question for my drive to find the repeat parts at daily wor
46
46
### Using manual(v3.0+)
47
47
1.Open the configuration box to set the generation parameters, `Preference` --> `Other Settings` --> `D8gerAutoCode`
48
48
49
-
2.Check the file to be generated and choose the generation path, rewrite `author`、`author` and `locale`, and click the button to save your configuration.
49
+
2.Check the file to be generated and choose the generation path, rewrite `author`、`apiUrlPrefix` and `locale`, and click the button to save your configuration.
@@ -60,32 +60,32 @@ Well, that's a valid question for my drive to find the repeat parts at daily wor
60
60
3. Under the default configuration, `D8gerAutoCode` directory and `data table SQL definitions` and **Web codes** will be generated
61
61
62
62
4. So, What you need to do:
63
-
- Under a multi-module project, configure the generated file output directory, for example, **`Mo.java`** should be moved into the `model` directory
64
-
- Add non-null constraints to **`xx.sql`** as required
65
-
- If you generated the **Controller.java** file, please note the interface returns type of **`Object`**, it should be modified to the project's uniform return type
66
-
- In the above steps the `xx.java` file will report some errors, ***don't worry***, these just require you to import packages
63
+
- Under a multi-module project, configure the generated file output directory, for example, **`Mo.java`** should be moved into the `model` directory
64
+
- Add non-null constraints to **`xx.sql`** as required
65
+
- If you generated the **Controller.java** file, please note the interface returns type of **`Object`**, it should be modified to the project's uniform return type
66
+
- In the above steps the `xx.java` file will report some errors, ***don't worry***, these just require you to import packages
67
67
68
-
5.1 Default configuration file template for easter egg:
69
-
- In the ***`resource`*** root directory of the module where the `Model class` is located, create `d8ger.properties` property configuration file
70
-
- Type `d8ger` and click on `Tools`-> `D8ger`-> `D8gerMore`, and you will find some surprise
68
+
5. Default configuration file template for easter egg:
69
+
- In the ***`resource`*** root directory of the module where the `Model class` is located, create `d8ger.properties` property configuration file
70
+
- Type `d8ger` and click on `Tools`-> `D8ger`-> `D8gerMore`, and you will find some surprise
71
71
72
-
5.2 Regex template for easter egg:
72
+
6. Regex template for easter egg:
73
73
- Choose any blank file, Type `regex` and click on `Tools`-> `D8ger`-> `D8gerMore`, and you will find some surprise
74
74
75
-
5.2 NASA template for easter egg:
75
+
7. NASA template for easter egg:
76
76
- Choose any blank file, Type `nasa` and click on` Tools`-> `D8ger`-> `D8gerMore`, and you will get the NASA manual
77
77
- Follow the manual, custom your config and write your own multi-lines need to be batch handled, then you will find some surprise
78
78
79
-
5.3 Camel-Underline-Uppercase-Uncapitalize-Lowercase circle convert by one-click
79
+
8. Camel-Underline-Uppercase-Uncapitalize-Lowercase circle convert by one-click
80
80
- Choose word text in any editing file, press `alt` + `shift` + `cmd` + `U`, you'll find the changed word
81
81
- If not satisfied just press the shortcut again and again util you are.
82
82
83
-
6. You will get the following default configuration information
84
-
- It's recommended that you change the configuration items
85
-
- `author` (you can't sign my name for the pits you dug!)
86
-
- `apiUrlPrefix` (the interface url prefix should be configured as the project interface unified URL prefix)
87
-
- generate file output directory under a multi-module project
88
-
- As for `boolean` configuration items, let you choose which files need to be generated, and specify output directory is optional
83
+
9. You will get the following default configuration information
84
+
- It's recommended that you change the configuration items
85
+
-`author` (you can't sign my name for the pits you dug!)
86
+
-`apiUrlPrefix` (the interface url prefix should be configured as the project interface unified URL prefix)
87
+
- generate file output directory under a multi-module project
88
+
- As for `boolean` configuration items, let you choose which files need to be generated, and specify output directory is optional
89
89
90
90
> By the way, these default shortcuts used in Mac OS, if you use Windows just take `cmd` into `ctrl`.
91
91
@@ -110,6 +110,7 @@ Well, that's a valid question for my drive to find the repeat parts at daily wor
110
110
111
111
```
112
112
Solution
113
+
0. If you upgrade version 3.0+, you won't see it again.
113
114
1. Because the IDEA file uses the VFS mechanism, as a plug-in to use the monitoring file I think it is not cost-effective
114
115
2. I also found a reason aboub editing .properties file, sometimes it will take one or two minutes to refresh after you finished
115
116
3. So, press 'cmd' + 's' to force refreshing .properties file and you will solve it.
0 commit comments