PowerShell / vscode-powershell

Provides PowerShell language and debugging support for Visual Studio Code
https://marketplace.visualstudio.com/items/ms-vscode.PowerShell
MIT License
1.72k stars 495 forks source link

Creating new project from Plaster template crashes editor services (Preview Extension) #2136

Open Glober777 opened 5 years ago

Glober777 commented 5 years ago

Issue Description

If I have a "clean" instance of VSCode opened (with no projects opened) and try creating a new project using a Plaster template, the Preview Extension starts up and a while after it just crashes (before even providing a list of available templates)

Attached Logs

Logs to be sent over an email

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.17763
VSCode 1.37.0
PowerShell Extension Version 2019.5.0

PowerShell Information

Name Value
PSVersion 5.1.17763.503
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.17763.503
BuildVersion 10.0.17763.503
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand) |Extension|Author|Version| |---|---|---| |azure-account|ms-vscode|0.8.4| |azure-pipelines|ms-azure-devops|1.155.0| |beautify|HookyQR|1.5.0| |code-settings-sync|Shan|3.4.1| |code-spell-checker|streetsidesoftware|1.7.17| |csharp|ms-vscode|1.21.0| |docs-article-templates|docsmsft|0.2.7| |docs-authoring-pack|docsmsft|0.1.2| |docs-markdown|docsmsft|0.2.13| |docs-preview|docsmsft|0.3.25| |docs-yaml|docsmsft|0.2.3| |ecdc|mitchdenny|1.3.0| |EditorConfig|EditorConfig|0.13.0| |gc-excelviewer|GrapeCity|2.1.32| |gitlens|eamodio|9.9.3| |live-html-previewer|hdg|0.3.0| |mssql|ms-mssql|1.6.0| |partial-diff|ryu1kn|1.4.0| |pomodoro-code|odonno|0.2.1| |powershell-preview|ms-vscode|2019.5.0| |team|ms-vsts|1.149.2| |theme-hackershaze|Nuuf|2.0.1| |todo-tree|Gruntfuggly|0.0.141| |vscode-hexdump|slevesque|1.7.2| |vscode-logicapps|ms-azuretools|0.2.9| |vscode-markdownlint|DavidAnson|0.30.1| |vscode-yaml|redhat|0.4.1| |xml|DotJoshJohnson|2.5.0|
SydneyhSmith commented 5 years ago

@Glober777 this seems to be happening because Plaster may not be properly interacting with updates made to PSReadline in the editor services context...thanks for providing the logs we will do some more investigation in this area

mikejwhat commented 4 years ago

Any update on this?