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.
Created attachment 144991 [details] IDE log To reproduce, please create a new JavaEE7 project with JSF 2.2 on GF4 and replace content of index.xhtml with following: <!DOCTYPE html> <html xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns="http://www.w3.org/1999/xhtml"> <h:head> <title>Facelet Title</title> </h:head> <h:body> Hello from Facelets </h:body> </html> - press Ctrl+Shift+I => nothing happens, also in Source|Fix imports this action is disabled Product Version: NetBeans IDE Dev (Build 201402100001) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Vlado I'm not able to reproduce your issue. I tried Ant Web Project EE7, JSF2.2, GF4 with the content of the file you attached here. Also I tested that with JDK7 and JDK8. Please give it another try with newer build. Thanks.
Created attachment 145018 [details] IDE log 2 What I did: - start IDE with Features on demand - create a new HTML5 project, all default => some modules were activated - create a new Java Web project (Java EE7, GF4) with JSF 2.2 => JavaEE modules get activated => Fix namespaces is not available (missing in context menu in editor, disabled in Source main menu Product Version: NetBeans IDE Dev (Build 201402110001) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 145019 [details] screenshot 1
Created attachment 145020 [details] screenshot 2
After offline discussion, I'm lowering that priority. The issue is reproducible only by steps described in comment #2 and if I active JavaEE first or after IDE restart everything works well, there shouldn't be many users facing this. Proposed solution is new (editor) API for this kind of action. Such an API would delegate to the implementations per the EditorKit. But I'm afraid that it's not possible to have it done before the code freeze.
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