-
Notifications
You must be signed in to change notification settings - Fork 513
Add Feature to List PowerShell Builds in Session Menu when Working on PowerShell Core #1242
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
It seems like if we could make |
No really. When working on the project I may switch from Windows PS, to Core, to Debug Build, to Release Build. I may have a temporary editor file open with the same snippet of code and testing the behavior in each, or just going back and forth from building and debugging. I do a bunch of jumping around of PS versions in this work space, so the setting in the workspace wouldn't really address this. I agree this is kind of niche case. this is a "nice to have" for me that @tylerl0706 suggested I open an issue on. Is there an editor command to update that menu? If so, I could add it as a function in the project code rather than request it here. |
There isn't an editor at this time. That said, as a work around, it could be possible to write a script to modify the setting @rkeithhill mentioned and then restart the current session (this part you may have to do manually). It's not ideal and I want to make this better for PowerShell contributors. |
@rkeithhill your PR will address this as well, right? |
I think so. It will not "detect" them automatically but it will allow you to add paths via the |
@markekraus are you happy with that? |
@tylerl0706 @rkeithhill yes.. that works for me! |
@rkeithhill's PR addressed this right? |
I think so. What say you @markekraus ? |
Yes! Thanks @rkeithhill |
I do quite a few builds of PowerShell from VS Code and one feature I think that would be really nice is the ability to automatically detect PowerShell builds form the project root and add them to the selection list in the PowerShell Session Menu:
Ideally, it would detect the release or debug builds, populate them in the PowerShell session menu, and make them available as options to run the integrated console and debugger against.
System Details
$PSVersionTable
:Issue Description
I am experiencing a problem with...
Attached Logs
Follow the instructions in the README
about capturing and sending logs.
The text was updated successfully, but these errors were encountered: