- Sign up for a GitHub account
- Go to https://gitpod.io/#https://github.com/utahplt/dafny-gitpod
- Log in with GitHub
- Wait for VSCode to appear
- Go to https://gitpod.io, find the new workspace, click the
...
on the right, and pin this workspace.- If you don't pin it, GitPod may throw it away after N days!!
- Install Dafny from VSIX.
- Right-click
ide-vscode-3.2.2.vsix
thenInstall Extension VSIX
- Right-click
- Exit the workspace and reopen it from https://gitpod.io
- _(There must be an easier way to reboot and get Dafny running, but I haven't found it!)
- Open an example file. Verification should succeed. Edit the invariants to make it fail.
- Examples:
Abs.dfy
,LinearSearch.dfy
- You may need to accept a VSCode popup (bottom-right) about using Dafny 4.4
- Examples:
Dafny verifies on the fly as you edit code.