Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SMT LSPNew to Visual Studio Code? Get it now.
SMT LSP

SMT LSP

hra687261

|
304 installs
| (0) | Free
Type checking and syntax highlighting the SMT-LIB Standard
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SMT-LSP

Type checking and syntax highlighting the SMT-LIB Standard.

The LSP used by this extension is Dolmen's language server (dolmenls).

The syntax highlighting is a copy of SMT.tmbundle.

Dependencies

The extension comes with dolmenls on Linux and Windows (x86-64) and on Apple Silicon Macs (Dolmen's license: LICENSE-dolmen.txt). On other platforms, or to use another version of dolmenls, you need to install it:

  • With opam (Checkout opam's website to see how to install it):

    • To install the latest release of dolmenls run:

      opam install dolmen_lsp

    • To install the dev version run:

      opam pin add https://github.com/Gbury/dolmen.git

  • By downloading it from the binaries provided in dolmen's releases

and for the extension to use that version of the dolmenls binary (installed manually or downloaded), set the smt-lsp.binary option in the extension's settings to the path of the binary

for more information on dolmenls checkout Dolmen's doc

Installation

From the Visual Studio marketplace: https://marketplace.visualstudio.com/items?itemName=hra687261.smt-lsp

From the Open VSX registry: https://open-vsx.org/extension/hra687261/smt-lsp

From source (requires npm, curl, vsce and code):

make          # builds smt-lsp-X.X.X-<platform>.vsix for each platform, and smt-lsp-X.X.X.vsix (without dolmenls)
make install  # builds them if needed, then installs the one for this platform in VS Code
make clean    # removes the built packages and the downloaded dolmenls binary

where X.X.X is the version field of package.json.

Configuration

The extension has the following settings:

  • "smt-lsp.preludes": a list of paths to prelude files that will be parsed and typed before parsing and typing the files that are opened when using the extension.
  • "smt-lsp.binary": a path to the dolmenls binary. By default, the extension uses the dolmenls it comes with.

TODO

  • Syntax highlighting for the other languages supported by Dolmen. (some day)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft