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.
Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211020750) Operating System = Linux version 3.2.0-33-generic running on amd64 Java; VM; Vendor = 1.7.0_09 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02 Was testing Aliases autocompletion: Aliases Create new php file and declare function called reallyLongNameForUselessFunction. In the lines below, type following: use reallyLongNameForUselessFunction as shortName; Now, start typing shortN and invoke code completion. Whole name should be completed. So, autocompletion worked fine, but some strange black square appeared above autocompleted function name. Screenshot will be added.
Created attachment 127183 [details] IDE log
Created attachment 127184 [details] screenshot
I tried it in the dev build, but not able to reproduce that on mac...will try it later on linux.
It's not connected with alias handling. That little black square is there too when someone uses the long name of the function. It's caused by missing parameter. Becase if some parameter is declared in the function, then that parameter name is visible in the black square after code completion. If there is no parameter, then "nothing" is shown.
Fixed in web-main #09b0d991fefc
Integrated into 'main-golden', will be available in build *201211130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/09b0d991fefc User: Ondrej Brejla <obrejla@netbeans.org> Log: #221520 - Black square appears above autocompleted alias
verified Product Version: NetBeans IDE Dev (Build 201212100001) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17 System: Linux version 3.2.0-34-generic running on amd64; UTF-8; en_US (nb)