Primefaces <p:importEnum> <p:importConstant> expansion support
Hi,
With 20+ developers we develop JSF-Primefaces applications on a JEE-JPA-CDI stack. Switching to IDEA improved the UI-implementation roundtrip dramatically. We don't have the problem described in https://youtrack.jetbrains.com/issue/IDEA-8754. STRG+Spacebar is expanding the properties nicely.
Only pending objective I'd like to achieve is to have IDEA-support for expanding properties of the primefaces importEnum and importConstant features which are depicted here with source code:
http://www.primefaces.org/showcase/ui/misc/importConstants.xhtml
http://www.primefaces.org/showcase/ui/misc/importEnum.xhtml
E.g.
Declaration
<p:importEnum type="javax.faces.application.ProjectStage" var="JsfProjectStages" allSuffix="ALL_ENUM_VALUES" />
<p:importConstants type="org.primefaces.util.Constants" var="PFConstants" />
Usage
#{JsfProjectStages.<Cursor here>} <!-- STRG+Spacebar should suggest all Enum-Instances -->
<h:outputText value="#{PFConstants.<Cursor here>}" /> <!-- STRG+Spacebar should suggest all Constants-->
Q1: Would IDEA be prepared to add this feature?
Q2: If not, would someone mind to point me to plugin, which might serve a a blueprint for XHTML-STRG+Spacebar-Autosuggestion?
Thx in advance
Christian
.
Please sign in to leave a comment.
There is a request for importConstant support already: https://youtrack.jetbrains.com/issue/IDEA-107034. Please vote.
Request for importEnum support is welcome at https://youtrack.jetbrains.com/issues/IDEA.
Done: https://youtrack.jetbrains.com/issue/IDEA-165491
Thanks so far.
If anyone knows a blueprint for IDEA-plugin sourcecode which offers XHTML-JSF STRG-Backspace-Expansion I would be glad to know about.
Is there any news about this feature?
Link: PrimeFaces Showcase
You can follow https://youtrack.jetbrains.com/issue/IDEA-165491 for updates. See https://intellij-support.jetbrains.com/hc/articles/207241135 if you are not familiar with YouTrack.