vscode-postgres icon indicating copy to clipboard operation
vscode-postgres copied to clipboard

Improve query result view for large tables

Open zachsa opened this issue 6 years ago • 1 comments

My result set is a lot of columns, some of which have a lot of text in them. In this case the results view is not easy to read - especially when looking at the query results as split screen.

Would it be possible for the query results view to be scrollable horizontally instead of fitting to the viewport? Also, for some columns would it be possible to truncate text at 'n' chars?

Alternatively, would it be possible to show the result view in JSON without having to export a stringified version?

Thanks for the plugin. It's juuuuuussst about a replacement for Valentina studio for my use-case (running queries and viewing the results)

show the results as JSON (without having to stringify first), or truncate

zachsa avatar Mar 14 '19 11:03 zachsa

For truncation I imagine a settings along the lines of:

vscode-postgres.truncateText = 50

zachsa avatar Mar 14 '19 11:03 zachsa