mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.44k stars 291 forks source link

Way to avoid white spaces when copying a char value from table ? #1101

Closed Mathis-Aubry closed 2 months ago

Mathis-Aubry commented 1 year ago

Hello,

I would like to know if there's a way for me to avoid having white spaces after the chars when I copy strings from a table. It seems like they're filling the unused space, when the string's length is lower than the maximum length defined in the variable type.

I'm using SQLTools on VSCode with a PostGreSQL database and I use CHAR(50) variables in my tables. I'm not so sure I should have open an issue for this question but this is the only place I found. Thank you for reading me! I love this extension so much