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

How to show full text?

Open wwc7654321 opened this issue 4 years ago • 2 comments

If result text column is too long, it will show like "xxxxxx....". Even if I only query one cell. But how can I expand it to show full text?

wwc7654321 avatar Aug 27 '21 08:08 wwc7654321

Quick and Dirty Hack

I went into the extension's installed code and changed this line: src/resultView/common.js: canTruncate = true (in the transpiled javascript it was line 260) and changed it to canTruncate = false and now I see the entire text field.

See here for where extensions are installed: https://stackoverflow.com/questions/52831666/in-which-path-does-visual-studio-code-install-extensions

The "correct" fix is to add a configuration page or something.

cb504 avatar Oct 03 '22 14:10 cb504

The folder structure seems had been changed, I found it in the file: ckolkman.vscode-postgres-1.4.3\out\common\formatting.js

aleung avatar Jan 18 '24 02:01 aleung