EasyCrypt language support for Visual Studio Code: syntax highlighting, diagnostics via the easycrypt CLI, and interactive proof development with proof-state navigation.
Features
Syntax highlighting for EasyCrypt (.ec, .eca).
Diagnostics / squiggles by running EasyCrypt and parsing its output.
Manual check via command.
Optional live checks on change/save.
Interactive proof navigation backed by a long-running EasyCrypt process:
Step forward/backward through statements.
Jump to cursor.
Reset proof state.
Proof State view (Explorer panel) that shows goals/messages/output and includes navigation buttons.
Status bar indicator for quick “check file” access.
Verbose logging to the “EasyCrypt” Output channel (optional).
Requirements
EasyCrypt installed locally.
The easycrypt executable must be available on your PATH, or configured explicitly via easycrypt.executablePath.
Getting Started
Install EasyCrypt.
Open an EasyCrypt file (.ec/.eca) in VS Code.
Run “EasyCrypt: Check File” from the Command Palette.
(Optional) Open the Proof State view in the Explorer to step through proofs.
Commands
From the Command Palette:
EasyCrypt: Check File (easycrypt.checkFile)
EasyCrypt: Start/Restart Process (easycrypt.startProcess)
EasyCrypt: Stop Process (easycrypt.stopProcess)
EasyCrypt: Clear All Diagnostics (easycrypt.clearAllDiagnostics)