Try to start Eclipse with vm-parameter, e.g.: /eclipse.exe –vmargs
-Duser.name="Firstname Lastname"/
Galder Zamarreno пишет:
Hi guys,
I have a general Eclipse question for you:
In my prefs file, I have the following line:
main.epf:463:/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_code_templates=<?xml
version\="1.0" encoding\="UTF-8"
standalone\="no"?><templates>...<template
autoinsert\="false"
context\="typecomment_context" deleted\="false"
description\="Comment
for created types" enabled\="true"
id\="org.eclipse.jdt.ui.text.codetemplates.typecomment"
name\="typecomment">/**\n * ${type_name}.\n * \n * @author Galder
Zamarreño\n */</template><template autoinsert\="true"
context\="fieldcomment_context" deleted\="false"
description\="Comment
for fields" enabled\="true"
id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment"
name\="fieldcomment">/** The ${field}
*/</template>...</templates>
My name appears there as: Galder Zamarreño
However, after importing it, my author template looks like this:
/**
* ${type_name}.
*
* @author Galder Zamarreño
*/
Any idea how I can get Eclipse to freaking leave my surname *as it is*?
Thanks in advance :)
--
Best regards,
Dmitry Geraskov
dgeraskov(a)exadel.com
Senior Developer
Exadel Inc