VSCode requires wget
, you may install it like so:
sudo apt install wget
Set your active directory to the mod/peerassess
folder and run the code
command to launch VSCode in that folder:
cd /opt/lampp/htdocs/mod/peerassess
code .
To help with development, here are several recommended plugins:
- PHP Debug
- PHP Intelephense
- PHP Sniffer
- MySQL
This extension allows you to view your database live. You may also use PhpMyAdmin as a web-hosted alternative.
You may add a new connection with the following settings assuming default configuration:
Setting | Value |
---|---|
Host | localhost |
User | moodle |
Password | moodle |
Port | 3306 |
You may then access the list of tables and Select Top 1000
to list database records in the VSCode window.
Give yourself a pat on the back for making it this far and in one piece. Good luck and happy coding!