您的位置:首页 > 编程语言 > Java开发

Eclipse 在工程中包含的头文件的Index问题

2017-01-02 10:09 204 查看
如题,有的头文件 在工程中包含。里边的宏不会对代码的显示起作用,不能用跳转,很麻烦。
可以设置包含进来。如下。

If you see that the eclipse has the files that should be included in your build grayed out, then follow the next steps:

1) Go to Window -> Preferences -> Indexer -> In the build configuration for the indexer select the "Use active build configuration".

2) Go to the project that you are having trouble with and right click Index -> Freshen all files.

3) Also via right click on the project select again the active build for your project (it doens't matter if you select the same).

Most of the times the problem is the Indexer of the eclipse that causes a lot of confusion when building a project.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: