
Choose Express for the fastest option (or Use existing setup if ESP-IDF is already installed). ESP-IDF Tools and ESP-IDF Python virtual environment for the previous ESP-IDF are found in idf.toolsPath or idf.toolsPathWin, IDF_TOOLS_PATH environment variable, $HOME\.espressif on MacOS/Linux and %USERPROFILE%\.espressif on Windows. ESP-IDF is found in idf.espIdfPath or idf.espIdfPathWin, IDF_PATH environment variable, $HOME/esp/esp-idf on MacOS/Linux and %USERPROFILE%\esp\esp-idf or %USERPROFILE%\Desktop\esp-idf in Windows. This file is generated when you install ESP-IDF with the IDF Windows installer or using IDF-ENV. esp-idf.json is found in the current idf.toolsPath (MacOS/Linux users) or idf.toolsPathWin (Windows users). NOTE: Use existing setup setup mode option is only shown if: Now the setup wizard window will be shown with several setup options: Express, Advanced or Use existing setup. You can also choose where to save settings in the setup wizard. After, choose the ESP-IDF: Configure ESP-IDF extension option. In Visual Studio Code, select menu "View" and "Command Palette" and type. Please take a look at Working with multiple projects for more information. (OPTIONAL) Press F1 and type ESP-IDF: Select where to save configuration settings, which can be User settings, Workspace settings or workspace folder settings. Install ESP-IDF Prerequisites and, if using WSL2, the required packages specified in WSL Documentation. Search the extension with any related keyword like espressif, esp-idf, esp32, esp32s2, etc.
Open the Extensions view by clicking on the Extension icon in the Activity Bar on the side of Visual Studio Code or the View: Extensions command ⇧ ⌘ X.