Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
I am new to using the powershell extension, but have previously used the python extension. The python extension adds an editor button to run or debug the current file, ignoring anything from launch.json. See from here.
I incorrectly assumed that when I pressed the similar looking button that the powershell extension provides on a ps1 file that it would just run that file. Instead, it runs the current configuration that I have selected in the debugger view (which happened to be some python thing completely unrelated to the powershell file open in the editor).
Proposed Design
My preference would be for the button to work like the python extension, although I imagine that would confuse people already used to be current behaviour. At the very least changing the tooltip from "Run" to something like "Run selected configuration" would have saved me some confusion.