IDF environment variables are blank in VS code extension

cal237
Posts: 5
Joined: Mon Jul 12, 2021 3:15 pm

IDF environment variables are blank in VS code extension

Postby cal237 » Mon Jul 12, 2021 3:34 pm

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?

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: IDF environment variables are blank in VS code extension

Postby ESP_bignacio » Tue Jul 13, 2021 1:52 pm

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.

cal237
Posts: 5
Joined: Mon Jul 12, 2021 3:15 pm

Re: IDF environment variables are blank in VS code extension

Postby cal237 » Sat Jul 31, 2021 1:21 pm

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.

Who is online

Users browsing this forum: No registered users and 37 guests