Steps to reproduce:
- type "std::atomic"
- invoke code completion
Completion list contains a lot of specialized types
- select "atomic<bool>" in completion list
IDE inserts "atimic<>".
It is a regression. See bug #223934
It seems regression was introduced while fixing bug #268487
I think we should just not list specializations in the completion list.
I think this issue should be fixed via not listing specializations in the completion list.
(In reply to Vladimir Kvashin from comment #2)
> I think we should just not list specializations in the completion list.
> I think this issue should be fixed via not listing specializations in the
> completion list.
IMHO it is a valuable feature to insert specialized template.
In my example in most cases user want to inset exactly listed specialization of atomic (i.e. atomic<bool> or atomic<int>). Why user need to type "bool" or "int"?
I agree. Full specializations worth to insert with specialized params to eleminate extra typing
fixed in enum, branch release82, change set 87a170f4fd7f
Integrated into 'main-silver', will be available in build *201612030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Alexander Simon <email@example.com>
Log: fixed Bug #268711 Code completion does not insert specialized types
(transplanted from 87a170f4fd7f9e5f5483d03b3f9346a1184adc88)
Verified in internal NetBeans 8,2 patch 1 build.