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

lsp: show correct OPA error hint links #728

Merged
merged 1 commit into from
May 21, 2024

Conversation

charlieegan3
Copy link
Member

When regal encounters a parse error, we can sometimes workout the correct opa errors page to send the user to. This PR makes use of some existing code that matches errors to help pages.

Screenshot 2024-05-21 at 13 52 27

When regal encounters a parse error, we can sometimes workout the
correct opa errors page to send the user to. This PR makes use of some
existing code that matches errors to help pages.

Signed-off-by: Charlie Egan <[email protected]>
Copy link
Member

@anderseknert anderseknert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

@anderseknert anderseknert merged commit 9d7530a into StyraInc:main May 21, 2024
3 checks passed
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
When regal encounters a parse error, we can sometimes workout the
correct opa errors page to send the user to. This PR makes use of some
existing code that matches errors to help pages.

Signed-off-by: Charlie Egan <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants