Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PG UtilsNew to Visual Studio Code? Get it now.
PG Utils

PG Utils

Raf

|
654 installs
| (0) | Free
Various Postgres utilities
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

psql for Visual Studio Code

Features

Execute highlighted SQL queries in psql.

How to use this extension:

  1. Select queries by one of the following ways:
  • Put the cursor on the line of the query
  • Hold Option key (mac) and select multiple lines
  • Highlight a range of queries
  • Hold Option key (mac) and highlight multiple ranges of queries

    Tip: You don't have to highlight the entire line, the extension works even when only a portion of the line is highlighted

  1. Press Ctrl + Enter

Requirements

This extension requires Postgres installed in the host machine.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft