Package org.eclipse.lemminx.extensions.contentmodel.participants.codeactions
package org.eclipse.lemminx.extensions.contentmodel.participants.codeactions
-
ClassesClassDescriptionCode action to fix close start tag element.Code action to fix cvc-attribute-3 error.Code action to fix cvc-complex-type.2.1 error.Code action to fix cvc-complex-type.2.3 error.cvc_complex_type_2_4_aCodeAction 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 Code action to fix cvc-complex-type.3.2.2 error.Code action to fix cvc-complex-type.4 error.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-> 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 Code action to fix cvc_enumeration_valid error only for text, because for attribute cvc-attribute-3 error fix it.Code action to fix cvc-type.3.1.1 error.Code action to force download of an external resource.Code action to fix ElementDeclUnterminated error.Code action to fix ElementUnterminated error.Code action to fix EntityNotDeclaredCodeAction error.Code action to fix EqRequiredInAttribute error.Code action to fix ETagRequired error.Code action to fix ETagUnterminated error.Adds a space at the end of the diagnostic rangeMarkupEntityMismatchCodeAction is a code action that triggers when the end tag of the root element is missing.OpenQuoteExpectedCodeActionCode action for RootElementTypeMustMatchDoctypedecl This class depends on the diagnostic message (Diagnostic#message) to determine the correct root name.Code action to fix cvc-attribute-3 error.Code action to fix SemicolonRequiredInReference error.Code action to fix cvc-attribute-3 error.CodeAction to replace an incorrect namespace in an .xml document.Code action to add the missing xmlns declaration to the root element in an .xml document.