Hacker News new | ask | show | jobs
by darkbatman 2233 days ago
This looks more like a problem that could have easily been solved with traditional algorithms, ranking keywords, etc.
1 comments

I guarantee your opinion of AI-based autocomplete will change if you try it for a week. It's completely different than anything heuristics-based. In fact, it often suggests complete English phrases when I'm writing prose that are contextually relevant and grammatically valid (which makes sense, it uses GPT-2 under the hood I think). It's crazy how good it's gotten over the last few years.

I recommend TabNine but maybe kite is just as good these days, idk.

Your comment convinced me. I just downloaded the TabNine extension for VS Code and started using it for the work I'm doing (Python).

I tried it for about 10 minutes, but had to disable the extension. Two reasons:

1. My editor no longer brought up the useful function signature hints for library methods I wanted to call, which is really annoying.

2. There was a noticeable increase in lag from when I hit a key on my keyboard to when the corresponding character appears on screen. It was hard to get used to.

Have you noticed these issues? Would appreciate any tips you have for how to get over this - maybe just stick with it a while?

Thanks.

1. the priority order of popup hints is customizable in VSCode I believe. Unfortunately, I use sublime so I'm not sure of the exact fix in VS, maybe someone else can chime in with their experience here.

2. I haven't encountered this in SublimeText other than when I first open a large new project for about ~30sec, maybe it's trying to index a large project folder? I know you can set up restrictions on the folders it tries to index to make sure it's not going wild on your whole home folder by accident.

Check out https://www.tabnine.com/faq/#magic_strings and maybe try playing around with some of those config options?

Thanks. Will give it another go.