https://github.com/soaibsafi/smt-z3-vscode
VSCode extension for SMT2 language with Z3 solver
https://github.com/soaibsafi/smt-z3-vscode
smt smt-lib vscode-extension z3
Last synced: 24 days ago
JSON representation
VSCode extension for SMT2 language with Z3 solver
- Host: GitHub
- URL: https://github.com/soaibsafi/smt-z3-vscode
- Owner: soaibsafi
- License: mit
- Created: 2024-09-16T20:57:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T17:33:30.000Z (about 1 month ago)
- Last Synced: 2025-03-19T18:31:20.423Z (about 1 month ago)
- Topics: smt, smt-lib, vscode-extension, z3
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=Soaibuzzaman.smt-z3
- Size: 515 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Z3 Extension for Visual Studio Code
## Features
- Syntax highlighting for SMT-LIB2 files (`.smt2`, `.smt`) from [SMT.tmbundle](https://github.com/SRI-CSL/SMT.tmbundle)
- Execute SMT-LIB2 files with Z3 without explicitly installing Z3> [!TIP]
> For language server support and use the Z3 solver online, check out the [FM Playground](https://play.formal-methods.net/?check=SMT)!
## Usage
For executing SMT-LIB2 files, open a `.smt2` or `.smt` file and click on the `▶ Execute` button in the top right corner of the editor. The result will be displayed in the output window. You can also open the command palette (Ctrl+Shift+P) and type `SMT-Z3: Execute Z3`.
For stopping the execution, click on the `⏹ Stop` button in the top right corner of the editor.
### Configuration
Open the settings (Ctrl+Shift+P or ⌘ + ⇧ + P) and search for `SMT-Z3: Open Settings`.
- Show Execute/Stop CodeLens button on the current line.
- This will show `Execute | Stop` on the current line of the editor.
- Show the timestamp of the last solve operation and the time taken.
- This will show the timestamp of the last solve operation and the time taken in the output window.
- Timeout in milliseconds for SMT-Z3 execution.
- This will set the timeout in milliseconds for the SMT-Z3 execution. The default value is 5000 ms.## License
This extension is licensed under the MIT License. See [LICENSE](LICENSE) for more information.