Package org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement
package org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.missingelement
-
ClassesClassDescriptionData entry field used in the codeAction/resolve for inserting missing elements.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 CodeAction resolver used to generate missing element contentCodeAction 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 optionCodeAction resolver used to generate missing element of choice