IDE Support

Oso’s IDE (Integrated Development Environment) integrations provide syntax highlighting for .polar files. Additionally, our Visual Studio Code extension will display diagnostics (errors & warnings) from your Oso Cloud policy in-line in the editor and in VS Code's Problems pane.

Supported editors

Visual Studio Code (opens in a new tab)

Features

  • Syntax highlighting.
  • Diagnostics (errors & warnings) from your Oso Cloud policy are displayed in-line in the editor and in VS Code's Problems pane.
    • The extension immediately highlights errors and warnings encountered while parsing and validating your policy, such as if a rule is missing a trailing semicolon, or a resource block declares "owner" as both a role and a relation. You would normally see this feedback when uploading your policy to Oso Cloud, but the extension surfaces it while you edit your policy.
ℹ️

For changes to the VSCode extension, see Changelog.

Vim (opens in a new tab)

Features

  • Syntax highlighting.

Any editor with Language Server Protocol (opens in a new tab) support

  • Use the oso-cloud lsp command to start an LSP server. See your editor's documentation for more information on how to configure LSP servers.

Want support for your IDE of choice?

Talk to an Oso engineer

If you'd like to learn more about using Oso Cloud in your app or have any questions about this guide, connect with us on Slack. We're happy to help.

Get started with Oso Cloud →