<commit_before>---
title: Editor and IDE Support
kind: misc
weight: 11
---

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.

| Editor | Link |
| --- | --- |
| Atom | [https://github.com/open-policy-agent/opa/tree/master/misc/syntax/atom](https://github.com/open-policy-agent/opa/tree/master/misc/syntax/atom) |
| Emacs | [https://github.com/psibi/rego-mode](https://github.com/psibi/rego-mode) |
| Sublime Text | [https://github.com/open-policy-agent/opa/tree/master/misc/syntax/sublime](https://github.com/open-policy-agent/opa/tree/master/misc/syntax/sublime) |
| TextMate | [https://github.com/open-policy-agent/opa/tree/master/misc/syntax/textmate](https://github.com/open-policy-agent/opa/tree/master/misc/syntax/textmate) |
| Vim | [https://github.com/tsandall/vim-rego](https://github.com/tsandall/vim-rego) |
| Visual Studio Code | [https://marketplace.visualstudio.com/items?itemName=tsandall.opa](https://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/](https://play.openpolicyagent.org/)<commit_msg>Add link to new IDEA plugin<commit_after>---
title: Editor and IDE Support
kind: misc
weight: 11
---

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.

| Editor | Link |
| --- | --- |
| Atom | [https://github.com/open-policy-agent/opa/tree/master/misc/syntax/atom](https://github.com/open-policy-agent/opa/tree/master/misc/syntax/atom) |
| Emacs | [https://github.com/psibi/rego-mode](https://github.com/psibi/rego-mode) |
| IntelliJ IDEA | [https://github.com/vgramer/opa-idea-plugin](https://github.com/vgramer/opa-idea-plugin) |
| Sublime Text | [https://github.com/open-policy-agent/opa/tree/master/misc/syntax/sublime](https://github.com/open-policy-agent/opa/tree/master/misc/syntax/sublime) |
| TextMate | [https://github.com/open-policy-agent/opa/tree/master/misc/syntax/textmate](https://github.com/open-policy-agent/opa/tree/master/misc/syntax/textmate) |
| Vim | [https://github.com/tsandall/vim-rego](https://github.com/tsandall/vim-rego) |
| Visual Studio Code | [https://marketplace.visualstudio.com/items?itemName=tsandall.opa](https://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/](https://play.openpolicyagent.org/)
{'fraction_non_alphanumeric': 0.1596813301004503, 'fraction_numerical': 0.0013855213023900243, 'mean_word_length': 4.428571428571429, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 30, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6872910', 'n_tokens_mistral': 1013, 'n_tokens_neox': 940, 'n_words': 177}