Package org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement
-
Class Summary Class Description MissingElementDataConstants Data entry field used in the codeAction/resolve for inserting missing elements.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: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 required_element_missingCodeActionResolver CodeAction resolver used to generate missing element contentrequired_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 optionrequired_elements_missing_expectedCodeActionResolver CodeAction resolver used to generate missing element of choice