Skip to content

Autocomplete completely non-functional in SQL editor #1731

Closed

Description

@zee-rgb

Description
Autocomplete does not work at all in the SQL editor. No suggestion dropdown ever appears — not for keywords, table names, or column names. The only editor feature working is auto-capitalisation of keywords (e.g. "select" becomes "SELECT").

Steps to reproduce

  1. Connect to a PostgreSQL database with tables
  2. Open a new query tab
  3. Type anything — keywords, table names, column names

Observed behaviour

  • No autocomplete dropdown appears at any point, for anything
  • Auto-capitalisation works (select → SELECT) — so the editor is otherwise receiving input
  • Schema is fully loaded (all tables visible in the sidebar)

Expected
An autocomplete dropdown suggesting keywords, table names, and column names as I type.

Notes

  • No autocomplete toggle found in Settings > Editor (assumed always-on)
  • Also: backspace deletes two characters instead of one (possibly a related editor bug). On reloading, this fixed the issue.

Environment

  • TablePro version: Version 0.52.0 (100)
  • macOS: 26.5.1
  • Database: PostgreSQL 18 (local, via DBngin)
  • Mac: Apple M4

Activity

  1. zee-rgb commented on Jun 20, 2026

    @zee-rgb
    Author

    NB: Works on Macbook but not on Mac Mini

  2. zee-rgb commented on Jun 20, 2026

    @zee-rgb
    Author

    Update: After a few reloads of the app this morning, autocomplete started working on all three machines (2 MacBooks + Mini). It now works, but I'm not sure what fixed it — it appears intermittent rather than tied to a specific machine. Flagging in case the inconsistent startup behavior points to a schema-loading or initialization timing issue. Happy to provide more detail if useful.
    Additional detail: This behavior seems to be a loading/timing issue overall. On startup the data takes a while to load, and switching between tables too early throws an SQL error — but everything works fine once fully loaded (queries, autocomplete, table switching). The autocomplete failure looks like part of this same pattern: the editor is usable before the schema has finished loading, so completions have nothing to draw from yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions