All Projects → open-policy-agent → opa-idea-plugin

open-policy-agent / opa-idea-plugin

Licence: MIT license
Open Policy Agent plugin for IntelliJ

Programming Languages

kotlin
9241 projects
Open Policy Agent
39 projects
shell
77523 projects
Lex
420 projects

Opa IntelliJ plugin

A plugin for IntelliJ that provides support for Open Policy Agent

Main features are:

  • highlighting
  • opa eval run configuration
  • opa test run configuration

Compatibility

The plugin is compatible with all IntelliJ-based IDEs starting from the version 2020.3, with the following differences in the sets of the available features:

[IntelliJ IDEA] Community and Ultimate (commercial) Other IDE
Rego project creation + -
Other features + +

Plugin has been tested against OPA 0.28.0, but should work with more recent versions.

Installation

OPA binary must be in the path. Installation instructions for OPA can be found here.

from Jetbrains repository

Go to Settings / Preferences / Plugins menu. Then, search opa in the Marketplace tab and install the plugin.

Step 3

from source

You can build the project from source and then install it. Build instructions are available here.

Documentation

User documentation is available here.

Contributing

Interested in contributing? Please, start by reading this document.

Acknowledgment

This project is widely inspired by rust IntelliJ plugin. So, thank you JetBrains team.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].