Skip to content

Conversation

@Batalex
Copy link
Owner

@Batalex Batalex commented Dec 31, 2025

Changes

Completion is context-aware; for instance, in the demo above, we see that the suggestion for "type" does not include "base" since we already have a base.

  • While working on the completion feature, I realized we could improve on the hover lookup by iterating over the document nodes. Perfs are about the same, but the code is simpler and the UX better: we get the documentation by hovering not just on the key but on the value as well.
  • Fixed a race condition where the completion endpoint would be triggered before the on_changed. Interestingly, the document version is set to None if we fetch it using a Path instead of a str

@Batalex Batalex self-assigned this Dec 31, 2025
@Batalex Batalex merged commit 977d231 into main Jan 2, 2026
2 checks passed
@Batalex Batalex deleted the feat/completion branch January 2, 2026 17:57
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