This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 151101 [details] Problematic project with screenshots. Code completion is broken for certain classes, regardless where they used. This is best seen in they associated .cpp files, where code completion seems to be nearly completely broken. Affected identifiers can not be resolved. I also noticed that in the navigation window, the function's name are correct but they not appear to be contained in they respective classes. Furthermore they icons are incorrect too. I was not able deduce what change produced the error. Files that worked correctly in the past appears suddenly broken, even without modifying them. I was not able to create a minimal code that reproduces the problem either. Thus I provided my entire project complete with the source. Please see the files error.cpp and screen_manager.cpp. The projects uses C++11 and compiles only on Linux so far. I do not know any workaround for it. There is a very similar bug that was fixed in the past: ID = 236435. If you need any more info, please don't hesitate to contact me.
Hello, What if add space and save the file? Do you see the errors? What if you close IDE and remove cache dir, then reopen IDE?
(In reply to Vladimir Voskresensky from comment #1) > What if add space and save the file? > Do you see the errors? Yes, changing the bugged .cpp or it's corresponding .hpp had no correcting effect. > What if you close IDE and remove cache dir, then reopen IDE? This worked! Thank you! I closed the IDE, deleted `~/.cache/netbeans` directory, then reopened the IDE. All bugged source files are working correctly again.
I closed it as invalid because there is a workaround and it is mostly impossible to figure where the glitch happened. If you'll encounter similar issues, please, reopen the bug.