Uses of Interface
org.eclipse.lemminx.commons.snippets.ISnippetContext
Packages that use ISnippetContext
-
Uses of ISnippetContext in org.eclipse.lemminx.commons.snippets
Methods in org.eclipse.lemminx.commons.snippets that return ISnippetContextMethods in org.eclipse.lemminx.commons.snippets with parameters of type ISnippetContextModifier and TypeMethodDescriptionvoidSnippetRegistry.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 ISnippetContextModifier and TypeMethodDescriptionList<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.snippetsClasses in org.eclipse.lemminx.services.snippets that implement ISnippetContextModifier and TypeClassDescriptionclassCDATA snippet context used to filter the CDATA snippets.classComment snippet context used to filter the comment snippets.classDOCTYPE snippet context used to filter the DOCTYPE snippets.classDTD nodes snippet context used to filter the <!ELEMENT, <!ATTLIST, <!ENTITY snippets.classSnippet context used to filter snippets if XML file is empty or not.classSnippet context used to filter if Processing Instruction Snippets should be triggered or not.classSnippet context used to filter the XML declaration snippets.