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.

Bug 205248 - Restrict code completion hints legal types
Summary: Restrict code completion hints legal types
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 7.1
Hardware: PC All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 17:04 UTC by arungupta
Modified: 2016-07-07 08:53 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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:

@EJB Cu

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