1

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

asked Dec 3, 2025 at 14:12

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.