SQL Database view and query console #24000
Replies: 9 comments 2 replies
-
|
Practically speaking JetBrains has a big leg up here, not just because they have head start (DataGrip turns 9 years old in a week) but because Jetbrains IDEs run on the JRE (Java/Kotlin). Nearly every database ships a JDBC driver with a relatively well defined interface which so you can support obscure databases (CockroachDB, DB2, SQL Server, SAP Hana) on any platform as long as cross-platform JDBC-driver available (even if those drivers are closed source). This would a harder hill to climb if it were written in Rust like the rest of Zed. Thanks for reporting. |
Beta Was this translation helpful? Give feedback.
-
|
How about using libs like |
Beta Was this translation helpful? Give feedback.
-
|
It'd be so cool to have a simple Postgres GUI with autocomplete and an AI assistant built in. |
Beta Was this translation helpful? Give feedback.
-
This is only one side of the coin. And it seems wrong to me to consider as the only option that the Zed team should support these drivers. The problem is completely different - few editors can boast TableView in text mode. And it is the absence of this type of text representation that is the stumbling block for integrating such things. And this is not only working with SQL queries, but also trivially opening CSV files and any similar table formats. But there are many ways to display tabular data, and each SQL IDE does it in its own way (extended windows, tabs, inline, cached, post-processing), not to mention the methods of working with connections, etc. And with TextTableView as a presentation mechanism, it will open a new page in the history of building a customizable environment for working with data. |
Beta Was this translation helpful? Give feedback.
-
|
up vote for this, love jetbrains ides but zed is great alternative. |
Beta Was this translation helpful? Give feedback.
-
|
It would be good to get this baked into Zed, it’s a popular feature in PyCharm. At the very least enabling extensions to do this would be a good start. VScode has an extension which is good enough, I don’t think it’s possible to build such an extension in Zed yet.. https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-database-client2 |
Beta Was this translation helpful? Give feedback.
-
|
First class multi dialect sql support with AI data modeling and sql code creation coupled with the existing agentic editing would be next level |
Beta Was this translation helpful? Give feedback.
-
|
VScode offers a similar UI for viewing tables, writing & running queries, and auto-completion for table columns and what not.
|
Beta Was this translation helpful? Give feedback.
-
|
Hey folks 👋 I’ve been exploring this space recently, and as a first step toward better tabular data support in Zed, I opened a draft PR that adds a CSV/TSV preview with a real table UI (resizable columns, sorting, cell selection, quote-aware parsing, etc.): PR: #44344 It’s still very much a POC, but several people in this thread mentioned wanting a generic “table viewer” or a lightweight foundation for DB query results, so I thought it might be relevant here. My long-term goal is also to move toward database-client features, and CSV preview felt like a good first step. Totally open to feedback, ideas, or any advice if anyone wants to chime in. 🙌 |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Check for existing issues
Describe the feature
Two main reasons i still mainly use Jetbrains IDEs instead of Zed is git tooling and integration with databases. There is issue for git but i didn't found one about databases.
So basically in IDEs like PyCharm and GoLand you can connect to almost any datasource to observe and query data. Would be nice to have it in Zed. Adding some of the most popular relational and NoSQL DBs (PostgreSQL, SQLite, MySQL, Redis, MongoDB) should be the first step in my opinion and then an interface for integration can be provided.
Environment
Zed: v0.163.2 (Zed)
OS: macOS 15.1.1
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help present your vision of the feature
screenshots
Beta Was this translation helpful? Give feedback.
All reactions