Skip to content

Check what clients need from completions and lookups - #13

Merged
bbatsov merged 1 commit into
mainfrom
lookups
Oct 23, 2026
Merged

bbatsov merged 1 commit into
mainfrom
lookups

Conversation

@bbatsov

@bbatsov bbatsov commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Clients use complete and info when a server has them, so the completions and lookup checks skip then. -like doesn't reproduce other servers' completions and lookups, so the matrix test leaves them out.

CIDER, Calva, Conjure and vim-fireplace complete code and look symbols
up with nREPL's completions and lookup or cider-nrepl's complete, info
and eldoc, each with its own parameters and its own way of reading the
replies. The new checks send what each of them sends to whichever of
those ops a server lists, and fail where a client breaks: completions
that aren't in the message with done, candidates that aren't dicts, info
without no-info for a symbol that doesn't exist (which takes CIDER's docs
down), columns counting from 0, files that aren't URIs. The checks of
completions and lookup skip when the server also has complete and info,
as clients use those instead.

proof serve gets nREPL's completions and lookup for its piece of
Clojure.
@bbatsov
bbatsov merged commit 87bcd20 into main Oct 23, 2026
5 checks passed
@bbatsov
bbatsov deleted the lookups branch October 23, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant