title | kind | weight |
---|---|---|
Editor and IDE Support |
misc |
2 |
OPA can be integrated into editors and IDEs to provide features like syntax highlighting, query evaluation, policy coverage, and more.
Editor | Link | Note |
---|---|---|
Visual Studio Code | marketplace.visualstudio.com/items?itemName=tsandall.opa | Supports Language Server and Debug Adapter |
Neovim | Syntax highlighting tree-sitter-rego, Language server nvim-lspconfig, Debugger nvim-dap + nvim-dap-rego | Supports Language Server and Debug Adapter |
Zed | github.com/StyraInc/zed-rego | Supports Language Server |
IntelliJ IDEA | github.com/open-policy-agent/opa-idea-plugin | |
Vim | github.com/tsandall/vim-rego | |
Emacs | github.com/psibi/rego-mode | |
Nano | github.com/scopatz/nanorc | |
Sublime Text | github.com/open-policy-agent/opa/tree/main/misc/syntax/sublime | |
TextMate | github.com/open-policy-agent/opa/tree/main/misc/syntax/textmate |
{{< info >}} Your editor missing? Built a Rego integration for your editor? Drop us a message on Slack We also have our Ecosystem page. This is a great place to showcase your project. See these instructions to get it listed. {{</ info >}}
The Rego Playground provides a great editor to get started with OPA and share policies. Try it out at play.openpolicyagent.org.