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.
Code completion doesnt work on stl::map. Example: map<string,string>::iterator iter = m.find(""); Netbeans does not find or identify find as a method of map<>::iterator. Code completion fails for all methods of map. This code compiles fine, g++ has no problems with it.
I can not reproduce this situation. Could you provide your compiler name and netbeans version? Are there any unresolved includes?
Ubuntu 9.04 g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3 Netbeans 6.8, issue also exists on Netbeans 6.7.1 There aren't any unresolved includes. Netbeans accepts that map is a proper structure, but cant find any member functions for it. Apart from small modifications to the -Xms and -Xmx JVM, the system is default.
I have checked on Ubuntu 9.04 with g++ $ g++ --version g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3 and the following works fine. ------------------- #include <map> #include <string> using namespace std; /* * */ int main(int argc, char** argv) { map<string,string> m; map<string,string>::iterator iter = m.find(""); return 0; } -------------- Could you, please, try the most recent 6.8 build http://bertram.netbeans.org/hudson/job/cnd-main/lastSuccessfulBuild/ + clean userdir + no import of settings from prev version. Thanks, Vladimir.