How to implement a Custom CodeActionProvider? #1119
Answered
by
msujew
rhumbertgz
asked this question in
Q&A
-
Hi, Does anyone have implemented a custom CodeActionProvider? Is there an example available? Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Jul 12, 2023
Replies: 1 comment 5 replies
-
Hey @rhumbertgz, we have an example in the langium grammar language. The idea is just to switch over some attribute of the diagnostic (we use the |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
rhumbertgz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @rhumbertgz,
we have an example in the langium grammar language. The idea is just to switch over some attribute of the diagnostic (we use the
code
, but you can usedata
as well) and return a code action where necessary.