public class SnippetsBuilder extends Object
https://github.com/Microsoft/language-server-protocol/blob/master/snippetSyntax.md
Modifier and Type | Method and Description |
---|---|
static String |
choice(int index,
Collection<String> values)
Returns the LSP choices snippets content.
|
static void |
choice(int index,
Collection<String> values,
StringBuilder snippets)
Add LSP choices snippets in the given snippets content.
|
static void |
placeholders(int index,
String text,
StringBuilder snippets) |
static String |
tabstops(int index) |
static void |
tabstops(int index,
StringBuilder snippets) |
public static void tabstops(int index, StringBuilder snippets)
public static String tabstops(int index)
public static void placeholders(int index, String text, StringBuilder snippets)
public static String choice(int index, Collection<String> values)
index
- the snippet index.values
- the values for the choice.https://github.com/Microsoft/language-server-protocol/blob/master/snippetSyntax.md#choice
public static void choice(int index, Collection<String> values, StringBuilder snippets)
index
- the snippet index.values
- the values for the choice.https://github.com/Microsoft/language-server-protocol/blob/master/snippetSyntax.md#choice
Copyright © 2022. All rights reserved.