This project aims to expose a set of Snippets and shortcuts to creation of your functions, controllers and everything else to create your Enonic XP App.
To install an extension you can run the Command Pallete through the command Ctrl + Shift + P
or Cmd + Shift + P
, type Install Extensions
and press Enter
. That done, you can search for Enonic and you will find the Enonic XP Snippets extension.
- JavaScript (.js)
When you install this Extension, XP development will be faster and funnier!
Bellow is the list with all available Snippets and their respective triggers. The ⇥ means TAB
.
Trigger | Content |
---|---|
addAttachment → |
Adds an attachment to an existing content |
create → |
This function creates a content |
createWithHandler → |
This function tries to creates a content |
Contributions are what makes the open source community a incredible place to learn, inspire and create. Any contribution you make will be very appreciated.
- Make a Fork
- Create a branch for your feature (
git checkout -b feature/IncredibleFeature
) - Add your changes (
git add .
) - Commit them (
git commit -m 'Adding an incredible feature!
) - Do a push to the Branch (
git push origin feature/IncredibleFeature
) - Open a Pull Request
Distributed under MIT License. Check LICENSE
for more information.
PVMerlo - Github - pvmerlo@gmail.com.br