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.
Reproduced in build080407. Type <?php $v1 = 1; $ ?> Select $ and invoke CC -> all possible variations are shown in CC list instead only one element $v1
It works fine for me in given build, I am marking as WORKSFORME because I am pretty sure this problem was not just fixed during development. Probably the conditions for reproducing it are more specific, you are welcome to reopen the bug when you find them. A screenshot could be helpful too.
Created attachment 59789 [details] it is working for me
Code should be selected.
Created attachment 59836 [details] screenshot
I don't see anything wrong with this situation, when you mark code and invoke code completion it means you want to replace it. Code completion works as if the marked text was not there