Eclipse4.2安装Properties Editor插件解决Properties乱码问题

     Eclipse4.2是大多数java爱好者首选,相对于MyEclipse来说,启动速度快,但好多插件需要自己手工安装。如Properties文件在Eclipse中,如果是中文就会遇到乱码问题。 我们可以通过下载 Properties Editor插件,然后把Eclipse和 Properties Editor关联。

    操作步骤

1.  安装Properties Editor插件

1.1  Help -->> Install New Software

1.2  在打开窗口“Work with”输入:http://propedit.sourceforge.jp/eclipse/updates/ 回车

选择PropertiesEditor下的2个组件进行安装即可。如果去掉“Contact all update sites during install to find required software” 可以跳过自检。

1.2  安装完毕后,重启Eclipse。

2.  Properties文件和Properties Editor关联

Window-->>Preferences-->>General-->>Editors-->>File Associations-->>*.properties-->>PropertiesEditors(default)

如果安装成功,则properties文件图片会变成一个文本中有个绿色的P。

如果还不能用Properites Editor打开,则文件右击 -> Open With -> PropertiesEditor即可


Properties Editor官网:http://propedit.sourceforge.jp/index_en.html

下面是官网Eclipse安装步聚,是英文版本的:



[ INSTALLATION ]

  1. Please choose from the screen of Eclipse with "Help" ->"Software Updates" -> "Update Manager". An 'Update Manager' opens.

  2. In the "Feature Updates" view at the lower left of an 'Update Manager', please carry out the right click of the "Sites to Visit", and create a site bookmark by "New" -> "Site Bookmark...".
    - The bookmark to create should input the following "URL" and should push an "Finish" button.
    Name: Arbitrary input
    URL : http://propedit.sourceforge.jp/eclipse/updates/
    Bookmark type: Eclipse update site

  3. If a site bookmark is created, the bookmark created at the bottom of "Feature Updates" will appear.
    A click of "jp.gr.java_conf.ussiy.app.propedit.eclipse.feature.PropertiesEditorFeature x.x.x" displays a preview on a right window. Since the button "Install Now" is in around the lower right, please click.

  4. Since an installation wizard starts, please click a "Next" button rapidly.

  5. "You will need to restart the workbench for the changes to take effect. Would you like to restart now?" is displayed. Please reboot Eclipse according to a dialog.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值