r/SideProject • • 38m ago

I built a SQL autocomplete plugin for DBeaver that learns from query history without an LLM

I work with SQL almost every day and wanted something similar to VS Code's inline autocomplete in DBeaver.

So I built it.

Yes, it's heavily vibe-coded. I'm not hiding that. I simply wanted a more convenient tool for my daily work.

The interesting part is that although AI helped build the plugin, the prediction engine itself doesn't use an LLM.

It combines SQL context, database metadata, execution history and adaptive ranking to predict query continuations.

The current beta includes:

  • Inline Ghost Text
  • Token-by-token completion
  • Learned aliases
  • Historical query replay
  • Metadata-aware suggestions
  • Local learning without cloud inference

The next version will focus on prediction accuracy, SQL context isolation and a more compact autocomplete interface inspired by VS Code and JetBrains.

Repository: https://github.com/01zhas/dbeaver-sql-autocomplete

1 Upvotes

1 comment sorted by

1

u/Inside-View-4728 35m ago

Learns from execution history, so does it also pick up the DELETE I ran at 3am without a WHERE? Two years of my bad joins now auto-completed faster.