Documentation
¶
Overview ¶
PSL LSP completion provider — enhanced code completion for PSL files.
Package lsp implements a Language Server Protocol server for PSL files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletionItem ¶
type CompletionItem struct {
Label string `json:"label"`
Kind int `json:"kind"` // 1=Text, 2=Method, 3=Function, 6=Variable, 7=Class, 14=Keyword
Detail string `json:"detail"`
InsertText string `json:"insertText"`
}
CompletionItem represents a code completion item.
func KeywordCompletions ¶
func KeywordCompletions() []CompletionItem
KeywordCompletions returns PSL keyword completions.
Click to show internal directories.
Click to hide internal directories.