Often code completion list contains both forward class declaration and its definition. That's definitely incorrect.
Don't list forward declarations in code completion unless there is no de
(Sorry for typos, I occasionally pressed "Save")
If there is no definition in the completion list, then forward class declaration should be listed there, otherwise it should not.
fixed, change set 00542194f939 on enum
Integrated into 'main-silver', will be available in build *201610200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Vladimir Kvashin <email@example.com>
Log: fixed #268487 - Don't list forward declarations in code completion and #267752 - Code Completion doesn't help to type new STL variable (some changes are common for these 2 bugs)
(transplanted from 00542194f9392d423478c537fccf6da06c94480d)
Verified in internal NetBeans 8,2 patch 1 build.