Visual Studio Code snippets for XenForo 2 development, based on @Kier's PhpStorm Live Templates ver 20210519.
The following (language).json snippets are included :
Télécharger V20211010 :
Version 20211012 JavaScript Snippet Improvements :
The VS Code Snippets for JavaScript now convert the CamelCase Element/Event Name to lowercase-and-dash for the HTML identifier (data-xf-init).
Télécharger V20211012 :
The following (language).json snippets are included :
- css
- html
- javascript
- php
- Extract the zip file to your local computer containing the above (language).json files.
- In VS Code, go to
File > Preferences > User Snippets - Select the Existing or New Snippet (language) to edit
- Copy the contents of the relevant extracted file and paste into the VS Code editor for the (language).json snippet.
- Save the (language).json file
Télécharger V20211010 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 20211012 JavaScript Snippet Improvements :
The VS Code Snippets for JavaScript now convert the CamelCase Element/Event Name to lowercase-and-dash for the HTML identifier (data-xf-init).
Télécharger V20211012 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
