Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Syntax Highlighter for FO(·) (Beta)New to Visual Studio Code? Get it now.
Syntax Highlighter for FO(·) (Beta)

Syntax Highlighter for FO(·) (Beta)

Christian Fleiner

|
1 install
| (0) | Free
Syntax highlighter for FO(·). The formal language is also known as FODOT and is used by the reasoning engine IDP-Z3.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FO(·) extension for Visual Studio Code (Beta)

A Visual Studio Code extension with rich support for the FO(·) language, providing syntax highlighting, code snippets, and convenience commands.

FO(·) files have one of the following extensions: .fol, .fodot, .idp, .idpz3, .idp-z3.

(add code example)

Support for vscode.dev

The FO(·) extension was not yet tested on vscode.dev.

FO(·) language and its ecosystem

  • The FO[·] standard extends first-order logic to allow complex knowledge to be expressed in a rigorous and elaboration-tolerant way. FO[·] facilitates the development of knowledge-intensive applications capable of intelligent behavior [CVVD22]. For instance, FO[·] introduces (inductive) definitions, aggregates, and types. Please refer to the official documentation to learn more.

  • FO(·) represents a machine-readable interpretation of the FO[·] standard to describe knowledge bases that can be used by reasoning engines.

  • IDP-Z3 is a reasoning engine for domain knowledge that leverages FO(·) knowledge bases. An online tutorial to get started with IDP-Z3 is available. IDP-Z3 can perform many useful inference tasks to drive intelligent behavior and support your users in their processes:

    • Verifying conformance
    • Generating possible solutions
    • Deriving consequences
    • Explaining why a fact can (not) be derived
    • Ask relevant questions
  • In addition, IDP-Z3 has several user-friendly extensions to simplify working with FO(·) knowledge bases (e.g., cDMN)

Quick start

  • Step 1. Install the IDP-Z3 core to integrate it in a Python project.
  • Step 2. Install the FO(·) extension for Visual Studio Code
  • Step 3. Open or create a FO(·) file and start coding.

Useful commands (TODO)

Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/Linux) and type in one of the following commands:

TODO(add command table [command|hotkey|description])

Useful snippets (TODO)

The extension contains multiple best practice templates as snippets to speed up the development. Extended templates can be found here

Prefix Description
::init Initalize IDP-z3 code blocks.
::example Insert nails example.

Supported locales (TODO)

The extension is available in multiple languages: de, en, fr, nl

Questions, issues, feature requests, and contributions

  • If you have a question about how to accomplish something with the extension, please ask on our Discussions page.
  • If you come across a problem with the extension, please file an issue.
  • Contributions are always welcome! Please see our contributing guide for more details.
  • Any and all feedback is appreciated and welcome!
    • If someone has already filed an issue that encompasses your feedback, please leave a 👍/👎 reaction on the issue.
    • Otherwise please start a new discussion.
  • FO[·], FO(·), and IDP-Z3 are actively developed by The Declarative Languages and Artificial Intelligence (DTAI) group which is part of KU Leuven. If you want to contribute, please contact:
    • your supervisor if you are an internal student.
    • the DTAI administration if you are external.

Data and telemetry

No data is collected or shared by using the FO(·) extension for Visual Studio Code.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft