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 close start tag element.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.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 force download of an external resource.classCode action to fix ElementDeclUnterminated error.classCode action to fix ElementUnterminated error.classCode action to fix EntityNotDeclaredCodeAction error.classCode action to fix EqRequiredInAttribute error.classCode action to fix ETagRequired error.classCode action to fix ETagUnterminated error.classAdds a space at the end of the diagnostic rangeclassMarkupEntityMismatchCodeAction is a code action that triggers when the end tag of the root element is missing.classOpenQuoteExpectedCodeActionclassCode 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 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. -
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.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)