1
1
<idea-plugin >
2
2
<id >com.dengzii.plugin.template</id >
3
3
<name >Generate Module From Template</name >
4
- <version >1.6.4 </version >
4
+ <version >1.6.5 </version >
5
5
<
vendor email =
" [email protected] " url =
" https://github.com/dengzii" >dengzi</
vendor >
6
6
7
7
<description ><![CDATA[
14
14
2. Support placeholders / ApacheVelocity template lang in file name.<br>
15
15
3. Specify file templates from IDE custom/build-in templates.<br>
16
16
4. Passing placeholders to file template as variables.<br>
17
- 5. Output/import template file. share your template with your partner .<br>
17
+ 5. Export / Import template, share template by file .<br>
18
18
<br>
19
19
<b>Usage</b><br>
20
20
1. Configure template in plugin settings: <b>File > Settings > Tools > Module Template Settings</b>.<br>
21
21
2. Create directories from the 'Structure' tab, click the right mouse button to operate the file tree.<br>
22
22
3. FileTree can use placeholders or ApacheVelocity template lang, the placeholder should like this -> <b>${YOUR_PLACEHOLDER_HERE}</b>.<br>
23
- 4. The 'File Template' tab lists which template the specified file uses, you can also use placeholders for FileName field.<br>
23
+ 4. The 'File Template' tab lists which template the specified file uses, you can also use placeholders for FileName field,
24
+ for same name file, you can use path to distinguish them, for example: c/x.js is match a/b/c/x.js<br>
24
25
5. The 'Placeholder' tab's table defines placeholders for replacing filenames and file templates<br>
25
26
More information: <a href='https://github.com/dengzii/GenerateModuleFromTemplate/blob/master/README.md'>README</a><br>
26
27
<br>
@@ -42,6 +43,9 @@ Any question please <a href='https://github.com/dengzii/GenerateModuleFromTempla
42
43
]]> </description >
43
44
44
45
<change-notes ><![CDATA[
46
+ <b>Version 1.6.5 (2023/12/11)</b><br>
47
+ 1. Update: File template support match by file path.<br>
48
+ 2. Fix: ApacheVelocity template lang not work.<br>
45
49
<b>Version 1.6.4 (2023/07/06)</b><br>
46
50
1. Feature: Support ApacheVelocity in file name.<br>
47
51
<br>
@@ -54,7 +58,7 @@ Any question please <a href='https://github.com/dengzii/GenerateModuleFromTempla
54
58
<depends >com.intellij.modules.lang</depends >
55
59
56
60
<extensions defaultExtensionNs =" com.intellij" >
57
- <fileTemplateGroup implementation =" com.dengzii.plugin.template.template.FileTemplateFactory" order =" first" />
61
+ <!-- <fileTemplateGroup implementation="com.dengzii.plugin.template.template.FileTemplateFactory" order="first"/> -- >
58
62
<applicationConfigurable groupId =" tools" displayName =" Module Template Settings"
59
63
id =" preferences.ModuleTemplateConfig"
60
64
instance =" com.dengzii.plugin.template.TemplateConfigurable" />
0 commit comments