You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Load the standard PowerShell profile in the extension console on Windows #5710
I have searched all issues to ensure this has not already been reported.
Summary
On Windows, the PowerShell extension's integrated console uses Microsoft.VSCode_profile.ps1 instead of the standard Microsoft.PowerShell_profile.ps1. As a result, ordinary interactive setup in the user's PowerShell profile (for example, prompt initialization) is missing from the extension console, even though it is present in regular pwsh terminals.
This makes two PowerShell sessions on the same Windows machine behave differently and requires users to maintain duplicate host-specific profile files for the same interactive configuration. With profile loading enabled, the standard PowerShell profile should be loaded by default so the extension console behaves consistently with other PowerShell terminals.
Please load Microsoft.PowerShell_profile.ps1 by default, while allowing an optional VS Code-specific profile to add overrides. If changing the current behavior is not possible without breaking existing setups, please provide a setting to opt into loading the standard profile.
Proposed Design
When powershell.enableProfileLoading is enabled, load the standard current-user PowerShell profile for the selected PowerShell installation. Then, if present, load Microsoft.VSCode_profile.ps1 for host-specific overrides. Document the order and provide a setting to preserve the current VS Code-only profile behavior if compatibility requires it.
Activity