-
Notifications
You must be signed in to change notification settings - Fork 537
Description
System Details
- Operating system name and version: Windows 10 (Build 15063.877)
- VS Code version: 1.20.1
- PowerShell extension version: 1.6.0
- Output from
$PSVersionTable:
Name Value
PSVersion 5.1.15063.786
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.15063.786
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:
code -v
$pseditor.EditorServicesVersion
code --list-extensions --show-versions
$PSVersionTable
1.20.1
f88bbf9137d24d36d968ea6b2911786bfe103002
x64
Major Minor Build Revision
1 6 0 0
ms-python.python@2018.1.0
ms-vscode.PowerShell@1.6.0
nhoizey.gremlins@0.7.0
robertohuertasm.vscode-icons@7.20.0
Key : PSVersion
Value : 5.1.15063.786
Name : PSVersion
Key : PSEdition
Value : Desktop
Name : PSEdition
Key : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0...}
Name : PSCompatibleVersions
Key : BuildVersion
Value : 10.0.15063.786
Name : BuildVersion
Key : CLRVersion
Value : 4.0.30319.42000
Name : CLRVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
Issue Description
I have two questions about the behavior of the vscode-powershell extension.
- How do you set the execution policy for the PowerShell Integrated Console created by the extension? I am able to use terminal.integrated.shellArgs.windows for setting the policy of the default integrated terminal shell, but it does not seem to affect the PowerShell Integrated Console created by the extension.
- Why is it that PowerShell syntax highlighting works in the default integrated terminal shell (Get-Process is highlighted yellow, for example), but in the PowerShell Integrated Console created by the extension there doesn't seem to be any syntax highlighting.
Attached Logs
Follow the instructions in the README
about capturing and sending logs.