Class XMLValidationAllFilesCommand
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.commands.XMLValidationAllFilesCommand
- All Implemented Interfaces:
IXMLCommandService.IDelegateCommandHandler
public class XMLValidationAllFilesCommand
extends Object
implements IXMLCommandService.IDelegateCommandHandler
XML Command "xml.validation.all.files" to revalidate all opened XML files
which means:
- clear the Xerces grammar pool (used by the Xerces validation) and the content model documents cache (used by the XML completion/hover based on the grammar)
- trigger the validation for the all opened XML files
- Author:
- Angelo ZERR
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXMLValidationAllFilesCommand(ContentModelManager contentModelManager, IXMLDocumentProvider documentProvider, IXMLValidationService validationService) -
Method Summary
Modifier and TypeMethodDescriptionexecuteCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Executes a command
-
Field Details
-
COMMAND_ID
- See Also:
-
-
Constructor Details
-
XMLValidationAllFilesCommand
public XMLValidationAllFilesCommand(ContentModelManager contentModelManager, IXMLDocumentProvider documentProvider, IXMLValidationService validationService)
-
-
Method Details