I was wondering if there is a way to run a query just by placing the cursor in the line or block. I know I can run the query by selecting it, but to me it seems a bit inconvenient especially when using a laptop.
One Vs code extension SQLTools allows you to do this, but I am using the official Microsoft one called PostgreSQL https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-pgsql