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

Emacs autocomplete #9

Open
3 tasks
hrls opened this issue Jun 1, 2022 · 1 comment
Open
3 tasks

Emacs autocomplete #9

hrls opened this issue Jun 1, 2022 · 1 comment
Labels

Comments

@hrls
Copy link
Owner

hrls commented Jun 1, 2022

  • company-mode: etags support
  • company-mode: candidates weight
  • LSP support
@hrls hrls added the todo label Jun 3, 2022
@hrls
Copy link
Owner Author

hrls commented Jun 15, 2022

company ttt frontend

Something in between company-preview-common-frontend and company-tng-frontend.

When:

  • single candidate – preview inline, tab to complete.
  • common part 1 – preview common inline (maybe some decorator like ~), tab to complete and expand pseudo-tooltip.
  • otherwise - pseudo-tooltip instantly.

Selection on tooltip is the same as for company-tng-mode. Typing leading to one candidate must hide tooltip.
Also there is a important case for single candidate that doesn't match prefix line (therefore cant be inlined). Try something like ~ nonPrefixedCandidate postfix and shadow faces. Or just show tooltip with that one candidate.

Footnotes

  1. company-common is only available when company is active and there is more than one candidate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant