vscode: powershell.exe terminated with exit code: 2.
Does this issue occur when all extensions are disabled?: Yes
PLEASE DON’T DUPLICATE THIS ISSUE
I’m getting this error in any terminal I open (powershell, powershell (admin), cmd and vscode terminal). So to fix it I found this reported issue: https://github.com/microsoft/vscode/issues/88008 but I swear I still don’t know how to solve it, I’m not a vscode pro, I just use it for math animations and I need the terminal. So in that issue he just goes on settings.json and changes “terminal.integrated.windowsEnableConpty” from TRUE to FALSE. But I can’t get to settings.json, and I still don’t know if that solution is gonna work out
So I do ctrl + shift + p and type “settings json” and I have 3 options, the workspace (that has nothing in it) the user (that has like 20 lines) and the default, which has all of the settings including that one that I want to change. But I can’t edit it because says: “Cannot edit in read-only editor”. I don’t even know if that will work but I cannot even acces to it because of this I’m so mad please help.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (11 by maintainers)
@meganrogge I think @Phibik ran the
Open Default Settings (JSON)command in this case. That editor is always read-only.