1、打开Eclipse菜单栏,Window ->Preference->某个语言(我的是C/C++)->File Types,添加新文件类型;
2、打开Eclipse菜单栏,Window ->Preference->General->Editors->File Associations,设置文件关联;
1、打开Eclipse菜单栏,Window ->Preference->某个语言(我的是C/C++)->File Types,添加新文件类型;
2、打开Eclipse菜单栏,Window ->Preference->General->Editors->File Associations,设置文件关联;