4 ms·
I happen to use slightly less fancy and expensive GPT-2 based autocomplete, and it's amazing. https://tabnine.com https://tabnine.com
by vladf 6y ago
I happen to use slightly less fancy and expensive GPT-2 based autocomplete, and it's amazing. https://tabnine.com https://tabnine.com
- tmalsburg2 6y agoInteresting. As a reading researcher, I imagine that this could potentially introduce subtle and difficult to spot bugs when you get a proposed completion that looks about right i.e. close enough to what you imagined. Has this been an issue in your experience?
- 0-_-0 6y agoI use it too and it hasn't, you still need to look at the suggestions before you accept them. It's not that good, so I won't lose my job just yet.
- surething123 6y agoNot the person to whom you asked this question, but I'm also a user of TabNine. In my experience, the "recommendations" / autocompletions provided by the tool are usually very short (probably less than 20 characters on average), and I don't use it for terribly complex chunks of code. Where I like it most is in the initialization of common code chunks like `if` and `for` loops, using variables instantiated in nearby preceding lines. It figures out things like `for(customer in customers)` as I'm writing `for`.
- vladf 6y agoNo, it's not auto-completing function blocks, just simple expressions that are easy to validate. E.g., let lo = 0; let hi = vec.len(); let mid = lo + (hi will autocomplete to `(hi - lo) / 2` as the second autocomplete option (so I'd hit tab twice). If you were to "score" it based on top-5 it'd probably be pretty bad at guessing my intent, but then again, I get to _opt-in_ to suggestions so it just needs to be right often enough, as it doesn't bother me much to keep typing.