Class cvc_enumeration_validCodeAction

java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.cvc_enumeration_validCodeAction
All Implemented Interfaces:
ICodeActionParticipant

public class cvc_enumeration_validCodeAction extends Object implements ICodeActionParticipant
Code action to fix cvc_enumeration_valid error only for text, because for attribute cvc-attribute-3 error fix it.
  • Constructor Details

    • cvc_enumeration_validCodeAction

      public cvc_enumeration_validCodeAction()
  • Method Details

    • doCodeAction

      public void doCodeAction(ICodeActionRequest request, List<org.eclipse.lsp4j.CodeAction> codeActions, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
      Description copied from interface: ICodeActionParticipant
      Collect the code action in the given codeActions for the given code action request request.
      Specified by:
      doCodeAction in interface ICodeActionParticipant
      Parameters:
      request - the code action request.
      codeActions - list of code actions to fill.
      cancelChecker - the cancel checker.