restarting Integrated Console does not respect powershell.powerShellDefaultVersion setting
See original GitHub issueSystem Details
System Details Output
### VSCode version: 1.28.1 3368db6750222d319c851f6d90eb619d886e08f5 x64
### VSCode extensions:
adammaras.overtype@0.2.0
alefragnani.project-manager@9.0.1
DavidAnson.vscode-markdownlint@0.20.0
DotJoshJohnson.xml@2.3.2
eamodio.gitlens@8.5.6
EditorConfig.EditorConfig@0.12.5
EFanZh.graphviz-preview@1.3.0
emmanuelbeziat.vscode-great-icons@2.1.44
fatihacet.gitlab-workflow@1.2.0
Ionide.Ionide-fsharp@3.28.0
Ionide.Ionide-Paket@1.12.0
mohsen1.prettify-json@0.0.3
ms-mssql.mssql@1.4.0
ms-python.python@2018.9.0
ms-vscode.csharp@1.16.2
ms-vscode.PowerShell@1.9.0
ms-vsliveshare.vsliveshare@0.3.790
msjsdiag.debugger-for-chrome@4.10.2
ritwickdey.LiveServer@5.1.1
robinbentley.sass-indented@1.4.9
Shan.code-settings-sync@3.1.2
vstirbu.vscode-mermaid-preview@0.10.1
wesbos.theme-cobalt2@2.1.6
woodywoodsta.vscode-material-syntax-dark@0.1.1
zhuangtongfa.Material-theme@2.17.4
### PSES version: 1.9.0.0
### PowerShell version:
Name Value
---- -----
PSVersion 5.1.14393.2485
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.2485
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
I have set the setting"powershell.powerShellDefaultVersion": "Windows PowerShell (x86)"
When I start code
and the Powershell Integrated Terminal
is and shows the correct Version(5.1 (x86)
)
When I kill the Terminal
and say YES
, I like to restart it.
I am not getting an Windows PowerShell (x86)
,
but a 64bit
Attached Logs
Here are diagnostics log logs.zip
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to Change Visual Studio Code ... - Stack Overflow
Having this in settings.json allows me to run pwsh as the integrated console "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell ...
Read more >Using Visual Studio Code for PowerShell Development
You can do this more easily by resetting the value and using the Settings interface. To set the default PowerShell version, set the...
Read more >What do you guys do to setup Visual Studio Code for ... - Reddit
Hi everyone! I've been fooling around with Visual Studio Code and the PowerShell extension and wanted to see how everyone else configured ...
Read more >How to change Visual Studio Code 'Powershell ... - Quora
In Visual Studio Code, you can open an integrated terminal, initially starting at the root of your workspace. This can be convenient as...
Read more >Getting setup for PowerShell Development - Tech Thoughts
PowerShell ISE no more. In the past the de-facto choice for writing PowerShell code was the PowerShell Integrated Scripting Environment (ISE). It is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just ran into this while using multiple powershell versions.
after closing the integrated terminal using the trashcan, and re-opening it using the warning dialog (as per the issue author), it loads
pwsh
instead ofpwsh-preview
:The original issue is fixed now. If you still see this behavior please let us know.