## Uses of Interface
org.eclipse.lemminx.services.extensions.codeaction.ICodeActionParticipant

Packages that use ICodeActionParticipant
org.eclipse.lemminx.extensions.contentmodel.participants
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missinggrammar
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints
org.eclipse.lemminx.extensions.minify.participants
org.eclipse.lemminx.extensions.relaxng.xml.validator
org.eclipse.lemminx.extensions.xsd.participants
org.eclipse.lemminx.services.extensions

### Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.contentmodel.participants

Classes in org.eclipse.lemminx.extensions.contentmodel.participants that implement ICodeActionParticipant
`class` `ContentModelCodeActionParticipant` Extension 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 ICodeActionParticipant
`static void` DTDErrorCode.`registerCodeActionParticipants​(Map<String,​ICodeActionParticipant> codeActions, SharedSettings sharedSettings)`
`static void` ExternalResourceErrorCode.`registerCodeActionParticipants​(Map<String,​ICodeActionParticipant> codeActionParticipants)`
`static void` XMLSchemaErrorCode.`registerCodeActionParticipants​(Map<String,​ICodeActionParticipant> codeActions, SharedSettings sharedSettings)`
`static void` XMLSyntaxErrorCode.`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 ICodeActionParticipant
`class` `CloseTagCodeAction` Code action to fix close start tag element.
`class` `cvc_attribute_3CodeAction` Code action to fix cvc-attribute-3 error.
`class` `cvc_complex_type_2_1CodeAction` Code action to fix cvc-complex-type.2.1 error.
`class` `cvc_complex_type_2_3CodeAction` Code action to fix cvc-complex-type.2.3 error.
`class` `cvc_complex_type_2_4_aCodeAction` cvc_complex_type_2_4_a

`class`

`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

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

### Uses of ICodeActionParticipant in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement

Classes in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement that implement ICodeActionParticipant
`class` `required_element_missingCodeAction` CodeAction 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: <servlet></servlet> 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
`class` `required_elements_missing_expectedCodeAction` CodeAction 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 ICodeActionParticipant
`class` `AbstractFixMissingGrammarCodeAction` Abstract code action participant which manages missing referenced grammar file (DTD, XSD).
`class` `DTDNotFoundCodeAction` Code Action that creates a DTD file referenced with System ID of DOCTYPE.
`class` `schema_reference_4CodeAction` Code 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 ICodeActionParticipant
`class` `NoGrammarConstraintsCodeAction` Code 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 ICodeActionParticipant
`class` `MinifyCodeActionParticipant` Code action participant to provide minify as a source action.

### 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 ICodeActionParticipant
`static void` RelaxNGErrorCode.`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 ICodeActionParticipant
`static void` XSDErrorCode.`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 ICodeActionParticipant
`List<ICodeActionParticipant>` XMLExtensionsRegistry.`getCodeActionsParticipants()`

Methods in org.eclipse.lemminx.services.extensions with parameters of type ICodeActionParticipant
`void` XMLExtensionsRegistry.`registerCodeActionParticipant​(ICodeActionParticipant codeActionsParticipant)`
`void` XMLExtensionsRegistry.`unregisterCodeActionParticipant​(ICodeActionParticipant codeActionsParticipant)`