Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build IDE integration for IntelliJ #1085

Closed
tsandall opened this issue Nov 26, 2018 · 10 comments
Closed

Build IDE integration for IntelliJ #1085

tsandall opened this issue Nov 26, 2018 · 10 comments

Comments

@tsandall
Copy link
Member

tsandall commented Nov 26, 2018

It would be nice to have an IntelliJ plugin that adds OPA syntax highlighting, syntax checking, testing, tracing, and evaluation features like we have for VS Code.

I haven't looked into the development effort required for creating IntelliJ plugins. Over time it would be great to have feature parity with the VS Code plugin.

@tsandall
Copy link
Member Author

tsandall commented Feb 4, 2019

This feature has been proposed as part of GSoC 2019. https://github.com/cncf/soc#open-policy-agent-opa

@tsandall
Copy link
Member Author

tsandall commented Oct 1, 2019

@vgramer is looking into this.

@tsandall
Copy link
Member Author

tsandall commented Feb 7, 2020

@vgramer do you have any updates on this? We're going to submit it to GSOC 2020 but if you have made a bunch of progress we can always pull it.

@vgramer
Copy link
Member

vgramer commented Feb 10, 2020

Hi nothing really tangible. Unfortunately I didn’t have time to work on it during holiday and I have a bit forgotten what I have done :s

Anyway so far, I have implemented a subset of the rego grammar (a subset was easier to debug) and some functionally like highlighting or commenting . But i am still struggling with intelliJ api to know how to execute an action (opa fmt, opa eval ... ) and renderer the result.

I hope to have more time in the next week to work on it . However i think it's a good idea to submit to GSOC 2020, there are a lots of work to do ;)

@sresthas
Copy link
Contributor

Hey, If nobody has been working on this, can this be proposed for CommunityBridge?
I would be happy to work on this

@vgramer
Copy link
Member

vgramer commented Apr 29, 2020

@twisted-sres Yeah sure.
Please ping me on opa slack so we can start taking about that.

Slack id vgramer

@ashutosh-narkar
Copy link
Member

@vgramer if you would like to propose the project for CommunityBridge, you would need to add it here with a description similar to this.

The deadline is May 1st 2020.

@UkonnRa
Copy link

UkonnRa commented Sep 15, 2020

Hi, any update? This is a nice idea

@vgramer
Copy link
Member

vgramer commented Sep 15, 2020

Hi @UkonnRa
A first version of the plugin is available here: https://github.com/vgramer/opa-idea-plugin. The installation of the plugin requires some manual configuration for the moment (add a custom repository). It should be available in the stable repository (no manual configuration) by the next week.

@tsandall
Copy link
Member Author

I'm going to close this issue now since the plugin exists over at https://github.com/vgramer/opa-idea-plugin. We can file bug/enhancement issues in that repo going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants