Download on Visual Studio Marketplace
VS Code integration for the Raven intermediate verification language and verification tool.
This extension requires the Raven verifier to be installed on your system. It does not bundle the verifier itself.
Please follow the installation instructions at the Raven repository to install the command-line tool.
You can install this extension directly from the Marketplace, or run the following command in VS Code:
code --install-extension eg3134.raven-ivl- Install Raven: Ensure
ravenis installed (see Prerequisites). - Configure Path: If
ravenis not in your systemPATH, you must set theravenServer.executablePathsetting in VS Code to point to theravenexecutable.- Go to Settings (
Cmd+,/Ctrl+,) - Search for "Raven"
- Set "Executable Path" to the absolute path of your
ravenbinary (example, on macOS:/Users/ekansh/.opam/raven/bin/raven).
- Go to Settings (
- Syntax Highlighting: Proper highlighting for
.ravfiles. - Verification: Automatic verification on save, with error diagnostics.
- Manual Verification: Trigger verification manually with
Cmd+Shift+R. - Diagnostics: Errors and warnings shown directly in the editor.
This extension provides the following settings:
ravenServer.maxNumberOfProblems: Controls the maximum number of problems produced by the server.ravenServer.trace.server: Traces the communication between VS Code and the language server.ravenServer.executablePath: Path to the Raven executable. Defaults to 'raven' (assumed to be in your PATH).
- Verification: Verification runs automatically on save.
- Manual Verification: You can trigger verification manually by pressing
Cmd+Shift+R(Mac) orAlt+Shift+R(Windows/Linux) when editing a.ravfile.
To develop or build the extension locally:
$ npm install
$ npx @vscode/vsce package
$ code --install-extension raven-1.0.0.vsix