Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 205248 - Restrict code completion hints legal types
Restrict code completion hints legal types
Product: javaee
Classification: Unclassified
Component: EJB
PC All
: P3 (vote)
: 7.2
Assigned To: Martin Fousek
Depends on:
  Show dependency treegraph
Reported: 2011-11-17 17:04 UTC by arungupta
Modified: 2016-07-07 08:53 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description arungupta 2011-11-17 17:04:16 UTC
A Java EE 6 project has a stateless bean CustomerSessionBean. Injecting it in a Servlet as:


and hit Ctrl+Space. This should show only the types can come here instead of the complete list.
Comment 1 Martin Fousek 2011-11-21 06:03:31 UTC
Thanks for reporting. I can take a look on that if it's doable for NB72. There works common java editor CC so actually there would be needed (probably new) API for filtering the CC, I will speak with guys from the editor.

BTW, you can also use action ALT+Insert (Insert code action) and choose 'Call Enterprise Bean' for injecting the bean into the servlet.
Comment 2 Martin Balin 2016-07-07 08:53:36 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo