cmput325-devcontainer/README.md

1.7 KiB

Notes

  • Container will configure vscode's settings to recognize .pl files as Prolog rather than the default Perl.
  • Will install extensions for lisp, prolog, and ASP
  • Will configure SBCL to use rlwrap so that you have history when using a lisp REPL
    • (Currently using the slightly worse rlfe instead of rlwrap due to rlwrap breaking all the time)

How to use

  1. You will need to have vscode and Docker installed.

  2. Install the vscode extension for docker dev containers as shown in the image below Step 1

  3. Clone this repository (or just download it) and open the folder that contains the .devcontainer folder

Step 2

  1. Your folder structure should look like the following

Step 3

  1. Open the commands palette (CTRL + SHIFT + P) or (CTRL + P + >) and type "open in container" and select "Dev Containers: Reopen in Container"

Step 4

  1. It may take a bit to download the docker container, go grab a coffee

  2. Confirm that you're running in the container and have the extensions shown in the following image installed

Step 5

  1. Only the folders .devcontainer, .vscode and the file Dockerfile are needed for the container to function correctly. Delete everything else including .git