Eclipse 安装properties 插件是作为一个合格的Java工程师常常需要使用的技巧,现实中,很多

框架都使用 了properties文件来配置一些常用的程序参数。

首先要有这个插件,可以到这里点击打开链接进行下载。

将下载文件进行解压,得到如图文件

问题杂谈:在eclipse 安装properties 插件

将该文件剪切到eclipse->plugins中,然后重启eclipse。

接着,在Eclipse里面工具栏 - 【Window 】- 【Preferences 】-【General 】-【Editors 】-【 File Associations 】如图。

在右侧 File Associations 栏里找到 *.properties ,选中。可以看到下方的 Associated editors 栏里有 PropertiesEditor 项,选

中,点击 Default 按钮。

问题杂谈:在eclipse 安装properties 插件

然后在Eclipse里面新建文件,类型为properties,然后书写参数,#代表注释。







相关文章:

  • 2021-09-16
  • 2021-11-15
  • 2021-10-30
  • 2021-10-27
  • 2021-04-24
  • 2021-06-07
猜你喜欢
  • 2021-09-08
  • 2021-06-03
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
相关资源
相似解决方案