Documentation
¶
Index ¶
- func GetCompletions(conf *config.Config) []lsp.CompletionItem
- func GetEventSymbols(text string, textDocumentItem lsp.TextDocumentItem, conf *config.Config) []lsp.DocumentSymbol
- func GetFoldingRanges(textDocumentItem lsp.TextDocumentItem, conf *config.Config) []lsp.FoldingRange
- func GetHoverInfo(str string, to int, conf *config.Config) string
- func IsEvent(str string, loose bool) bool
- func IsValidArgument(arg string, loose bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCompletions ¶
GetCompletions will return a list of completions that can be used for a provided TSC command.
func GetEventSymbols ¶ added in v0.1.4
func GetEventSymbols(text string, textDocumentItem lsp.TextDocumentItem, conf *config.Config) []lsp.DocumentSymbol
GetEventSymbols will return a list of events as LSP-compatible symbols.
func GetFoldingRanges ¶ added in v0.1.3
func GetFoldingRanges(textDocumentItem lsp.TextDocumentItem, conf *config.Config) []lsp.FoldingRange
GetFoldingRanges will return all foldable ranges from a given document.
func GetHoverInfo ¶
GetHoverInfo will retrieve information about an event or a command starting from a given position
func IsValidArgument ¶
IsValidArgument checks whether the provided argument is valid (4 digits or 'V' and 3 digits)
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.