Good evening all,
If you haven't heard of or used Visual Studio Code (which I'll be referring to as VSC in this question) already, I highly recommend checking it out at: https://code.visualstudio.com/
My question is to do with the excellent PowerShell extension.
I would like to be able to open a .ps1 file in VSC and for the program to know to run the PowerShell extension.
The current method (or at least the method I use) is to open VSC, navigate to the Explorer tab, and open the C:\Users\user.name\.vscode\extensions\ms-vscode.PowerShell-0.6.1 folder which seems to load the extension.
Then drag the .ps1 file onto that window which loads it as a working file, and means it can interact with the extension.
This does however seem long winded, and would be great if I could just open a .ps1 file and the program would recognise it from the...