The current working directory /home/mac/Documents/PlatformIO/Projects/Electrol_New_Brains-2 will be used for the project.
The next files/directories have been created in /home/mac/Documents/PlatformIO/Projects/Electrol_New_Brains-2
include - Put project header files here
lib - Put here project specific (private) libraries
src - Put project source files here
platformio.ini - Project Configuration File
Project has been successfully updated including configuration files for `vscode` IDE.
But restarting VSC gets same error: No task to run found. Configure Tasks…
I started getting the same thing, the ‘no task to run found. Configure tasks’, after VS Code told me to click on a ‘disable typescript it’s running too slow’ button.
All we need is a sample tasks.json file to get back up and running, please can someone post the content of their tasks.json. I went through the source but it’s not in there so I’m guessing it’s automatically generated.
Thanks, but mine doesn’t look like quite like that, I just get the boilerplate list of tasks, clicking on any gives the same message as [lcerda] posted above (no task to run found…). There’s nothing like the extra fields shown in the link you posted.
Adding the template as VSCode suggests (no change).
Uninstall VSCode and reinstall (no change).
Will now try - uninstall VSCode, find all instances of .vscode buried in local settings etc. then another re-install.
Still think if someone could post their tasks.json it would fix this pretty quick.
If you get a popup saying ‘disable java for typescript’ just don’t press it!! The setting to reverse this is hidden deep within some settings file that persists between uninstalls which you can’t get to through normal means. But that’s academic - anyone here has found this after clicking on it.
After the next uninstall/reinstall cycle if I find any buried setting I’ll repost.
Here’s what my tasks.json looks like:
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
It is defintely not good, because I also think there is a problem with the “disable java for typescript” (as Cryptocacher mentioned too), since every time I do a build, upload or even a monitor, my cores go wild for 20 secs (or so) and just then it starts doing the actual job. And I think it is related to the typescript thing. Anyways, now it working (although slowly) again.
cleaned python installs (had quite a few different versions installed), and updated to the latest 3.80
removed all projects from the workspace
closed workspace, started a new workspace and added the previous projects.
Now I have a much cleaner VS Code install the syntax colouring and auto-formatting are working a lot better. Sorry this isn’t definitive, but at least I didn’t need to install the tasks.json file.
your .vscode folder in the project folder shouldn’t contain any tasks.json either.
So - I think there could be settings in the workspace which affect this. Try making a new workspace.