MCPcopy Index your code
hub / github.com/bytebase/bytebase / newEmptyCompletionList

Function newEmptyCompletionList

backend/api/lsp/completion.go:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23)
24
25func newEmptyCompletionList() *lsp.CompletionList {
26 return &lsp.CompletionList{
27 IsIncomplete: false,
28 Items: []lsp.CompletionItem{},
29 }
30}
31
32func (h *Handler) handleTextDocumentCompletion(ctx context.Context, _ *jsonrpc2.Conn, _ *jsonrpc2.Request, params lsp.CompletionParams) (*lsp.CompletionList, error) {
33 if !IsURI(params.TextDocument.URI) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected