A Visual Studio Code extension that provides component completion in the HTML, XHTML and JSF. Based on the official Taglib definitions.
Automatic detection of xmlns (You must include the namespace mandatory).
http://java.sun.com/jsf/html
or http://xmlns.jcp.org/jsf/html
or jakarta.faces.html
http://java.sun.com/jsf/core
or http://xmlns.jcp.org/jsf/core
or jakarta.faces.core
http://xmlns.jcp.org/jsp/jstl/core
or jakarta.tags.core
http://java.sun.com/jsf/composite
or http://xmlns.jcp.org/jsf/composite
or jakarta.faces.composite
http://java.sun.com/jsf/facelets
or http://xmlns.jcp.org/jsf/facelets
or jakarta.faces.facelets
http://primefaces.org/ui
or primefaces
http://primefaces.org/ui/extensions
or primefaces.extensions
http://omnifaces.org/ui
or omnifaces.ui
http://richfaces.org/rich
http://richfaces.org/a4j
You can customize the alias name.
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:cc="http://java.sun.com/jsf/composite"
xmlns:p="http://primefaces.org/ui">
......
<!-- Or -->
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:composite="http://java.sun.com/jsf/composite"
xmlns:pf="http://primefaces.org/ui">
......
Command to manually re-cache the class definitions used in the autocompletion;
User Settings.
It's possible to specify which language modes will have autocompletion. There are five settings for this feature:
faces-intellisense.languages
is for language modes based on HTML.Check out the changelog for the current and previous updates.
The extension will automatically display the completion options. In case the completion is not showing, you can run the command by pressing Ctrl+Shift+P (Cmd+Shift+P for Mac) and then typing "Faces Cache".
The extension supports a few user settings, changes to these settings will be automatically recognized and the caching process will be re-executed.
To generate or update tag libraries you can do the following:
\generator
.npm install
npm run start
to generate new code.To add a new library or update just edit \generator\src\index.ts
and run npm run start
.
You can request new features and contribute to the extension development on its repository on GitHub. Look for an issue you're interested in working on, comment on it to let me know you're working on it and submit your pull request! :D
Thanks goes to these wonderful people (emoji key):
Per-Steinar Karlsen π» |
Tito Sanchez π» |
Leonardo SJ π» |
FlipWarthog π§ π» |
Melloware π» |
DebasishWe π |
Jeff Brower π |
This project follows the all-contributors specification. Contributions of any kind welcome!