Package | Description |
---|---|
org.eclipse.lemminx | |
org.eclipse.lemminx.extensions.contentmodel.commands | |
org.eclipse.lemminx.services.extensions.commands |
Modifier and Type | Method and Description |
---|---|
void |
XMLWorkspaceService.registerCommand(String commandId,
IXMLCommandService.IDelegateCommandHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
AssociateGrammarCommand
XML Command "xml.associate.grammar.insert" to associate a grammar to a given
DOM document.
|
class |
CheckBoundGrammarCommand
XML Command "xml.check.bound.grammar" to verify if an XML document already
has a bound grammar/schema, opened from the command palette.
|
class |
CheckFilePatternCommand
XML Command "xml.check.file.pattern" whose first argument is a file pattern,
and whose second argument is some file URI.
|
class |
XMLValidationAllFilesCommand
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
|
class |
XMLValidationFileCommand
XML Command "xml.validation.current.file" to revalidate a give XML file which
means:
remove the referenced grammar in the XML file from 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 given XML file
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDOMDocumentCommandHandler
Abstract command to work with a given
DOMDocument filled in the first
argument of the command as TextDocumentIdentifier . |
Modifier and Type | Method and Description |
---|---|
void |
IXMLCommandService.registerCommand(String commandId,
IXMLCommandService.IDelegateCommandHandler handler)
Registers a command with the language server
|
Copyright © 2022. All rights reserved.