Integrate Wooclap events as a Moodle course activity.
For end-users, it is better to install this plugin from the official Moodle store or from a .zip provided by Wooclap.
For development purposes, it can be useful to install it manually from source with the instructions below:
node
npm install
npm run release
https://your-moodle-instance/admin/tool/installaddon/index.php
Linting is done using PHP Code Sniffer (phpcs) with a specific moodle standard.
Some links:
Steps to get linter working on Sublime Text on Windows
composer install
(this uses the composer.json
file to install PHP Code Sniffer at the correct version)vendor_patch.zip
in the newly created vendor\squizlabs\php_codesniffer\CodeSniffer\Standards
Code formatting is done using phpfmt in Sublime Text.
{
"indent_with_space": 4,
"passes":
[
"ReindentSwitchBlocks"
],
"version": 1
}
VSCode extensions