eclipse - how to treat file extension as C-file

这一生的挚爱 提交于 2019-12-12 17:05:21

问题


How do I force Eclipse to treat a file-type as a C/C++ file so it'll index them?

My makefiles create .pp files for pre-processor output and I want to view those as C/C++ files.


回答1:


You can define a mapping from the .pp extension to the C++ Source File file type in Preferences | C/C++ | File Types.



来源:https://stackoverflow.com/questions/46163332/eclipse-how-to-treat-file-extension-as-c-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!