Search code examples
jsfprimefacesvisual-studio-code

JSF and primefaces suggestions in vscode


How can I get suggestions/autocomplete for JSF syntax and primefaces components in VScode?

I'm developing a java web application and trying to migrate my working environment, from eclipse to vscode. It's been quicker to operate mvn, do deploys and writing .java files. But I couldn't find a solution for autocompleting JSF and primefaces components syntax in .xhtml files.

Is it possible?

Thanks


Solution

  • There is already an extension to autocomplete the syntax of primefaces components in .xhtml, .jsp, jsf,... files.

    IntelliSense for PrimeFaces: "A Visual Studio Code extension that provides PrimeFaces component completion for the HTML, XHTML, JSP and JSF attribute based on the official Primefaces taglib definitions."

    https://marketplace.visualstudio.com/items?itemName=leosj29.jsf-primefaces-intellisense