在eclipse/myeclipse中,当添加注释的作者选项时,@author 后边一般都会默认填充的你登录计算机的用户名。
如何去修改呢:
第一种方法:修改计算机登录的用户名(一般不实用)
第二种方法:修改Preference其中 @author 的属性,并写入你所要用的 ;步骤如下:
通过菜单 Window->Preference 打开参数设置面板,然后选择:Java -> Code Style -> Code Templates ,在右侧选择Comments,将其中的Types项,然后选右边的"Edit",进入编辑模式,将 @author ${user} 中的${user}改成你自己的名字即可。(咸麻烦还有一种方式)
第三种方法:修改ini配置文件。
在eclipse/myeclipse的目录下找到eclipse.ini/myeclipse.ini文件,在-vmargs后边添加上启动参数:-Duser.name=你想要显示的名字。
重启eclipse/myeclipse搞定。
分享到:
相关推荐
Eclipse MyEclipse svn集成插件,解压后放入插件目录即可使用
com.aptana.feature.studio-3.0.9.201202140953最新版 eclipse myeclipse插件 离线安装包,共3个压缩包
com.aptana.feature.studio-3.0.9.201202140953最新版 eclipse myeclipse插件 离线安装包,共3个压缩包
Eclipse 和 MyEclipse 快捷键大全 外加调正电脑屏幕的颜色,来保护自己的眼睛Eclipse 和 MyEclipse 快捷键大全 外加调正电脑屏幕的颜色,来保护自己的眼睛Eclipse 和 MyEclipse 快捷键大全 外加调正电脑屏幕的颜色,来...
aptana3.09最新版eclipse myeclipse插件离线安装包
eclipse Myeclipse 代码自动格式化
SVN插件Eclipse MyEclipse 在线安装 离线安装都可以 SVN插件Eclipse MyEclipse 在线安装 离线安装都可以
eclipse myeclipse注释模板
Eclipse(MyEclipse)离线插件安装工具 C:\>java -jar instPlug4MyEclipse.jar Use:java -jar instPlug4MyEclipse.jar PluginPath eclipsePath 如:java -jar instPlug4MyEclipse.jar D:/ADT-18.0.0 D:/myeclipse10 ...
java eclipse myeclipse oracle 驱动 oracle driver
axis2 Eclipse myEclipse java 插件Archiver第二部分
Eclipse myeclipse 汉化文件 中午语言包 覆盖源文件
eclipse myeclipse 插件 properties 编辑器,该插件中包含 资源编辑插件:ResourceBundleEditor和sourceforge的propedit 6.0
Web入门 eclipse myeclipse tomcat (免费) eclipse myeclipse tomcat 安装配置的详细图解,说明等,适合初学者
eclipse/myeclipse快捷键
fatjar java程序 打包 eclipse myeclipse插件
J2EE环境安装之二_Eclipse和MyEclipse安装,动画演示
eclipse myeclipse 代码 内容 模板 格式化
axis2 Eclipse myEclipse 插件版本是1.3.0
简单的 ftp telnet 项目本地文件夹 指定的文件 eclipse myeclipse 插件