Page 1 of 1

IDF environment variables are blank in VS code extension

Posted: Mon Jul 12, 2021 3:34 pm
by cal237
I just downloaded the ESP extension but none of the commands have been working (aside from the "configure extension" command). They all have an error saying the idf.py file is not found. I checked the value of ${env:IDF_PATH}, ${env:ADF_PATH}, and ${env:MDF_PATH} by creating an echo task for each of them like this:

Code: Select all

{
      "label": "echo",
      "type": "shell",
      "command": "echo ${env:IDF_PATH}"
}
They all came up blank. I'm not sure why, how can I fix this?

Re: IDF environment variables are blank in VS code extension

Posted: Tue Jul 13, 2021 1:52 pm
by ESP_bignacio
You need to configure the extension first.

Take a look at https://github.com/espressif/vscode-esp ... install.md for a tutorial or check other documentation in the GitHub repository.

Re: IDF environment variables are blank in VS code extension

Posted: Sat Jul 31, 2021 1:21 pm
by cal237
I actually had done the configuration, but it turned out there was a bug in the extension. The extension recently updated to 1.1.1 with the bug fix "Fixed setup on windows" and now it works perfectly.