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 221520 - Black square appears above autocompleted alias
Summary: Black square appears above autocompleted alias
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P4 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-05 21:49 UTC by Selpi
Modified: 2012-12-10 14:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (33.12 KB, text/plain)
2012-11-05 21:49 UTC, Selpi
Details
screenshot (127.97 KB, image/png)
2012-11-05 21:51 UTC, Selpi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Selpi 2012-11-05 21:49:05 UTC
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.
Comment 1 Selpi 2012-11-05 21:49:09 UTC
Created attachment 127183 [details]
IDE log
Comment 2 Selpi 2012-11-05 21:51:00 UTC
Created attachment 127184 [details]
screenshot
Comment 3 Ondrej Brejla 2012-11-06 08:46:12 UTC
I tried it in the dev build, but not able to reproduce that on mac...will try it later on linux.
Comment 4 Ondrej Brejla 2012-11-12 14:09:45 UTC
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.
Comment 5 Ondrej Brejla 2012-11-12 14:39:47 UTC
Fixed in web-main #09b0d991fefc
Comment 6 Quality Engineering 2012-11-13 02:43:36 UTC
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
Comment 7 Martin Kanak 2012-12-10 14:50:34 UTC
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)