Eclipse: How to set the {user} variable?

I use Eclipse (v3.5.2, to be precise), and some of the plug-ins that I use use a field {user}to fill in various things (for example, Egit puts the username and email address in Commits, and the StatEt plugin for R puts the name user as Authour tags in roxygen Rd file files.)

However, on my system, my username does not make sense to anyone other than the company. Is it possible to change this field to something more reasonable, for example, "Paul Hurley" (and similarly to setting an email address), either manually, either through the configuration, or through some script at boot time?

+3
source share
1 answer

I always change some eclipse settings in the ECLIPSE_HOME \ eclipse.ini file.

-Duser.country=EN
-Duser.language=en
-Duser.name=Matthieu BROUILLARD [matthieu@somewhere.org] 

Overriding these properties is very useful, especially for poor translation into your local language. For me, for example, SVN plugins are really hard to use with a French translation.

Hope this helps.

+2
source

Source: https://habr.com/ru/post/1738954/


All Articles