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 Dev (Build 201408120001) Operating System = Mac OS X version 10.9.4 running on x86_64 Java; VM; Vendor = 1.8.0 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b70 Maven based, jsf web project with template, issue happens on ui:composition page i.e: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui" xmlns:fn="http://java.sun.com/jsp/jstl/functions" template="/template/flow.xhtml"> #{fn: -> ctrl - space gives popup with "No suggestions" cmd-shift-i removes the namespace import for fn completely: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui" template="/template/flow.xhtml">
Created attachment 148681 [details] IDE log
Created attachment 148682 [details] Screenshot
Also no code completion for primefaces functions or omnifaces functions: xmlns:p="http://primefaces.org/ui" xmlns:of="http://omnifaces.org/functions" cmd-shift-i removes the of namespace completely, the primefaces one is safe if there are <p: components on the page, otherwise also gets removed even if function is present
Decreasing priority and keeping for later evaluation. I'm going to go through described steps and raise issue for particular issues. It looks to me like 3 bugs mixed into once. Anyway, thanks for your report.
Ok, I understand your point, reproduced code completion doesn't work for any functions inside Facelets. The second part of the issue (fix namespace action), I'm going to separate to another bug. Steps to reproduce are easy: 1, add any namespace which holds functions into the facelets NS definition: i.e. xmlns:fn="http://java.sun.com/jsp/jstl/functions" 2, invoke CC inside #{|} or #{fn:|} Thanks for the report.
Second part of the issue reported as the bug #246471.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss