Oh derp… I completely missed that you’re on Linux. Ok, on Linux, VSCode doesn’t manage updates, it leaves that to your package manager, so you’re probably fighting with apt/unattended-upgrades on this front. You’ll want to have apt hold the package version for code… i.e. sudo apt-mark hold code, and then sudo apt-mark showhold to check that it took. If you want it to update again sudo apt-mark unhold code will release it.
PlatformIO: Intellisense Index Rebuild is actually promising… it’s suggesting the VSCode extension is trying to process the projets platformio.ini, update IntelliSense, and install any packages (libraries, toolchains) needed if possible. Still getting no task failures though?
edit: just saw your other thread… not sure what’s going on there now… have a look in the Help -> Open Process Explorer … is there a python task running? Maybe the python executable is being used or something like that…
I have unattended-upgrades disabled. But, I do an apt update/upgrade every day because I use the daily build of FreeCAD. And, having no clue the package for VSC is called “code” it didn’t register to me that it was being upgraded.
Thanks for that!
Don’t know what was up with the Intellisense thing…it just stopped being weird after an hour or so.
Yeah, VSCode is a bit sneaky that way… they couldn’t call the package vscode, now could they?!
A few things are happening when the IntelliSense rebuild message is shown… including installing library files, missing toolchains, etc. Maybe it was having trouble doing that.
Okay, I ran into the same issue today on Windows 10.
I’ve uninstalled VSC, deleted .platformio and .vscode from my user directory. I deleted .vscode and .pio from my project directory. I’ve reinstalled VSC x64 1.40.2 (System setup). Reinstalled PlatformIO, opened my project folder in VSC and… still got the isse
I’ve then installed VSC on an other Windows 10 PC, copied my project, installed PIO and the tasks worked fine.
I may have also clicked the disable typescript button…
How do I solve the issue? Downgrading is not an option…
Thank you!
One more thing, maybe related. At least, disappearing-tasks problem appeared when ms-vscode.cpptools extension self-switched to “insiders” channel (maybe, i clicked “update”, but not sure, anyway - ms-vscode.cpptools want to switch to “insiders”, because when i switched it back to “default” it ask me to swith to “insiders” again, but i have rejected, of course).
And, seems like, this “insiders” “damaged” something else (inluding build tasks of PIO)
it was OK yesterday, today morning, got same issue, but thanks, it works
CTRL+Shift+P: Preferences: Open Settings (JSON)
Delete "task.autoDetect": "off"
I’m new to platformio, it showed me some message that auto tasks is slowing your system, click here to turn off auto tasks, some notification like that, so I think issue appeared after I clicked that button.
God damn M$… Present people with a “Would you like your computer to stop working?” button and of course they’ll click ‘Yes’ so it goes away! Where was the “If you don’t know what an auto task is, you probably shouldn’t be clicking this button?” warning label?