Properties Editor

eclipse中*.properties文件查看和编辑

て烟熏妆下的殇ゞ 提交于 2020-12-08 17:01:28
*.properties属性文件,如果文件中包含中文,会转为编码。为了解决这个问题,可以为Eclipse安装Properties Editor插件解决这个问题。 安装方法 1.安装Properties Editor插件 Help –> Install New Software 在打开窗口“Work with”输入: http://propedit.sourceforge.jp/eclipse/updates/ 选择PropertiesEditor 组件进行安装即可。如果去掉“Contact all update sites during install to find required software” 可以跳过自检。 安装完毕后,重启Eclipse。 4. 文件右击 -> Open With -> PropertiesEditor即可 来源: oschina 链接: https://my.oschina.net/u/3673135/blog/4781079

Eclispe集成插件:Properties Editor

为君一笑 提交于 2019-12-01 21:16:27
一、应用背景 小博在使用eclipse IDE开发的过程中,将另一个项目的properties配置文件拷贝到当前项目使用,打开properties配置文件后出现中文乱码问题,而两个项目以及配置文件的编码格式确认保持一致。几经周折,找到可以解决该问题的方法,即安装Properties Editor插件。 二、安装步骤 1、打开Eclipse Marketplace Eclipse——》Help——》Eclipse Marketplace 2、输入Properties Editor查找并安装插件 来源: oschina 链接: https://my.oschina.net/u/2283390/blog/827725

Eclispe 安装插件 Properties Editor

旧时模样 提交于 2019-11-30 17:22:22
出现问题: 使用使用 eclipse 在 .properties 文件写中文怎么会变成这个样子?或者把其他 properties 文件复制过来,同时也对比了两文件的编码格式,也会出现这种问题。 问题原因: 一般使用 .properties 来作为 i18n 国际化支持的配置文件,在 .properties 文件中如果使用到中文信息,都要使用 jdk 自带的 native2ascii 工具转成 Unicode 编码才能部署使用。而使用 Properties Editor 插件则可以在 eclipse 中直接编辑带中文信息的 java 属性文件,并自动存盘为 Unicode 格式,无需二次转码了。 解决问题: 下面就分享下 eclipse 在线安装 Properties Editor 的过程 1、首先,在 eclipse 中点击 “help” - "Install New Software" 2、点击右侧的 “Add” 按钮输入 Name:properties Location:http://propedit.sourceforge.jp/eclipse/updates/ 然后点击OK 3、稍等一会,就会出现插件列表,选择 PropertiesEditor,然后一路 Next 4、最后 “I accept ……”,然后 Finish 搞定 5、安装完成后重启 eclipse