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.
Summary: | Shortcut to import several namespace prefixes | ||
---|---|---|---|
Product: | javaee | Reporter: | arungupta <arungupta> |
Component: | JSF Editor | Assignee: | Martin Fousek <marfous> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pjiricka, vriha |
Priority: | P2 | ||
Version: | -S1S- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
arungupta
2011-11-16 21:55:38 UTC
*** Bug 235551 has been marked as a duplicate of this bug. *** Most of this implemented in: web-main #e47c5a5d983f web-main #06c675cac3f8 web-main #1e19beb61747 web-main #906366fc63ef web-main #cea7e9459276 web-main #a59955f98773 web-main #a89df4f09e92 web-main #f30c7e0c432a It's not fully finished and I'll work more on that but the basic functionality is already pushed into the trunk. Marking as fixed - remaining TODOs I have noticed. BTW, the shortcut set to this action is CTRL+SHIFT+I and the action works as a Fix Imports global or Fix Namespaces popup action. I briefly try it and it seems to work quite well. I have one observation (but perhaps it is in your todo list). When I have a custom (non-standard) prefix for namespace, like <test:choose> </test:choose> and select jstl/core ns to be imported, would it make sense to import it with prefix "test" instead of "c"? xmlns:test="http://xmlns.jcp.org/jsp/jstl/core" You are definitely right, could you enter an issue against it to have it tracked? Thanks a lot. Reported as issue 238155 |