Class MinifyCodeActionResolver

java.lang.Object
org.eclipse.lemminx.extensions.minify.participants.MinifyCodeActionResolver
All Implemented Interfaces:
ICodeActionResolvesParticipant

public class MinifyCodeActionResolver extends Object implements ICodeActionResolvesParticipant
CodeAction resolver for the minify action.
  • Field Details

    • PARTICIPANT_ID

      public static final String PARTICIPANT_ID
  • Constructor Details

    • MinifyCodeActionResolver

      public MinifyCodeActionResolver(XMLMinifier minifier)
  • Method Details

    • resolveCodeAction

      public org.eclipse.lsp4j.CodeAction resolveCodeAction(ICodeActionResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
      Description copied from interface: ICodeActionResolvesParticipant
      Returns the resolved codeAction coming from the unresolved codeAction of the given request.
      Specified by:
      resolveCodeAction in interface ICodeActionResolvesParticipant
      Parameters:
      request - the resolve code action request.
      cancelChecker - the cancel checker.
      Returns:
      the resolved codeAction coming from the unresolved codeAction of the given request.