Alternatively you can disable ESLint for the workspace folder front-basic-knowledge by executing the 'Disable ESLint' command.
[Info - 4:48:07 PM]
Failed to load the ESLint library for the document /Users/wangshihao/Desktop/github/front-basic-knowledge/jsbasic/async/shark/8.10async2.js
To use ESLint please install eslint by running npm install eslint in the workspace folder front-basic-knowledge
or globally using 'npm install -g eslint'. You need to reopen the workspace after installing eslint.
If you are using yarn or pnpm instead of npm set the setting eslint.packageManager to either yarn or pnpm
Alternatively you can disable ESLint for the workspace folder front-basic-knowledge by executing the 'Disable ESLint' command.
file ->Preferences ->setting ,设置默认的Formatter
VSCode的工程师们将自动补全括号功能给关闭了自己误打误撞就给弄出来了一个方法,应该算是异曲同工吧~
先安装VSCode插件python(点击拓展——搜索python——安装第一个插件)
在python拓展处,找到齿轮状设置——左键单击——拓展设置
这时候主显示区就会显示出所有设置,往下翻找,找到“Add Brackets”字样,将前面的空格勾选上即可~
接下来可以直接退出VSCode,重启软件(也可以不用),可以发现,软件可以自动补齐括号了~(这个设置是自动保存的,不用担心
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)