Uses of Class
org.eclipse.lemminx.settings.SharedSettings
-
-
Uses of SharedSettings in org.eclipse.lemminx
Methods in org.eclipse.lemminx that return SharedSettings Modifier and Type Method Description SharedSettingsXMLLanguageServer. getSharedSettings()SharedSettingsXMLTextDocumentService. getSharedSettings() -
Uses of SharedSettings in org.eclipse.lemminx.client
Methods in org.eclipse.lemminx.client that return SharedSettings Modifier and Type Method Description protected SharedSettingsAbstractXMLNotifier. getSharedSettings() -
Uses of SharedSettings in org.eclipse.lemminx.extensions.contentmodel.commands
Methods in org.eclipse.lemminx.extensions.contentmodel.commands with parameters of type SharedSettings Modifier and Type Method Description protected ObjectAssociateGrammarCommand. executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)protected ObjectCheckBoundGrammarCommand. executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)ObjectCheckFilePatternCommand. executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)protected ObjectSurroundWithCommand. executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)ObjectXMLValidationAllFilesCommand. executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)protected ObjectXMLValidationFileCommand. executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of SharedSettings in org.eclipse.lemminx.extensions.contentmodel.participants
Methods in org.eclipse.lemminx.extensions.contentmodel.participants with parameters of type SharedSettings Modifier and Type Method Description FormatElementCategoryContentModelFormatterParticipant. getFormatElementCategory(DOMElement element, XMLFormattingConstraints parentConstraints, Map<String,Collection<CMDocument>> formattingContext, SharedSettings sharedSettings)static voidDTDErrorCode. registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions, SharedSettings sharedSettings)static voidXMLSchemaErrorCode. registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions, SharedSettings sharedSettings)static voidXMLSyntaxErrorCode. registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions, SharedSettings sharedSettings)booleanContentModelFormatterParticipant. shouldCollapseEmptyElement(DOMElement element, SharedSettings sharedSettings) -
Uses of SharedSettings in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints
Methods in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints with parameters of type SharedSettings Modifier and Type Method Description static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createDocTypeEdit(String dtdFileName, DOMDocument document, SharedSettings sharedSettings)protected abstract org.eclipse.lsp4j.TextDocumentEditAbstractGenerateGrammarAndAssociationResolveCodeActionParticipant. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateDocTypeCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateRelaxNGSchemaCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateXMLModelWithDTDCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateXMLModelWithXSDCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected org.eclipse.lsp4j.TextDocumentEditGenerateXSINoNamespaceSchemaCodeActionResolver. createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createXmlModelEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings)static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createXSINoNamespaceSchemaLocationEdit(String schemaFileName, DOMDocument document, SharedSettings sharedSettings)static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction. createXSISchemaLocationEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) -
Uses of SharedSettings in org.eclipse.lemminx.extensions.contentmodel.utils
Methods in org.eclipse.lemminx.extensions.contentmodel.utils with parameters of type SharedSettings Modifier and Type Method Description static StringXMLGenerator. 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.Constructors in org.eclipse.lemminx.extensions.contentmodel.utils with parameters of type SharedSettings Constructor 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. -
Uses of SharedSettings in org.eclipse.lemminx.extensions.generators
Methods in org.eclipse.lemminx.extensions.generators with parameters of type SharedSettings Modifier and Type Method Description StringAbstractXML2GrammarGenerator. generate(Document prototypeDocument, SharedSettings sharedSettings, T generatorSettings, IXMLFullFormatter formatter, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)<Source,Settings extends FileContentGeneratorSettings>
StringFileContentGeneratorManager. generate(Source document, SharedSettings sharedSettings, Settings generatorSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Generates a file content (ex : XSD, DTD) from the given document sourcedocument(ex: XML) by using the given settingsgeneratorSettings.StringIFileContentGenerator. 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 sourcedocument(ex: XML) by using the given settingsgeneratorSettings. -
Uses of SharedSettings in org.eclipse.lemminx.extensions.prolog
Methods in org.eclipse.lemminx.extensions.prolog with parameters of type SharedSettings Modifier and Type Method Description static voidPrologModel. computeAttributeNameCompletionResponses(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.Range editRange, DOMDocument document, SharedSettings sharedSettings) -
Uses of SharedSettings in org.eclipse.lemminx.extensions.relaxng.xml.validator
Methods in org.eclipse.lemminx.extensions.relaxng.xml.validator with parameters of type SharedSettings Modifier and Type Method Description static voidRelaxNGErrorCode. registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions, SharedSettings sharedSettings) -
Uses of SharedSettings in org.eclipse.lemminx.extensions.xsi
Methods in org.eclipse.lemminx.extensions.xsi with parameters of type SharedSettings Modifier and Type Method Description static voidXSISchemaModel. computeCompletionResponses(ICompletionRequest request, ICompletionResponse response, DOMDocument document, boolean generateValue, SharedSettings sharedSettings) -
Uses of SharedSettings in org.eclipse.lemminx.services
Methods in org.eclipse.lemminx.services that return SharedSettings Modifier and Type Method Description SharedSettingsIXMLNotificationService. getSharedSettings()Returns the current SharedSettings instanceSharedSettingsResolveCompletionItemRequest. getSharedSettings()Methods in org.eclipse.lemminx.services with parameters of type SharedSettings Modifier and Type Method Description 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)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)org.eclipse.lsp4j.CompletionListXMLCompletions. doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)org.eclipse.lsp4j.CompletionListXMLLanguageService. doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings)org.eclipse.lsp4j.CompletionListXMLLanguageService. doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)org.eclipse.lsp4j.HoverXMLLanguageService. doHover(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings sharedSettings)org.eclipse.lsp4j.HoverXMLLanguageService. 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)StringIXMLFullFormatter. formatFull(String text, String uri, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Format the given text document by the shared settings.StringXMLLanguageService. formatFull(String text, String uri, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)org.eclipse.lsp4j.CodeActionXMLCodeActions. resolveCodeAction(org.eclipse.lsp4j.CodeAction unresolved, DOMDocument document, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)org.eclipse.lsp4j.CodeActionXMLLanguageService. resolveCodeAction(org.eclipse.lsp4j.CodeAction unresolved, DOMDocument document, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)org.eclipse.lsp4j.CompletionItemXMLCompletions. 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.org.eclipse.lsp4j.CompletionItemXMLLanguageService. resolveCompletionItem(org.eclipse.lsp4j.CompletionItem unresolved, DOMDocument xmlDocument, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Constructors in org.eclipse.lemminx.services with parameters of type SharedSettings Constructor 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) -
Uses of SharedSettings in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that return SharedSettings Modifier and Type Method Description SharedSettingsISharedSettingsRequest. getSharedSettings()Returns the sharedSettings instance -
Uses of SharedSettings in org.eclipse.lemminx.services.extensions.codeaction
Methods in org.eclipse.lemminx.services.extensions.codeaction that return SharedSettings Modifier and Type Method Description SharedSettingsIBaseCodeActionRequest. getSharedSettings()Returns the shared settings. -
Uses of SharedSettings in org.eclipse.lemminx.services.extensions.commands
Methods in org.eclipse.lemminx.services.extensions.commands with parameters of type SharedSettings Modifier and Type Method Description protected abstract ObjectAbstractDOMDocumentCommandHandler. executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Executes a commandObjectAbstractDOMDocumentCommandHandler. executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)ObjectIXMLCommandService.IDelegateCommandHandler. executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Executes a command -
Uses of SharedSettings in org.eclipse.lemminx.services.extensions.completion
Constructors in org.eclipse.lemminx.services.extensions.completion with parameters of type SharedSettings Constructor Description AttributeCompletionItem(String attrName, boolean canSupportSnippets, org.eclipse.lsp4j.Range fullRange, boolean generateValue, String defaultValue, Collection<String> enumerationValues, SharedSettings sharedSettings)Attribute completion item. -
Uses of SharedSettings in org.eclipse.lemminx.services.extensions.format
Methods in org.eclipse.lemminx.services.extensions.format with parameters of type SharedSettings Modifier and Type Method Description default FormatElementCategoryIFormatterParticipant. 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 booleanIFormatterParticipant. shouldCollapseEmptyElement(DOMElement element, SharedSettings sharedSettings)Returns true if the given element can be collapsed according to grammar constraints. -
Uses of SharedSettings in org.eclipse.lemminx.services.format
Methods in org.eclipse.lemminx.services.format with parameters of type SharedSettings Modifier and Type Method Description booleanXMLFormatterDocument. shouldCollapseEmptyElement(DOMElement element, SharedSettings sharedSettings)Constructors in org.eclipse.lemminx.services.format with parameters of type SharedSettings Constructor 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. -
Uses of SharedSettings in org.eclipse.lemminx.settings
Subclasses of SharedSettings in org.eclipse.lemminx.settings Modifier and Type Class Description classCompositeSettingsComposite settings class Provides a new SharedSettings instance with a second setting mergedConstructors in org.eclipse.lemminx.settings with parameters of type SharedSettings Constructor Description CompositeSettings(SharedSettings settings, org.eclipse.lsp4j.FormattingOptions formatting)SharedSettings(SharedSettings newSettings) -
Uses of SharedSettings in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils that return SharedSettings Modifier and Type Method Description SharedSettingsXMLBuilder. getSharedSettings()Methods in org.eclipse.lemminx.utils with parameters of type SharedSettings Modifier and Type Method Description static voidCompletionItemDefaultsUtils. process(CompletionResponse completionResponse, SharedSettings sharedSettings)Processes the completion list and manages item defaults.Constructors in org.eclipse.lemminx.utils with parameters of type SharedSettings Constructor Description XMLBuilder(SharedSettings sharedSettings, String whitespacesIndent, String lineDelimiter)XMLBuilder(SharedSettings sharedSettings, String whitespacesIndent, String lineDelimiter, Collection<IFormatterParticipant> formatterParticipants)
-