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.
Try this in JS file: var oldP3 = $("td[data-type=\"p3container_container\"]").attr("title") || ''; if (oldP3.length > 0) { oldP3 = oldP } and press Ctrl+Space here: oldP3 = oldP| oldP should be completed to oldP3 Product Version: NetBeans IDE Dev (Build web-main-9444-on-20121206) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Do you mean automatically? I'm asking because I get the code completion with offering the oldP3 for me. But I have tried it in global context. Do you see the problem in the latest build.
Yes I mean "autoinserted" so if I have this var oldP3 = $("td[data-type=\"p3container_container\"]").attr("title") || ''; if (oldP3.length > 0) { oldP3 = oldP } and invoke cc at the mentioned place, it should (or could?) be auto completed/inserted so result is oldP3 = oldP3 without need to confirm the item in cc. Like in Java if there's only one option left, it is inserted. Product Version: NetBeans IDE Dev (Build web-main-9461-on-20121207) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Thanks, just to be sure that we are talking about the same:)
This seems to be working in: Product Version: NetBeans IDE Dev (Build 20150622-3159206f97b3) Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11 Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15 System: Mac OS X version 10.10.3 running on x86_64; UTF-8; en_US (nb)