tsc

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompletions

func GetCompletions(conf *config.Config) []lsp.CompletionItem

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

func GetHoverInfo(str string, to int, conf *config.Config) string

GetHoverInfo will retrieve information about an event or a command starting from a given position

func IsEvent

func IsEvent(str string, loose bool) bool

IsEvent checks whether the text hovered over is an event (#0000, #1234, etc.)

func IsValidArgument

func IsValidArgument(arg string, loose bool) bool

IsValidArgument checks whether the provided argument is valid (4 digits or 'V' and 3 digits)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL