jorgerojas26 / lazysql

A cross-platform TUI database management tool written in Go.
MIT License
833 stars 45 forks source link

[feat]: Open JSON(B) in Vim/JQ #98

Open prochac opened 2 months ago

prochac commented 2 months ago

Could the external editor feature be duplicated for column results? In some cases, we use JSON/JSONB in Potgres. And the column content is sometimes big. It would be nice to be able to see it formatted. The jq filter is nice to have. (I guess should be possible in Vim, if I learn it, right?)

jorgerojas26 commented 2 months ago

That's a good feature. I'm thinking about implementing it just like MongoDB Compass does it, having a breadcrumb of result tables, where you can just press "Enter" on a column and if it has a complex structure (like json), create and navigate a step further in the breadcrumb and show the data in a table.

jorgerojas26 commented 2 months ago

Of course, the "Open in external editor" is nice as well and i plan to support more of that.