Two super useful keyboard shortcuts in PowerShell ISE

So this post is a more a reminder to me than anything else but…having recently come across the Microsoft TechNet article ‘Keyboard Shortcuts for the Windows PowerShell ISE’ (https://msdn.microsoft.com/powershell/scripting/core-powershell/ise/keyboard-shortcuts-for-the-windows-powershell-ise) I thought it necessary to highlight the two keyboard shortcuts….

Ctrl + J – brings up a list of code snippet templates (e.g. try-catch-finally and do-until)
Ctrl + M – expand or collapse braces

See the screenshots below for a demo and do make sure you try them yourself!

0
Be the first one to like this.
Please wait...

One comment

  1. I knew about Control+M which is super helpful… but Control+J is blowing my mind right now! Never knew it was there.

    No votes yet.
    Please wait...

Leave a Reply

Your email address will not be published. Required fields are marked *