Skip to content
Discussion options

You must be logged in to vote

Hi @MathiasSJacobsen,

the Quick fix... button is populated by the CodeAction provided by the language server. We offer a basic CodeActionProvider interface, but no default implementation since that is highly language specific.

However, you can see it in action in the langium grammar language, where we use it to fix common mistakes. Currently, code actions work based on text changes, but we are thinking about adding additional utilities to provide code actions based on semantic changes (i.e. changes to the model which get translated into text changes).

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@msujew
Comment options

@RobertWalterU3d
Comment options

@msujew
Comment options

@RobertWalterU3d
Comment options

@msujew
Comment options

Answer selected by MathiasSJacobsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants