Closed
Description
PS C:\projects\TestPipeline> code -v
1.20.1
f88bbf9137d24d36d968ea6b2911786bfe103002
x64
PS C:\projects\TestPipeline> $pseditor.EditorServicesVersion
Major Minor Build Revision
----- ----- ----- --------
1 6 0 0
PS C:\projects\TestPipeline> code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
PS C:\projects\TestPipeline> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.16299.98
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.98
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
When I run New-EditorFile, a new file is created, but I also get an error message:
PS C:\projects\TestPipeline> New-EditorFile
Exception calling "GetEditorContext" with "0" argument(s): "One or more errors occurred."
At C:\Users\aleksandar\.vscode\extensions\ms-vscode.powershell-1.6.0\modules\PowerShellEditorServices\Commands\P
ublic\CmdletInterface.ps1:152 char:13
+ $psEditor.GetEditorContext().CurrentFile.InsertText(($val ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : AggregateException
Attached Logs
Follow the instructions in the README
about capturing and sending logs.