Uses of Interface
org.eclipse.lemminx.commons.snippets.ISnippetContext
-
Packages that use ISnippetContext Package Description org.eclipse.lemminx.commons.snippets org.eclipse.lemminx.services.snippets -
-
Uses of ISnippetContext in org.eclipse.lemminx.commons.snippets
Methods in org.eclipse.lemminx.commons.snippets that return ISnippetContext Modifier and Type Method Description ISnippetContext<?>Snippet. getContext()Methods in org.eclipse.lemminx.commons.snippets with parameters of type ISnippetContext Modifier and Type Method Description voidSnippetRegistry. registerSnippets(InputStream in, ISnippetContext<?> defaultContext)Register the snippets from the given JSON stream with a context.voidSnippetRegistry. registerSnippets(InputStream in, ISnippetContext<?> defaultContext, com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)Register the snippets from the given JSON stream with a context.voidSnippetRegistry. registerSnippets(Reader in, ISnippetContext<?> defaultContext)Register the snippets from the given JSON stream with a context.voidSnippetRegistry. registerSnippets(Reader in, ISnippetContext<?> defaultContext, com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)Register the snippets from the given JSON stream with a context.voidSnippet. setContext(ISnippetContext<?> context)Method parameters in org.eclipse.lemminx.commons.snippets with type arguments of type ISnippetContext Modifier and Type Method 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.booleanSnippet. match(BiPredicate<ISnippetContext<?>,Map<String,String>> contextFilter, Map<String,String> model)voidSnippetRegistry. registerSnippets(InputStream in, com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)Register the snippets from the given JSON stream with a context.voidSnippetRegistry. registerSnippets(InputStream in, ISnippetContext<?> defaultContext, com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)Register the snippets from the given JSON stream with a context.voidSnippetRegistry. registerSnippets(Reader in, com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)Register the snippets from the given JSON reader with a context.voidSnippetRegistry. registerSnippets(Reader in, ISnippetContext<?> defaultContext, com.google.gson.TypeAdapter<? extends ISnippetContext<?>> contextDeserializer)Register the snippets from the given JSON stream with a context. -
Uses of ISnippetContext in org.eclipse.lemminx.services.snippets
Subinterfaces of ISnippetContext in org.eclipse.lemminx.services.snippets Modifier and Type Interface Description interfaceIXMLSnippetContextXML snippet context API.Classes in org.eclipse.lemminx.services.snippets that implement ISnippetContext Modifier and Type Class Description classCDATASnippetContextCDATA snippet context used to filter the CDATA snippets.classCommentSnippetContextComment snippet context used to filter the comment snippets.classDocTypeSnippetContextDOCTYPE snippet context used to filter the DOCTYPE snippets.classDTDNodeSnippetContextDTD nodes snippet context used to filter theclassNewFileSnippetContextSnippet context used to filter snippets if XML file is empty or not.classProcessingInstructionSnippetContextSnippet context used to filter if Processing Instruction Snippets should be triggered or not.classXMLDeclarationSnippetContextSnippet context used to filter the XML declaration snippets.
-