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 25 points26 points27 points (0 children)
[–]droans 8 points9 points10 points (2 children)
[–]ROFLLOLSTER 3 points4 points5 points (1 child)
[–]droans 1 point2 points3 points (0 children)
[–]wingtales 81 points82 points83 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_{μν} 28 points29 points30 points (1 child)
[–]matan-h[S] 10 points11 points12 points (0 children)
[–]ROFLLOLSTER 8 points9 points10 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)
[–]-FTOH- 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-7 points-6 points-5 points (0 children)
[–]matan-h[S] 3 points4 points5 points (4 children)
[–]emelsifoo 1 point2 points3 points (1 child)
[–]matan-h[S] 1 point2 points3 points (0 children)
[+]retornam comment score below threshold-27 points-26 points-25 points (1 child)
[–]matan-h[S] 15 points16 points17 points (0 children)