zoukankan      html  css  js  c++  java
  • eclipse properties 文件查看和编辑插件

    问题

    在Struct2在读取语言包文件language.properties属性文件,如果文件中包含中文,会出现乱码。虽然可以native2ascii进行解决,但是使用起来不方便,为了解决这个问题,可以为Eclipse安装Properties Editor插件解决这个问题。 

    Properties Edito官网地址:http://propedit.sourceforge.jp/index_en.html

    Properties Edito安装地址:http://propedit.sourceforge.jp/howto_eclipseplugin_install_en.html

    环境

      Eclipse版本: 3.6

    步骤

    1  安装Properties Editor插件

    a  Help --> Install New Software 

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

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

       安装过程中,可能有警告,别管它,点击是就可以。

    c  安装完毕后,重启Eclipse。

    2  Properties文件和Properties Editor关联

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

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

  • 相关阅读:
    也谈谈我面试的经历
    synchronized和lock比对
    数据结构之查找
    iptable和tcpdump的先后顺序
    iptable的四表五链
    iptable规则的执行顺序
    curl指令的坑
    k8s 网络模型解析之实践
    如何创建一个img文件并且mount 它
    k8s 网络模型解析之原理
  • 原文地址:https://www.cnblogs.com/eyesfree/p/7514902.html
Copyright © 2011-2022 走看看