Eclipse —— 如何修改文件的默认编辑器

Eclipse下的各类文件各自都有默认的编辑器,但不一定好用。如何指定各种文件的默认编辑器呢?

假如,Properties文件,我不想用Eclipse自带的编辑器,而是使用 Properties Editor 插件来打开。该如何设置呢?

 

工具栏 - Window - Preferences ,出现如下图的窗口。

左侧 General - Editors - File Associations ,在右侧的 File types 栏中找到 *.properties ,下方就会出现和这类文件关联的编辑器,选中 PropertiesEditor ,点击 Default 按钮,最后点击最下方的 OK 按钮,大功告成!

   

 

P.S. 如果不知道如何安装PropertiesEditor插件,可参考 Eclipse插件安装-PropertiesEditor

 

posted on 2013-08-02 16:29  Memory4Young  阅读(1522)  评论(0编辑  收藏  举报

导航