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
@@ -23,6 +23,28 @@ Using this plugin, help you create directories and files from customizable templ
23
23
4. The 'File Template' tab lists which template the specified file uses, you can also use placeholders for FileName field.
24
24
5. The 'Placeholder' tab's table defines placeholders for replacing filenames and file templates
25
25
26
+
### Build
27
+
28
+
#### Dependencies
29
+
30
+
- IntelliJ IDEA (Community Edition) 19.1+
31
+
32
+
#### Import Project
33
+
34
+
This project is not a gradle or pom project, but a **IntelliJ Platform Plugin** project, IDEA cannot import this project normally.
35
+
36
+
In **IDEA Community** (necessary) `File -> New -> Project from Exsiting Sources -> Create project from exsiting sources`, then click next until finish import.
37
+
38
+
Pressing the `Ctrl + Alt + Shift + S` to open **Project Structure** dialog, choose **Project** tab, change **Project SDK** to `IntelliJ IDEA Community Edition IC-xxxx`, then apply change.
39
+
40
+
Then, edit `GenerateModuleFromTemplate.iml` in the project root directory, change the `type` attribute of `module` node to `PLUGIN_MODULE`, minimize the IDEA and restore it, the plugin project will be detected.
41
+
42
+
Finally, `Run -> Edit Configuretions -> Alt + Insert -> Plugin -> Apply`, the project configuration completed.
43
+
44
+
#### Generate Plugin Jar
45
+
46
+
`Run -> Prepare Plugin Module xxx For Deployment`
47
+
26
48
### Changelog
27
49
- 1.4.0: feature: Support export and import template to file, adjust action button position.
0 commit comments