-
Notifications
You must be signed in to change notification settings - Fork 510
Provide F8 Action button on the menu in VS Code, just like the F8 in the PowerShell ISE Menu bar. #2215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@kprpg thanks for opening this issue, today in VSCode we have F8 run selection capability directly from the key board, available via a "right click" or available via the command palette "Ctrl+Shift+P"--just to clarify is your feature requests for a button directly in the UI? If so this change would likely need to happen at the vscode level (rather than in the PowerShell extension) |
@SydneyhSmith I had @kprpg open this issue - my bad for not clarifying that. Yes they are asking for an actual button. Also, it's possible 😄 using a feature called "menus" in VS Code's extension API. I think we just need to add one of these to the package.json for F8 and then we should be good to go. "menus": {
"editor/title": [
{
"when": "resourceLangId == powershell",
"command": "powerShell.runSelection",
"group": "runcode"
}
]
} Since it's not too critical (because of other work having higher priority), let's go ahead and mark this up-for-grabs. |
@TylerLeonhardt thanks-- I will update the labels! |
😮 |
Feedback Request: Like in the PowerShell ISE, can you please provide a “Run Selection (F8)” button, right in the menu in VS code also (see below picture)? This will ease the transition of the workflow one uses in ISE, and enable more easy switch from ISE to Code.
Thanks,
Girish.
The text was updated successfully, but these errors were encountered: