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.
Scenario: - Add some remote host - Create simple Full Remote project with such C++ code: using namespace std; int main(int argc, char** argv) { for (int i = 0; i < 30; i++) { cout << "Step " << i << endl; sleep(1); } return 0; } ==> I see a lot of unresolved identifiers - Add #include <unistd.h> and #include <iostream> into code - Rebuild project ==> ok. But IDE doesn't fix unresolved identifiers WORKAROUND: "Code Assistance|Reparse Project" context menu item in Projects tab
Confirmed. According to my experience, it's sufficient to close and reopen the file for errors to disappear, it is not necessary to reparse the project. Locally, unresolved errors disaappear soon after adding #include directives and saving the file.
Modified example: //#include <unistd.h> //#include <iostream> //int aaa; using namespace std; // underlined int main(int argc, char** argv) { for (int i = 0; i < 30; i++) { aaa = 1; // underlined cout << "Step " << i << endl; // underlined sleep(1); // underlined } return 0; } Then uncomment the 1-st 3 lines and save the file. Red underline disappears from usage of aaa (aaa = 1), but not from cout, endl and sleep.