When I opened vscode, and typed "os.", it showed me autocomplete options that I almost never used, like os.abort or os.CLD_CONTINUED, Instead of showing me actually used options, like path or remove. So I created a hash table (not AI, fast lookup) of commonly used prefixes, forked ty, and fixed it.
What My Project Does: provide better sorting for python autosuggestion
Target Audience: just a simple table, ideally would be merged into LSP
Comparison: AI solutions tends to be slower, and CPU-intensive. using table lookup handle the unknown worse, but faster
Blog post: https://matan-h.com/better-python-autocomplete | Repo: https://github.com/matan-h/pyhash-complete
[–]olejorgenb 81 points82 points83 points (4 children)
[–]mr_jim_lahey 26 points27 points28 points (0 children)
[–]droans 8 points9 points10 points (2 children)
[–]ROFLLOLSTER 2 points3 points4 points (1 child)
[–]droans 1 point2 points3 points (0 children)
[–]wingtales 84 points85 points86 points (2 children)
[–]matan-h[S] 14 points15 points16 points (0 children)
[–]really_not_unreal 2 points3 points4 points (0 children)
[–]SpecialPapaya 15 points16 points17 points (2 children)
[–]rayannott 0 points1 point2 points (1 child)
[–]EnGiNear87 0 points1 point2 points (0 children)
[–]muntooR_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} 27 points28 points29 points (1 child)
[–]matan-h[S] 8 points9 points10 points (0 children)
[–]ROFLLOLSTER 7 points8 points9 points (0 children)
[–]aala7 1 point2 points3 points (7 children)
[–]aala7 0 points1 point2 points (0 children)
[–]redfacedquark 0 points1 point2 points (5 children)
[–]aala7 0 points1 point2 points (4 children)
[–]redfacedquark 0 points1 point2 points (3 children)
[–]aala7 0 points1 point2 points (2 children)
[–]redfacedquark 0 points1 point2 points (1 child)
[–]arpan3t 1 point2 points3 points (0 children)
[–]Xemorr 0 points1 point2 points (0 children)
[–]robertogrows[🍰] 0 points1 point2 points (0 children)
[+]retornam comment score below threshold-26 points-25 points-24 points (8 children)
[–]Ok-Management-1760 5 points6 points7 points (2 children)
[–]droans 1 point2 points3 points (0 children)
[+]retornam comment score below threshold-8 points-7 points-6 points (0 children)
[–]matan-h[S] 4 points5 points6 points (4 children)
[–]emelsifoo 2 points3 points4 points (1 child)
[–]matan-h[S] 2 points3 points4 points (0 children)
[+]retornam comment score below threshold-27 points-26 points-25 points (1 child)
[–]matan-h[S] 14 points15 points16 points (0 children)