So, I install PowerShell Pro Tools from the extensions manager in VS Code. I go to a tutorial on creating a WPF app using VS Code. (Building WPF Applications in Visual Studio Code with PowerShell) It says to create a new XAML file and click on the button to open the PSScriptPad app.
Vinyl scratch noise… No button. No PSScriptPad app. The tutorial says it’ll just “be there.” It wasn’t.
So I hunt the thing down, and download it from the website. It plops a naked executable in my Downloads folder, no indication of where I should put it or what I should do with it.
I created a Program Files folder for it, added it to the system PATH variable, rebooted. Ok, PS can find it ok. VS Code still has no button on xaml files.
I uninstalled Pro Tools, restarted VS Code and the PS window I started it from. Reinstalled Pro Tools. Discovered that Pro Tools does not start when VS Code starts but you have to open the pro tools stuff from the icon on the left. Then it starts.
No PSScriptPad button on xaml files.
How do I get this extension working properly with VS Code? If it is more complicated than simply clicking “Install” why is this not documented somewhere obvious?