1. 程式人生 > >設定eclipse檔案的預設開啟方式

設定eclipse檔案的預設開啟方式

由於cfg、biz等配置檔案預設的開啟方式並不是Text Editor,開啟時要手動右鍵“open with”來選擇“Text Editor”來開啟,頻繁操作略麻煩,所以找了下設定檔案預設開啟方式的方法。
1、Windows –> Preferences –> General –> Editors –> File Associations
這裡寫圖片描述

2、File Types –> add –> 輸入要開啟的檔案型別
這裡寫圖片描述

3、選中要設定的檔案型別 –> Associated editors –> add –> 選擇型別
這裡寫圖片描述