Editor and IDE Support

OPA can be integrated into editors and IDEs to provide features like syntax highlighting, query evaluation, policy coverage, and more.

Integrations

Note: See each integration for what features are supported! Not all support the same features.

EditorLink
Atomhttps://github.com/open-policy-agent/opa/tree/master/misc/syntax/atom
Emacshttps://github.com/psibi/rego-mode
IntelliJ IDEAhttps://github.com/vgramer/opa-idea-plugin
Sublime Texthttps://github.com/open-policy-agent/opa/tree/master/misc/syntax/sublime
TextMatehttps://github.com/open-policy-agent/opa/tree/master/misc/syntax/textmate
Vimhttps://github.com/tsandall/vim-rego
Visual Studio Codehttps://marketplace.visualstudio.com/items?itemName=tsandall.opa

Rego Playground

The Rego Playground provides a great editor to get started with OPA and share policies. Try it out at https://play.openpolicyagent.org/