Feature Request: Ability to run highlighted code via right-click?
System Details
- Operating system name and version: Windows 10 Enterprise v1607
- VS Code version: 1.10.2
- PowerShell extension version: 0.10.1
- Output from
$PSVersionTable: PSVersion 5.1.15061.0 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.15061.0 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Request Description
In addition to hitting F8 to run the currently highlighted code, could we have the ability to right-click and select an option to run the code as well? Similar to PowerShell ISE's option? (See Attached)

Yep, I can add that.
Thank you sir! :)
+1 to this, and any chance we could get a couple buttons added to the PowerShell terminal window as well, similar to the ISE? One for run script and one for run selection?
Unfortunately I can't manipulate the terminal window UI so adding new buttons won't be likely. I'll add the context menu items for the next release, though.
No prob, worth an ask. Having the context menu items will be great though. Thanks for the work on this!
Adding a screenshot for the changelog:
