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

Add Rego Playground to "Share" menu #207

Open
anderseknert opened this issue Jun 26, 2024 · 0 comments
Open

Add Rego Playground to "Share" menu #207

anderseknert opened this issue Jun 26, 2024 · 0 comments

Comments

@anderseknert
Copy link
Member

VS Code provides a "Share" menu that appears when right clicking anywhere in the editor. Similar to the "Copy vscode.dev" link, it'd be nice if we had a "Copy Rego Playground Link".

Screenshot 2024-06-26 at 10 57 06

We could do this by having the menu item call the PG API's v1/share endpoint with the policy from the active editor and input from the closest input.json file, if one exists.

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

No branches or pull requests

1 participant