Eclipse code template $Revision$ variable
- From: "kitty" <krithika.ram@xxxxxxxxx>
- Date: 2 Jan 2007 22:13:25 -0800
I would like to know if the Revision variable gets replaced by while
checking in SVN code.
Also typecomment does not get replaced when referenced to. If i enable
"automatically add comments" in Windows -> Preferences -> Code Style,
then it gets placed.
My code template snippet is below, all the other dynamic values get
replaced except Revision and typecomment:
</template><template
id="org.eclipse.jdt.ui.text.codetemplates.typecomment"
name="typecomment" description="Comment for created types"
context="typecomment_context" enabled="true" deleted="false">/**
* TODO:add description of class here
*
* @author ${user}
*/</template>
</template><template id="org.eclipse.jdt.ui.text.codetemplates.newtype"
name="newtype" description="Newly created files"
context="newtype_context" enabled="true" deleted="false">/* File
Name : ${file_name}
* Creation Date : ${date}
*
* Revision : $$Revision$$
*/
${package_declaration}
${typecomment}
${type_declaration}
</template>
Thanks in advance for all the help.
kitty
.
- Prev by Date: Re: JBoss 4.0.3SP1 Startup Error With dom4j 1.6.1
- Next by Date: newbie: downloading Eclipse
- Previous by thread: Re: JBoss 4.0.3SP1 Startup Error With dom4j 1.6.1
- Next by thread: newbie: downloading Eclipse
- Index(es):