简体   繁体   English

docker中的eclipse CDT构建没有索引

[英]eclipse CDT build in docker is not indexing

i have a CDT project in eclipse.我在 Eclipse 中有一个 CDT 项目。 i created a new docker image and added a new library and header files to it (libmodbus).我创建了一个新的 docker 镜像并向其中添加了一个新的库和头文件(libmodbus)。 When compiling it, everything works smoothly, however when editing it's marking all headers that are to come from the docker as missing.编译时,一切正常,但是在编辑时,它将来自 docker 的所有标头标记为丢失。 reindexing doesn't work.重新索引不起作用。 Making the project over and over doesn't work as well, eclipse is not indexing the files in the docker.一遍又一遍地制作项目也不起作用,eclipse 没有索引 docker 中的文件。 what can be done to fix it ?可以做些什么来修复它? the settings are NOT in the indexer as i checked them and they seem to be ok.当我检查它们时,这些设置不在索引器中,它们似乎没问题。

Any pin points ?任何针点?

like always thank you for nothing stackvoerflow members...像往常一样感谢你什么 stackvoerflow 成员...

could not get it to work so i tried to update the plugin, hopeful that it will be a known bug.无法让它工作,所以我尝试更新插件,希望它是一个已知的错误。 I don't know because many plugins were updated and the project did not work anymore, i had to start all over creating the CDT managed project from scratch.我不知道,因为很多插件都更新了,项目不再工作了,我不得不从头开始创建 CDT 管理的项目。 Of course the indexer now works, probably it would have worked if i re-created the project in the old eclipse.当然,索引器现在可以工作,如果我在旧的 eclipse 中重新创建项目,它可能会工作。 Let's just say that in c-lion it would not happen, and i have a hunch if i'll start of with visualstudio code it will probably be better too.我们只是说在 c-lion 中它不会发生,我有一种预感,如果我从 Visualstudio 代码开始,它可能也会更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM