Uses of Interface
org.eclipse.lemminx.services.extensions.codeaction.ICodeActionParticipant
Packages that use ICodeActionParticipant
Package
Description
-
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.contentmodel.participants
Classes in org.eclipse.lemminx.extensions.contentmodel.participants that implement ICodeActionParticipantModifier and TypeClassDescriptionclassExtension to support XML code actions based on content model (XML Schema completion, etc)Method parameters in org.eclipse.lemminx.extensions.contentmodel.participants with type arguments of type ICodeActionParticipantModifier and TypeMethodDescriptionstatic voidDTDErrorCode.registerCodeActionParticipants(Map<String, ICodeActionParticipant> codeActions, SharedSettings sharedSettings) static voidExternalResourceErrorCode.registerCodeActionParticipants(Map<String, ICodeActionParticipant> codeActionParticipants) static voidXMLSchemaErrorCode.registerCodeActionParticipants(Map<String, ICodeActionParticipant> codeActions, SharedSettings sharedSettings) static voidXMLSyntaxErrorCode.registerCodeActionParticipants(Map<String, ICodeActionParticipant> codeActions, SharedSettings sharedSettings) -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions
Classes in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions that implement ICodeActionParticipantModifier and TypeClassDescriptionclassCode action to fix MSG_ATT_DEFAULT_INVALID error by replacing the invalid default value with a valid enumeration value.classCode action to fix AttributeNotUnique error.classCode action to fix AttTypeRequiredInAttDef error by replacing the invalid attribute type with a valid DTD attribute type.classCode action to fix close start tag element.classCode action for PublicIDUnterminated and SystemIDUnterminated.classCode action to fix ContentIllegalInProlog error.classCode action to close a missing parenthesis in DTD content model declarations.classCode action to fix MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN and MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL errors by inserting or replacing a content specification.classCode action to fix cvc-attribute-3 error.classCode action to fix cvc-complex-type.2.1 error.classCode action to fix cvc-complex-type.2.3 error.classcvc_complex_type_2_4_aclassCodeAction to insert expected child elements within an element Given this XML where the expected child elements are not present as defined in the XSD:Error: Child elements are missing from element: - servlet The following elements are expected: - description - display-name - icon - servlet-name To fix the error, the code action will suggest inserting the expected elements inside the parent tag classCode action to fix cvc-complex-type.3.1 error (fixed value mismatch).classCode action to fix cvc-complex-type.3.2.2 error.classCode action to fix cvc-complex-type.4 error.classCode action to find the expected element name defined in the given xsd and replace it Given this XML where 'root' is defined as the root element in the XSD-> Error: Cannot find declaration of 'test' To fix the error, the code action will suggest replacing 'test' with 'root' in both the opening and closing tag classCode action to fix cvc_enumeration_valid error only for text, because for attribute cvc-attribute-3 error fix it.classCode action to fix cvc-type.3.1.1 error.classCode action to fix DashDashInComment error.classCode action to fix DoctypeNotAllowed error.classCode action to force download of an external resource.classCode action to fix unterminated DTD declaration errors by inserting a closing>.classCode action to fix ElementUnterminated error.classCode action to fix EntityNotDeclaredCodeAction error.classCode action for unterminated enumeration in DTD ATTLIST declarations.classCode action to fix EqRequiredInAttribute error.classCode action to fix ETagRequired error.classCode action to fix ETagUnterminated error.classCode action to insert external ID literal(s) after SYSTEM or PUBLIC keyword.classCode action to fix ExternalIDorPublicIDRequired error by inserting PUBLIC or SYSTEM keyword.classCode action to fix missing space errors in DTD declarations by inserting a space after the highlighted token.classCode action to fix IDDefaultTypeInvalid error by replacing the invalid default value with#IMPLIEDor#REQUIRED.classCode action to fix RelaxNG invalid_attribute_name and no_attributes_allowed errors by removing the undeclared attribute.classCode action to fix RelaxNG invalid_attribute_value error by replacing the invalid attribute value with a valid enumeration value.classCode action to fix LessthanInAttValue error.classMarkupEntityMismatchCodeAction is a code action that triggers when the end tag of the root element is missing.classCode action to fix MixedContentUnterminated error by inserting the missing)*or*before>.classCode action to fix DTD MSG_ATTRIBUTE_NOT_DECLARED error by removing the undeclared attribute.classCode action to fix DTD MSG_ATTRIBUTE_VALUE_NOT_IN_LIST and MSG_FIXED_ATTVALUE_INVALID errors by replacing the invalid attribute value with a valid enumeration value.classCode action to fix DTD MSG_CONTENT_INCOMPLETE error by inserting expected child elements.classCode action for MSG_CONTENT_INVALID.classCode action to fix DTD MSG_ELEMENT_NOT_DECLARED and MSG_CONTENT_INVALID errors by replacing the invalid element with a similar valid element name.classCode action to fix DTD MSG_FIXED_ATTVALUE_INVALID error by replacing the invalid attribute value with the fixed value.classCode action for MSG_MARKUP_NOT_RECOGNIZED_IN_DTD.classCode action to fix DTD MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED error by inserting missing required attributes.classCode action to fix RelaxNG no_attributes_allowed error by removing the undeclared attribute.classCode action for missing SYSTEM/PUBLIC keyword after notation name.classCode action for MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL.classOpenQuoteExpectedCodeActionclassCode action to fix RelaxNG out_of_context_element error by replacing the invalid element with a similar valid element name.classCode action to fix QuoteRequiredInPublicID, QuoteRequiredInSystemID, and OpenQuoteMissingInDecl errors by wrapping the unquoted value in double quotes.classBase code action to remove an undeclared attribute and position the cursor at the removal location via SnippetTextEdit.classCode action to fix src-element.1 and src-attribute.1 errors where both 'default' and 'fixed' attributes are present.classCode action to remove a duplicate DTD declaration line.classBase code action to replace an invalid attribute value with a similar or valid enumeration value from the grammar.classBase code action to replace an invalid element name with a similar or valid element name from the grammar.classCode action to fix required_attribute_missing, required_attributes_missing, and required_attributes_missing_expected errors.classCode action for RootElementTypeMustMatchDoctypedecl This class depends on the diagnostic message (Diagnostic#message) to determine the correct root name.classCode action to fix cvc-attribute-3 error.classCode action to fix SemicolonRequiredInReference error.classCode action to fix invalid src-annotation elementsclassCode action to fix cvc-attribute-3 error.classCodeAction to replace an incorrect namespace in an .xml document.classCode action to add the missing xmlns declaration to the root element in an .xml document.classCode action to fix RelaxNG unknown_element and out_of_context_element errors by replacing the invalid element with a similar valid element name.classCode action to fix XMLDeclUnterminated error. -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement
Classes in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement that implement ICodeActionParticipantModifier and TypeClassDescriptionclassCodeAction to insert expected child elements within an element Given this XML where the expected child elements are not present as defined in the relaxNG schema:Error: Child elements are missing from element: - servlet To fix the error, the code action will suggest inserting the expected elements inside the parent tag classCodeAction to insert expected child element given a list of choices Given this XML where the expected child elements are not present as defined in the relaxNG schema: Error: element "article" incomplete; expected element "title", "title2" or "titleOtherChoice" To fix the error, there will three code actions generated to insert each option -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missinggrammar
Classes in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missinggrammar that implement ICodeActionParticipantModifier and TypeClassDescriptionclassAbstract code action participant which manages missing referenced grammar file (DTD, XSD).classCode Action that creates a DTD file referenced with System ID of DOCTYPE.classCode Action that creates a schema file referenced by xsi:noNamespaceSchemaLocation if it is missing -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints
Classes in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints that implement ICodeActionParticipantModifier and TypeClassDescriptionclassCode Action to bind a XML to a grammar (DTD, XSD) by generating the grammar. -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.minify.participants
Classes in org.eclipse.lemminx.extensions.minify.participants that implement ICodeActionParticipantModifier and TypeClassDescriptionclassCode action participant to provide minify as a source action. -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.relaxng.grammar.rng.codeaction
Classes in org.eclipse.lemminx.extensions.relaxng.grammar.rng.codeaction that implement ICodeActionParticipantModifier and TypeClassDescriptionclassCode action to fixany_name_except_contains_any_nameerror by replacing an invalid element with a valid name class element.classCode action to fixexpected_defineerror by replacing an invalid element with a valid grammar child element.classCode action to fixexpected_patternerror by replacing an invalid element with a valid RELAX NG pattern element.classCode action to fixns_name_except_contains_any_nameandns_name_except_contains_ns_nameerrors by replacing an invalid element with a valid name class element.classCode action to replace an unrecognized datatype value in thetypeattribute of a<data>or<value>element.classCode action to replace an invalid element with a valid RNG pattern or grammar element using SnippetTextEdit for cursor placement. -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.relaxng.xml.validator
Method parameters in org.eclipse.lemminx.extensions.relaxng.xml.validator with type arguments of type ICodeActionParticipantModifier and TypeMethodDescriptionstatic voidRelaxNGErrorCode.registerCodeActionParticipants(Map<String, ICodeActionParticipant> codeActions, SharedSettings sharedSettings) -
Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.xsd.participants
Method parameters in org.eclipse.lemminx.extensions.xsd.participants with type arguments of type ICodeActionParticipantModifier and TypeMethodDescriptionstatic voidXSDErrorCode.registerCodeActionParticipants(Map<String, ICodeActionParticipant> codeActions) -
Uses of ICodeActionParticipant in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that return types with arguments of type ICodeActionParticipantMethods in org.eclipse.lemminx.services.extensions with parameters of type ICodeActionParticipantModifier and TypeMethodDescriptionvoidXMLExtensionsRegistry.registerCodeActionParticipant(ICodeActionParticipant codeActionsParticipant) voidXMLExtensionsRegistry.unregisterCodeActionParticipant(ICodeActionParticipant codeActionsParticipant) -
Uses of ICodeActionParticipant in org.eclipse.lemminx.services.extensions.codeaction
Classes in org.eclipse.lemminx.services.extensions.codeaction that implement ICodeActionParticipantModifier and TypeClassDescriptionclassBase code action to insert missing attributes on an element.