Slow "PlatformIO: Rebuilding IntelliSense Index" only first time when reloading VScode after installing PIO
See original GitHub issueIt can take up to 1 minute and 30 seconds for “PlatformIO: Rebuilding IntelliSense Index” to finish for the first time. If this is normal then we can close this issue. The Project Tasks are unusable in this duration which is annoying.
I see this in the console when the problem appears: [Embedded Page] Failed check of PIO Core library updates for undefined TypeError: Cannot read property 'options' of undefined
Not sure if it is related.
Reproduction steps:
- Close VS code if open
- Delete the local
.platformio
folder - Launch VS code
- Wait for PIO to finish installing and reload VS code
- Observe slow “PlatformIO: Rebuilding IntelliSense Index” (On my end it is around 1 minute and 30 seconds)
This is what it looks like while it is going:
I’m on Windows 10 and Latest VScode
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Rebuilding IntelliSense forever- caused by PIO--HELP!
I'm unable to use VSCode, because Rebuilding IntelliSense and Loading Tasks cue on open. They run and run, and they don't stop running....
Read more >VSCode PlatformIO and the dreaded "IntelliSense Index ...
I thought only Build or Upgrade commands would do it. Perhaps index rebuilding should be made foreground operation with its own terminal? Either ......
Read more >IntelliSense Index Rebuild stuck running forever after ...
After upgrading PIO to version 5.0.1, the IntelliSense Index Rebuild runs forever. I'm using Visual Studio Code with Platformio extension.
Read more >Intellisense not working - PlatformIO IDE
Hi, I have installed VS Code and the PlatformIO extension - nothing else. When I write code for esp32 the intellisense is showing...
Read more >why it does not update upon code change before build?
I've just installed PlatformIO with VSCode and the first project I've tried (converted from Arduino) is doing exactly this. Had an error ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please click on the “terminal” icon on the bottom status bar (blue) and type
Does it hang?
Command did not hang