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.
The following code shows four cases that should autocomplete after typing the '.'. One case however does not work when it should. This is C++11. #include <string> std::string someStr; auto &test1 = someStr; namespace foo { auto &test2 = someStr; std::string &test3 = someStr; void func() { test2. ; // Works } } void someFunc() { test1. ; // Works foo::test2. ; // Doesn't work when it should foo::test3. ; // Works }
Fixed in http://hg.netbeans.org/cnd-main/rev/c37673d7642c
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c37673d7642c User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #249463 - Code Assistance fails on auto type when used outside of namespace in C++11