VSCode: PlatformIO IntelliSense Index Rebuild 解决

概述

在vscode中打开platformio时,PIO Home一直处于加载状态 主页上一直显示loading
在左下方的状态栏中提示PlatformIO IntelliSense Index Rebuild 任务一直在运行

环境:

ubuntu16.04
vscode 并无自动更新过
PlatformIO IDE插件版本1.9.0
初步怀疑是PlatformIO IDE插件自动升级造成的,和python或者其他依赖库的版本不兼容导致的。下面提供了解决方法

解决办法:

issues中提供如下方法:

sudo pip uninstall platformio 
rm -rf ~/.platformio
重启vscode

我实际仅把目录删除后重启下vscode 然后会提示正在安装platformio ,安装完成后重启下vscode就可以正常用了

rm -rf ~/.platformio
重启vscode

参考:
https://community.platformio.org/t/home-not-loading/2579
https://github.com/platformio/platformio-vscode-ide/issues/68

发布了87 篇原创文章 · 获赞 28 · 访问量 12万+

猜你喜欢

转载自blog.csdn.net/MakerCloud/article/details/102596794
今日推荐