# Package org.eclipse.lemminx.extensions.contentmodel.participants.codeactions

Class Summary
CloseTagCodeAction: Code action to fix close start tag element.
cvc_attribute_3CodeAction: Code action to fix cvc-attribute-3 error.
cvc_complex_type_2_1CodeAction: Code action to fix cvc-complex-type.2.1 error.
cvc_complex_type_2_3CodeAction: Code action to fix cvc-complex-type.2.3 error.
cvc_complex_type_2_4_aCodeAction: cvc_complex_type_2_4_a

cvc_complex_type_2_4_bCodeAction

CodeAction to insert expected child elements within an element Given this XML where the expected child elements are not present as defined in the XSD: <servlet></servlet> 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

cvc_complex_type_3_2_2CodeAction: Code action to fix cvc-complex-type.3.2.2 error.
cvc_complex_type_4CodeAction: Code action to fix cvc-complex-type.4 error.
cvc_elt_1_aCodeAction: Code 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 <test></test> -> 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
cvc_enumeration_validCodeAction: Code action to fix cvc_enumeration_valid error only for text, because for attribute cvc-attribute-3 error fix it.
cvc_type_3_1_1CodeAction: Code action to fix cvc-type.3.1.1 error.
DownloadDisabledResourceCodeAction: Code action to force download of an external resource.
ElementDeclUnterminatedCodeAction: Code action to fix ElementDeclUnterminated error.
ElementUnterminatedCodeAction: Code action to fix ElementUnterminated error.
EntityNotDeclaredCodeAction: Code action to fix EntityNotDeclaredCodeAction error.
EqRequiredInAttributeCodeAction: Code action to fix EqRequiredInAttribute error.
ETagRequiredCodeAction: Code action to fix ETagRequired error.
ETagUnterminatedCodeAction: Code action to fix ETagUnterminated error.
FixMissingSpaceCodeAction: Adds a space at the end of the diagnostic range
MarkupEntityMismatchCodeAction: MarkupEntityMismatchCodeAction is a code action that triggers when the end tag of the root element is missing.
OpenQuoteExpectedCodeAction: OpenQuoteExpectedCodeAction
RootElementTypeMustMatchDoctypedeclCodeAction: Code action for RootElementTypeMustMatchDoctypedecl This class depends on the diagnostic message (Diagnostic#message) to determine the correct root name.
s4s_elt_invalid_content_3CodeAction: Code action to fix cvc-attribute-3 error.
SemicolonRequiredInReferenceCodeAction: Code action to fix SemicolonRequiredInReference error.
src_annotationCodeAction: Code action to fix invalid src-annotation elements
src_import_1_2CodeAction: Code action to fix cvc-attribute-3 error.
TargetNamespace_1CodeAction: CodeAction to replace an incorrect namespace in an .xml document.
TargetNamespace_2CodeAction: Code action to add the missing xmlns declaration to the root element in an .xml document.