Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 1.09 KB

vscode.md

File metadata and controls

60 lines (37 loc) · 1.09 KB

Configuring VSCode

Using VSCode thorugh WSL

VSCode requires wget, you may install it like so:

sudo apt install wget


Launch VSCode

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 .


VSCode Extensions

To help with development, here are several recommended plugins:

  • PHP Debug
  • PHP Intelephense
  • PHP Sniffer
  • MySQL

MySQL Extension Usage

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.



The End

Give yourself a pat on the back for making it this far and in one piece. Good luck and happy coding!