Cannot read property ‘length‘ of null while opening vscode terminal

同一问题地址:Cannot read property ‘length’ of null while opening vscode terminal

问题描述

One day, 我在ubuntu 18.04下用vscode打开一个项目,并想和往常一样在vscode使用终端,发现报错Cannot read property 'length' of null

解决

打开setting.json,发现terminal.integrated.localEchoStyle后面的赋值为null,将它改为 “#ffffff”,保存即可解决问题。

{
    
    
    "terminal.integrated.localEchoStyle": "#ffffff",
}

tips:

打开setting.json方法点击下方地址:

新版vscode如何打开settings.json

猜你喜欢

转载自blog.csdn.net/u013468614/article/details/111152976