- (optional) Run test-clean-start.sh
- Open the project in a dev container
- install the recommended "Dev Containers" vscode extension
- allow it to connect to the local Docker daemon
- reopen the project in the container
- Open the multi-root workspace
- select the file "gcl-all.code-workspace"
- click "Open Workspace"
- Open a ".hs" file in gcl/src and click "Manually via PATH" (this will set
haskell.manageHLS
to PATH). Important: Do NOT select "Automatically via GHCup"! - Open a vscode terminal in
gcl/
and run "stack install" to update ~/.local/bin/gcl - Press
Ctrl + F5
to launch the extension + LSP server in a new window
- Select "Code -> Codespaces -> Create codespace on main" and wait for 5 to 10 minutes. If it hangs, delete it and start over again.
- Click "Open Workspace", or open "gcl-all.code-workspace" and click "Open Workspace"
- Open a ".hs" in gcl/src, click "Manually via PATH" (NOT "Automatically via GHCup" !)
- Delete the codespace at https://github.com/codespaces