Permalink
Browse files

improves C++ Class template

  • Loading branch information...
1 parent d7272e9 commit f290994a7fec324d08c76ea2fda0f68bf06e08c1 @mantognini committed Apr 6, 2012
Showing with 29 additions and 5 deletions.
  1. +29 −5 Templates/File Templates/C and C++/C++ Class.xctemplate/TemplateInfo.plist
@@ -23,19 +23,43 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
-->
<dict>
+
+ <key>Summary</key>
+ <string>A C++ class</string>
+
+ <key>Description</key>
+ <string>A C++ class : a header and a source file.</string>
+
<key>AllowedTypes</key>
<array>
<string>public.c-plus-plus-source</string>
</array>
+
<key>DefaultCompletionName</key>
- <string>File</string>
- <key>Description</key>
- <string>A C++ class : a header and a source file.</string>
+ <string>MyClass</string>
+
<key>Kind</key>
<string>Xcode.IDEKit.TextSubstitutionFileTemplateKind</string>
+
<key>MainTemplateFile</key>
<string>___FILEBASENAME___.cpp</string>
- <key>Summary</key>
- <string>A C++ class</string>
+
+ <key>Options</key>
+ <array>
+ <dict>
+ <key>Description</key>
+ <string>The name of the class to create</string>
+ <key>Identifier</key>
+ <string>productName</string>
+ <key>Name</key>
+ <string>Class Name</string>
+ <key>NotPersisted</key>
+ <true/>
+ <key>Required</key>
+ <true/>
+ <key>Type</key>
+ <string>text</string>
+ </dict>
+ </array>
</dict>
</plist>

0 comments on commit f290994

Please sign in to comment.