I've started using company-clang instead of autocomplete and hippie-expand, and... whoa. It's superb. http://t.co/YzN4RF8nX2
miniblog.
Related Posts
Autocomplete for keywords is a surprisingly nuanced problem.
public |
In this case you need to work out what keywords can appear next, and there may be multiple valid syntaxes!
public | function
In this case you want to narrow the modifiers based on context before and after.
Design principles for autocomplete: https://jeremymikkola.com/posts/2019_03_19_rules_for_autocomplete.html
(I've read persuasive defences of sorting autocomplete more intelligently than alphabetically. Nonetheless, the articles lists a ton of great heuristics.)
Choosing a good autocomplete system is a crucial part of UI and language design: http://t.co/gozW6r9gOb (excellent post)