I frequently needed to look up x records by id/name/etc. I knew the values, but needed to format them to work in SQL! I took my list and copied it in a text editor and had to run multiple regex commands to format the list so it could be used in SQL, ie. ('value1', 'value2', 'etc').
I got tired of this and built a VSCode extension: https://github.com/reZach/listtosql