Versions in this module Expand all Collapse all v0 v0.1.12 Jul 27, 2022 v0.1.11 Jun 9, 2022 v0.1.10 Mar 15, 2022 v0.1.9 Jan 25, 2022 v0.1.8 Dec 2, 2021 v0.1.7 Sep 28, 2021 v0.1.6 Sep 17, 2021 v0.1.5 Jul 13, 2021 v0.1.4 Jun 23, 2021 v0.1.3 Jun 9, 2021 v0.1.2 May 25, 2021 v0.1.1 May 11, 2021 Changes in this version type CompletionItem + Deprecated bool + Tags []protocol.CompletionItemTag v0.1.0 Jan 19, 2021 Changes in this version + const BREAK + const CASE + const CHAN + const CONST + const CONTINUE + const DEFAULT + const DEFER + const ELSE + const FALLTHROUGH + const FOR + const FUNC + const GO + const GOTO + const IF + const IMPORT + const INTERFACE + const MAP + const MaxDeepCompletions + const PACKAGE + const RANGE + const RETURN + const SELECT + const STRUCT + const SWITCH + const TYPE + const VAR + func Completion(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle, ...) ([]CompletionItem, *Selection, error) + type CompletionItem struct + AdditionalTextEdits []protocol.TextEdit + Depth int + Detail string + Documentation string + InsertText string + Kind protocol.CompletionItemKind + Label string + Score float64 + func (i *CompletionItem) Snippet() string + type ErrIsDefinition struct + func (e ErrIsDefinition) Error() string + type Selection struct + func (p Selection) Content() string + func (p Selection) End() token.Pos + func (p Selection) Prefix() string + func (p Selection) Start() token.Pos + func (p Selection) Suffix() string