Thoughts about the auto completion

Sorry, I have posted a lot about the tab auto completion, as I love this feature so much and heavily rely on this feature in my daily coding(more than 5 hours coding every day).

I really love the speed and latency of the auto completion from Cursor. It rarely make me wait while typing, this is awesome and make me feel very smooth in the coding work, except sometimes the unexpected abort error, but it works well most of the time.

I tried the Augment Code, which is an VSCode extension. I found that the context aware of the auto completion from Augment Code is awesome. I did a lot of experiments about this point:

Open a new file, and try to write some codes, if I want to use a constant defined outside this file, the Augment Code will still make the right suggestion codes about the constant while the Cursor may not. This means that the Augment Code may inference the suggest constant code under the whole project context, while Cursor may not. But the speed of the Augment Code is not as good as Cursor, it usually makes me wait after typing something which is a little unacceptable.

It’s a common sense that the auto completion model should have a low latency and therefore cannot inject too much context during auto completion. There is always a trade off between the accurate and latency.

But I still hope the next generation of Fusion Tab model, may consider more context to generate more project-based context aware codes. Some suggestions or thoughts about the next completion mode:

  1. Is it possible to put some of the model into the developer’s local machine? This may be not realistic as the local machine may don’t have enough inference resources.

  2. For the codebase context awareness, is it possible for the completion model to use the indexed codebase which is only used in the chat or composer functionality now. If we do some rag works before sending the completion request, it’s difficulty to guarantee the latency of the auto completion. Therefore, it seems that we should make another way to become more codebase context awareness for the completion model while keeping a low latency.

To keep a low latency, but become more codebase context awareness, is there a way to upload the codebase to the inference server(may be not the source code, in another format), make some pro-process and constraint the code completion inference under this specific code base scope. This will consume extra resources but can be exchanged with a specific business plan.

Anyway, the auto completion model is perfect only when it has a very low latency(don’t make me wait while typing codes) and also have codebase context awareness(means accurate code suggestion).

1 Like

@sizhang
I saw your post and tried using Augment Code, but isn’t Supermaven better?

Until recently, I was a Pro user of Cursor.
I really liked Cursor’s auto-complete, but I ended up canceling my subscription because the accuracy of the chat within Cursor was poor, and I wasn’t using Composer.
Auto-complete alone was too expensive, and I also felt uneasy about using a forked version of VSCode.

That said, I really liked Cursor’s auto-complete, so I’m currently looking for an alternative.

No offense here to discuss the auto completion about other products, but hope the Cursor will get better and better.

I just tried almost all the auto completion editors or vs extension, just FYI:

1、Copilot: the biggest problem is the inability of inline completion, the the speed is not fast, making me always wait.
2、SuperMaven: before using Cursor, SuperMaven is the most powerful auto completion extension I found, both on the super fast speed and big context size. But it’s still a little way from the Cursor tab.
3、Augment Code: just as mentioned, the context awareness is good, but the speed is not so fast as Cursor.
4、wind: I am still the pro user, its auto completion is good but still not good as Cursor, especially in the speed.
5、Gemini Assistant, and others: just so so, not so good as Cursor in both speed and accuracy.

After all, I can’t find a even better auto completion tool except Cursor.

I mentioned the speed many times, because the auto completion speed is really very critical to a non-newbie programmer, type and auto complete, tab, tab, tab, that’s all!

3 Likes

Thank you for kinds!

I hope cursor to serve a only autocomplete plan <3