obiwan87 / odin-intellij

Odin Support plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/22933-odin-support
MIT License
36 stars 2 forks source link

Code Completion: Prioritize suggestions #39

Open obiwan87 opened 4 months ago

obiwan87 commented 4 months ago

TODO:

Dima-369 commented 4 weeks ago

When using core/base/vendor-packages, prioritize symbols based on statistical relevance (scrape Odin github projects)

I wouldn't scrape. Every project probably has other prioritization depending on the context. It would be fine if the completions work on frequency. So, if I pick foo, it appears at the top (or near the top) the next time in the completion popups, and so on.

That way, every project (or globally) builds up this completion suggestion list depending on what the user really needs.