概述
在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