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 198808 - Code completion for EL - missing array indicator
Summary: Code completion for EL - missing array indicator
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.1
Hardware: All All
: P4 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 11:27 UTC by Vladimir Riha
Modified: 2014-01-16 14:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (116.00 KB, image/png)
2011-05-23 11:27 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-05-23 11:27:17 UTC
Please look at the attached screenshot, in older NB 6.9.1, items like requestScope were offered with brackets "[]" indicating that it is an array. In NB7, there are no brackets in list of offered items and also these brackets aren't completed.

Steps to reproduce: Create new JavaWeb/Web application project, JavaEE6 and Glassfish 3.1 used. Try CC in default index.jsp

Product Version: NetBeans IDE Dev (Build 201105230400)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b12
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 1 Vladimir Riha 2011-05-23 11:27:33 UTC
Created attachment 108453 [details]
screenshot
Comment 2 Petr Jiricka 2011-10-06 11:52:51 UTC
Marku, can you please investigate?
Comment 3 Marek Fukala 2011-10-06 14:49:22 UTC
I do not see a strong reason why the brackets should be completed. You may use the dot notation (preferably) so you won't them. I agree that the map object could be somehow marked in the completion list though.
Comment 4 Martin Fousek 2014-01-16 14:35:20 UTC
Vlado, I'm closing that as fixed in 7.4 where I added the type of all implicit objects. In case of requestScope, param and so one there is added Map type according to the specification. The [] brackets looks to me pretty non-standard in comparison to another editors.