Modifier and Type | Method and Description |
---|---|
SharedSettings |
XMLTextDocumentService.getSharedSettings() |
SharedSettings |
XMLLanguageServer.getSharedSettings() |
Modifier and Type | Method and Description |
---|---|
protected SharedSettings |
AbstractXMLNotifier.getSharedSettings() |
Modifier and Type | Method and Description |
---|---|
protected Object |
XMLValidationFileCommand.executeCommand(DOMDocument document,
org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
protected Object |
SurroundWithCommand.executeCommand(DOMDocument document,
org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
protected Object |
CheckBoundGrammarCommand.executeCommand(DOMDocument document,
org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
protected Object |
AssociateGrammarCommand.executeCommand(DOMDocument document,
org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
Object |
XMLValidationAllFilesCommand.executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
Object |
CheckFilePatternCommand.executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
Modifier and Type | Method and Description |
---|---|
FormatElementCategory |
ContentModelFormatterParticipant.getFormatElementCategory(DOMElement element,
XMLFormattingConstraints parentConstraints,
Map<String,Collection<CMDocument>> formattingContext,
SharedSettings sharedSettings) |
static void |
XMLSyntaxErrorCode.registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions,
SharedSettings sharedSettings) |
static void |
XMLSchemaErrorCode.registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions,
SharedSettings sharedSettings) |
static void |
DTDErrorCode.registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions,
SharedSettings sharedSettings) |
boolean |
ContentModelFormatterParticipant.shouldCollapseEmptyElement(DOMElement element,
SharedSettings sharedSettings) |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.TextDocumentEdit |
NoGrammarConstraintsCodeAction.createDocTypeEdit(String dtdFileName,
DOMDocument document,
SharedSettings sharedSettings) |
protected org.eclipse.lsp4j.TextDocumentEdit |
GenerateXSINoNamespaceSchemaCodeActionResolver.createFileEdit(String grammarFileName,
DOMDocument document,
SharedSettings sharedSettings) |
protected org.eclipse.lsp4j.TextDocumentEdit |
GenerateXMLModelWithXSDCodeActionResolver.createFileEdit(String grammarFileName,
DOMDocument document,
SharedSettings sharedSettings) |
protected org.eclipse.lsp4j.TextDocumentEdit |
GenerateXMLModelWithDTDCodeActionResolver.createFileEdit(String grammarFileName,
DOMDocument document,
SharedSettings sharedSettings) |
protected org.eclipse.lsp4j.TextDocumentEdit |
GenerateDocTypeCodeActionResolver.createFileEdit(String grammarFileName,
DOMDocument document,
SharedSettings sharedSettings) |
protected abstract org.eclipse.lsp4j.TextDocumentEdit |
AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant.createFileEdit(String grammarFileName,
DOMDocument document,
SharedSettings sharedSettings) |
static org.eclipse.lsp4j.TextDocumentEdit |
NoGrammarConstraintsCodeAction.createXmlModelEdit(String schemaFileName,
String targetNamespace,
DOMDocument document,
SharedSettings sharedSettings) |
Modifier and Type | Method and Description |
---|---|
static String |
XMLGenerator.generateAttributeValue(String defaultValue,
Collection<String> enumerationValues,
boolean canSupportSnippets,
int snippetIndex,
boolean withQuote,
SharedSettings sharedSettings)
Creates the string value for a CompletionItem TextEdit
Can create an enumerated TextEdit if given a collection of values.
|
Constructor and Description |
---|
XMLGenerator(SharedSettings sharedSettings,
boolean autoCloseTags,
String whitespacesIndent,
String lineDelimiter,
boolean canSupportSnippets,
int maxLevel,
DOMNode node) |
XMLGenerator(SharedSettings sharedSettings,
String whitespacesIndent,
String lineDelimiter,
boolean canSupportSnippets,
int maxLevel)
XML generator constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
AbstractXML2GrammarGenerator.generate(Document prototypeDocument,
SharedSettings sharedSettings,
T generatorSettings,
IXMLFullFormatter formatter,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
<Source,Settings extends FileContentGeneratorSettings> |
FileContentGeneratorManager.generate(Source document,
SharedSettings sharedSettings,
Settings generatorSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Generates a file content (ex : XSD, DTD) from the given document source
document (ex: XML) by using the given settings
generatorSettings . |
String |
IFileContentGenerator.generate(Source document,
SharedSettings sharedSettings,
Settings generatorSettings,
IXMLFullFormatter formatter,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Generates a file content (ex : XSD, DTD) from the given document source
document (ex: XML) by using the given settings
generatorSettings . |
Modifier and Type | Method and Description |
---|---|
static void |
PrologModel.computeAttributeNameCompletionResponses(ICompletionRequest request,
ICompletionResponse response,
org.eclipse.lsp4j.Range editRange,
DOMDocument document,
SharedSettings sharedSettings) |
Modifier and Type | Method and Description |
---|---|
static void |
XSISchemaModel.computeCompletionResponses(ICompletionRequest request,
ICompletionResponse response,
DOMDocument document,
boolean generateValue,
SharedSettings sharedSettings) |
Modifier and Type | Method and Description |
---|---|
SharedSettings |
ResolveCompletionItemRequest.getSharedSettings() |
SharedSettings |
IXMLNotificationService.getSharedSettings()
Returns the current SharedSettings instance
|
Modifier and Type | Method and Description |
---|---|
List<org.eclipse.lsp4j.CodeAction> |
XMLLanguageService.doCodeActions(org.eclipse.lsp4j.CodeActionContext context,
org.eclipse.lsp4j.Range range,
DOMDocument document,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<org.eclipse.lsp4j.CodeAction> |
XMLCodeActions.doCodeActions(org.eclipse.lsp4j.CodeActionContext context,
org.eclipse.lsp4j.Range range,
DOMDocument document,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.CompletionList |
XMLLanguageService.doComplete(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
SharedSettings settings) |
org.eclipse.lsp4j.CompletionList |
XMLLanguageService.doComplete(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
SharedSettings settings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.CompletionList |
XMLCompletions.doComplete(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
SharedSettings settings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.Hover |
XMLLanguageService.doHover(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
SharedSettings sharedSettings) |
org.eclipse.lsp4j.Hover |
XMLLanguageService.doHover(DOMDocument xmlDocument,
org.eclipse.lsp4j.Position position,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
List<? extends org.eclipse.lsp4j.TextEdit> |
XMLLanguageService.format(DOMDocument xmlDocument,
org.eclipse.lsp4j.Range range,
SharedSettings sharedSettings) |
String |
XMLLanguageService.formatFull(String text,
String uri,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
String |
IXMLFullFormatter.formatFull(String text,
String uri,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Format the given text document by the shared settings.
|
org.eclipse.lsp4j.CodeAction |
XMLLanguageService.resolveCodeAction(org.eclipse.lsp4j.CodeAction unresolved,
DOMDocument document,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.CodeAction |
XMLCodeActions.resolveCodeAction(org.eclipse.lsp4j.CodeAction unresolved,
DOMDocument document,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.CompletionItem |
XMLLanguageService.resolveCompletionItem(org.eclipse.lsp4j.CompletionItem unresolved,
DOMDocument xmlDocument,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
org.eclipse.lsp4j.CompletionItem |
XMLCompletions.resolveCompletionItem(org.eclipse.lsp4j.CompletionItem unresolved,
DOMDocument xmlDocument,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Returns the completion item with the empty fields resolved.
|
Constructor and Description |
---|
CodeActionRequest(org.eclipse.lsp4j.Diagnostic diagnostic,
org.eclipse.lsp4j.Range range,
DOMDocument document,
IComponentProvider componentProvider,
SharedSettings sharedSettings) |
ResolveCodeActionRequest(org.eclipse.lsp4j.CodeAction unresolved,
DOMDocument document,
IComponentProvider componentProvider,
SharedSettings sharedSettings) |
ResolveCompletionItemRequest(org.eclipse.lsp4j.CompletionItem unresolved,
DOMDocument document,
IComponentProvider componentProvider,
SharedSettings sharedSettings) |
Modifier and Type | Method and Description |
---|---|
SharedSettings |
ISharedSettingsRequest.getSharedSettings()
Returns the sharedSettings instance
|
Modifier and Type | Method and Description |
---|---|
SharedSettings |
IBaseCodeActionRequest.getSharedSettings()
Returns the shared settings.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
AbstractDOMDocumentCommandHandler.executeCommand(DOMDocument document,
org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Executes a command
|
Object |
IXMLCommandService.IDelegateCommandHandler.executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Executes a command
|
Object |
AbstractDOMDocumentCommandHandler.executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
Constructor and Description |
---|
AttributeCompletionItem(String attrName,
boolean canSupportSnippets,
org.eclipse.lsp4j.Range fullRange,
boolean generateValue,
String defaultValue,
Collection<String> enumerationValues,
SharedSettings sharedSettings)
Attribute completion item.
|
Modifier and Type | Method and Description |
---|---|
default FormatElementCategory |
IFormatterParticipant.getFormatElementCategory(DOMElement element,
XMLFormattingConstraints parentConstraints,
Map<String,Collection<CMDocument>> formattingContext,
SharedSettings sharedSettings)
Returns the format element category for the given DOM element and null
otherwise.
|
default boolean |
IFormatterParticipant.shouldCollapseEmptyElement(DOMElement element,
SharedSettings sharedSettings)
Returns true if the given element can be collapsed according to grammar
constraints.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XMLFormatterDocument.shouldCollapseEmptyElement(DOMElement element,
SharedSettings sharedSettings) |
Constructor and Description |
---|
XMLFormatterDocument(DOMDocument xmlDocument,
org.eclipse.lsp4j.Range range,
SharedSettings sharedSettings,
Collection<IFormatterParticipant> formatterParticipants)
XML formatter document.
|
XMLFormatterDocumentOld(TextDocument textDocument,
org.eclipse.lsp4j.Range range,
SharedSettings sharedSettings,
Collection<IFormatterParticipant> formatterParticipants)
XML formatter document.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeSettings
Composite settings class
Provides a new SharedSettings instance with a second
setting merged
|
Constructor and Description |
---|
CompositeSettings(SharedSettings settings,
org.eclipse.lsp4j.FormattingOptions formatting) |
SharedSettings(SharedSettings newSettings) |
Modifier and Type | Method and Description |
---|---|
SharedSettings |
XMLBuilder.getSharedSettings() |
Constructor and Description |
---|
XMLBuilder(SharedSettings sharedSettings,
String whitespacesIndent,
String lineDelimiter) |
XMLBuilder(SharedSettings sharedSettings,
String whitespacesIndent,
String lineDelimiter,
Collection<IFormatterParticipant> formatterParticipants) |
Copyright © 2022. All rights reserved.