Problem
PowerShell Pro Tools (for VS Code) is not behaving as expected. For example, pressing the 'Show Form Designer' button does not successfully launch PSScriptPad (only the splash screen is shown).
Solution
This solution assumes that you have VS Code installed with the Microsoft PowerShell extension and a licensed PowerShell Pro Tools extension
Reset the PowerShell Pro Tools app folder per below
1. Exit any instances of VS Code that you might have open
2. Delete the PowerShellProTools folder from your user profile directory.
Windows Users
For PowerShell Pro Tools version 2023.09 and above and delete: C:\Users\[username]\.vscode\extensions\ironmansoftware.powershellprotools-202X.XX.0
For PowerShell Pro Tools version prior to 2023.09, delete the same folder as above but also delete: C:\users\[username]\PowerShellProTools
Linux/Mac Users
Delete: /home/username/.vscode/extensions/ironmansoftware.powershellprotools-202X.XX.0/
If you have any issues with deleting the folder because the files/directories are locked, try restarting your computer.
3. After step 2 is complete launch VS code and make sure you open a PowerShell .ps1 file
4. You should see in the same status bar that the PowerShell Pro Tools extension is not ready yet
5. After a few seconds, it should turn to green indicating it is ready.
6. You should now be able to proceed with using the features of the extension.
(figure shows the PowerShell Pro Tools toolbar in VS Code)
(figure shows the PowerShell Pro Tools sidebar menu in VS Code)