Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion: implement smart autocompletion #17

Open
3 of 5 tasks
qdzo opened this issue Apr 1, 2022 · 0 comments
Open
3 of 5 tasks

Autocompletion: implement smart autocompletion #17

qdzo opened this issue Apr 1, 2022 · 0 comments

Comments

@qdzo
Copy link
Contributor

qdzo commented Apr 1, 2022

We need more smart-autocompletion, depending on context.

  • complete keys for schema, bassed on current type
  • complete keys for schema, based on current type confirmation (zen/vector confirms zen/coll)
  • complete symbols from current ns, imported ns, zen.edn
  • complete tags when cursor in :zen/tags #{}
  • complete schemas when cursor in :confirms #{}
qdzo added a commit that referenced this issue Apr 4, 2022
_ Complete keys of struct under cursor. Based of :type value.
- Complete symbols when cursor placed after :type keyword

Symbols completions sources:
- from current ns
- from zen namespace
- from imported namespaces
grafvetkindorff added a commit that referenced this issue Jun 13, 2022
…nfirmation

- Following related schemas by the :confirms key, gather all possible keys
- Supports keys gathering from the current and imported namespaces
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

No branches or pull requests

1 participant