In Eclipse using ESP-IDF plugin, why do I have to keep rebuilding the index?
Posted: Thu Sep 02, 2021 1:34 am
I have grown to really like using Eclipse for my ESP32 ESP-IDF development.
However, there's one very annoying thing I keep having to do: rebuild the index. It will be fine for awhile, then suddenly it starts flagging all of my external function calls and variable references with squiggly lines like they aren't found in the headers. It compiles successfully.
On top of this, I can't just rebuild the index. I have to do it several times before it finally works. I'm not actually sure what makes it finally work. I just keep fiddling with it until I finally get it to work on some attempt. Then it will be fine for awhile again and then, say after a build, it goes back into flagging functions and variables again. I think if I do a "clean", exit, then restart Eclipse, I can do the index rebuild and it will actually do something.
So, I'm not sure what's going on here. The behavior is very strange. Has anyone else experienced this and found a way to resolve it? I tried posting over in the Eclipse forum. I received a quick response, but they said that this is due to the plugin, not Eclipse.
However, there's one very annoying thing I keep having to do: rebuild the index. It will be fine for awhile, then suddenly it starts flagging all of my external function calls and variable references with squiggly lines like they aren't found in the headers. It compiles successfully.
On top of this, I can't just rebuild the index. I have to do it several times before it finally works. I'm not actually sure what makes it finally work. I just keep fiddling with it until I finally get it to work on some attempt. Then it will be fine for awhile again and then, say after a build, it goes back into flagging functions and variables again. I think if I do a "clean", exit, then restart Eclipse, I can do the index rebuild and it will actually do something.
So, I'm not sure what's going on here. The behavior is very strange. Has anyone else experienced this and found a way to resolve it? I tried posting over in the Eclipse forum. I received a quick response, but they said that this is due to the plugin, not Eclipse.