Skip to content

Commit 0d3aac0

Browse files
author
x-hansong
committed
fix the wrong name of default setting
1 parent 1262360 commit 0d3aac0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<li>Support add custom template to generate more code.</li>
1616
<li>Generate @see doc for override method</li>
1717
</ul>
18-
<p>If you want to add variables into template context, you can modified the source and package the plugin to meet your needs. See <a href="https://github.com/x-hansong/CodeMaker/blob/master/README.md">README</a></p>
18+
<p>If you want to add variables into template context, you can modified the source and package the plugin to meet your needs. See <a href="https://github.com/x-hansong/CodeMaker/blob/master/README.md#advance">README</a></p>
1919
]]></description>
2020

2121
<change-notes><![CDATA[

src/com/xiaohansong/codemaker/CodeMakerSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private void loadDefaultSettings() {
3535
codeTemplates.put("Model",
3636
createCodeTemplate("Model.vm",
3737
"#set($end = ${class0.className.length()} - 2)${class0.className.substring(0,${end})}", 1));
38-
codeTemplates.put("Model",
38+
codeTemplates.put("Converter",
3939
createCodeTemplate("Converter.vm", "${class0.className}Converter", 2));
4040
codeTemplates.put("Specs2 Matcher",
4141
createCodeTemplate("specs2-matcher.vm", "${class0.className}Matchers", 1));

0 commit comments

Comments
 (0)