

This AFAIK cannot be done in the native editor but it can with:Īnd by installing an extension called PowerShell by using the Ctrl + Shift + X and searching for PowerShell and installing.
#Psequel comment shortcut code#
This is a much better solution but it involves installing a plugin for the ISE. If you are using VSCode in a linux environment, then you can comment multiple lines by either: Selecting a block of code > then, press Ctrl + Shift + A (Block commenting) Or, selecting a block of code > then, press Ctrl + / (Single-line commenting applied to all selected lines) Hope this helps. If the $Profile file is not yet created (it's often not), you can create it like this: New-Item -Path $profile -ItemType "file" -Force The function creates a new menu item with keyboard shortcut Ctrl-K that comments or uncomments the selected lines. $Profile is run every time ISE is opened, so the function is always available. Place this function in your $Profile file. Other great apps like PSequel are HeidiSQL, phpMyAdmin, DataGripand pgAdmin. They are either web-based, Java based, or don't support all the features you want. There are a number of PostgreSQL GUI tools. Its UI is however clumsy, confusing and difficult to use.

pgAdmin is a great tool for its feature-richness. The best alternative is DBeaver, which is both free and Open Source. PSequel is a simple interface that allows you to quickly perform common PostgreSQL tasks.

It works for one or many lines, or even within lines. There are more than 25 alternatives to PSequel for a variety of platforms, including Windows, Mac, Linux, Online / Web-based and Self-Hosted solutions.
