Package | Description |
---|---|
org.eclipse.lemminx.commons.snippets | |
org.eclipse.lemminx.services.snippets |
Modifier and Type | Method and Description |
---|---|
ISnippetContext<?> |
Snippet.getContext() |
Modifier and Type | Method and Description |
---|---|
void |
SnippetRegistry.registerSnippets(InputStream in,
ISnippetContext<?> defaultContext)
Register the snippets from the given JSON stream with a context.
|
void |
SnippetRegistry.registerSnippets(InputStream in,
ISnippetContext<?> defaultContext,
com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)
Register the snippets from the given JSON stream with a context.
|
void |
SnippetRegistry.registerSnippets(Reader in,
ISnippetContext<?> defaultContext)
Register the snippets from the given JSON stream with a context.
|
void |
SnippetRegistry.registerSnippets(Reader in,
ISnippetContext<?> defaultContext,
com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)
Register the snippets from the given JSON stream with a context.
|
void |
Snippet.setContext(ISnippetContext<?> context) |
Modifier and Type | Method and Description |
---|---|
List<org.eclipse.lsp4j.CompletionItem> |
SnippetRegistry.getCompletionItems(org.eclipse.lsp4j.Range replaceRange,
String lineDelimiter,
boolean canSupportMarkdown,
boolean snippetsSupported,
BiPredicate<ISnippetContext<?>,Map<String,String>> contextFilter,
ISuffixPositionProvider suffixProvider)
Returns the snippet completion items according to the context filter.
|
boolean |
Snippet.match(BiPredicate<ISnippetContext<?>,Map<String,String>> contextFilter,
Map<String,String> model) |
void |
SnippetRegistry.registerSnippets(InputStream in,
ISnippetContext<?> defaultContext,
com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)
Register the snippets from the given JSON stream with a context.
|
void |
SnippetRegistry.registerSnippets(InputStream in,
com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)
Register the snippets from the given JSON stream with a context.
|
void |
SnippetRegistry.registerSnippets(Reader in,
ISnippetContext<?> defaultContext,
com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)
Register the snippets from the given JSON stream with a context.
|
void |
SnippetRegistry.registerSnippets(Reader in,
com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)
Register the snippets from the given JSON reader with a context.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IXMLSnippetContext
XML snippet context API.
|
Modifier and Type | Class and Description |
---|---|
class |
CDATASnippetContext
CDATA snippet context used to filter the CDATA snippets.
|
class |
CommentSnippetContext
Comment snippet context used to filter the comment snippets.
|
class |
DocTypeSnippetContext
DOCTYPE snippet context used to filter the DOCTYPE snippets.
|
class |
DTDNodeSnippetContext
DTD nodes snippet context used to filter the
|
class |
NewFileSnippetContext
Snippet context used to filter snippets if XML file is empty or not.
|
class |
ProcessingInstructionSnippetContext
Snippet context used to filter if Processing Instruction Snippets should be triggered or not.
|
class |
XMLDeclarationSnippetContext
Snippet context used to filter the XML declaration snippets.
|
Copyright © 2021. All rights reserved.