Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The SQLTools extension (mtxr.sqltools) does not work correctly in Cursor: it stays in an endless loading/activating state, the connection detail page never appears, and manually added connections in settings do not work. The same extension and settings work in VS Code. Developer console shows Trusted Types blocking script execution and a missing workbench view descriptor for SQLTools.
Steps to Reproduce
- Install SQLTools (and the appropriate DB driver, e.g. MySQL/Postgres) in Cursor.
- Try to add or select a database connection (e.g. via “SQLTools: Select Connection” or the connection UI).
- Observe: loading/activating never finishes, connection detail/wizard page never opens.
- Optionally add connection config manually to sqltools.connections in settings: connection may appear in the list but the actual database connection does not work.
Expected Behavior
- SQLTools activates and shows the connection UI / connection detail page.
- User can add and select connections and run queries as in VS Code.
Operating System
Windows 10/11
Version Information
Version: 2.5.26 (user setup)
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
Additional Information
SQLTools output/debug only shows lines like:
- EXECUTING COMMAND => sqltools.selectConnection
- REQUEST RECEIVED => connection/GetConnectionsRequest
- Then nothing further (no response/UI).
Manually added connections in settings may appear in the list but do not connect successfully.
In VS Code, the same setup works.
Does this stop you from using Cursor
No - Cursor works, but with this issue