Vote on new vscode esp-idf extension setup UI
Posted: Mon Sep 21, 2020 2:11 pm
We have received a lot of feedback from you guys about configuring ESP-IDF extension for Visual Studio Code and how can be confusing for many users. We have designed a couple of interactive mockups with Figma to see which one you prefer for the new version of our extension. Please vote here for your favorite one.
Installer Style
This way tries to mimic a Windows Installer approach with Visual Studio Code UI layout.
QA Style
This way tries to get information about your setup using Questions like Do you have ESP-IDF installed ? providing options to use existing ESP-IDF folder or download (providing a install directory).
Please post your suggestions and issues here as well. Please no spamming, will delete any post that doesn't provide any actual feedback.
Brief explanation of the required steps of the setup:
1. ESP-IDF needs to be chosen or download in a given path to set $IDF_PATH.
2. Python path is required to create a python virtual environment that will be used for ESP-IDF, Debug Adapter and extension python packages. We have a standard to use $IDF_TOOLS_PATH/py_env/idfx.x.x_pyx.x where $IDF_TOOLS_PATH=$HOME/.espressif (%IDF_TOOLS_PATH%=%USERPROFILE%/.espressif in Windows) as default but can be modified. This is why this step has to be after IDF_PATH has been set.
3. ESP-IDF required tools such as xtensa-esp32-elf toolchain are required in PATH. We use $IDF_TOOLS_PATH/tools in the $IDF_PATH/install.sh or %IDF_PATH%/install.bat but on the extension we have allow user to manually set each tool path. (We had improve each path in a separated input field already in a PR in GitHub). If you manually define tools path out of $IDF_TOOLS_PATH/tools the behavior will be different from the command line
4. We can detect existing ESP-IDF, ESP-IDF tools if you have installed with $IDF_PATH/install.sh or $IDF_PATH/install.bat and use that, but we need to install Debug Adapter and Extension python packages requirements on top of ESP-IDF python packages.
5. We used to check python requirements in the extension setup with $IDF_PATH/tools/check_python_dependencies.py, but that seems to give many errors to users. Should we still check after installing ?
Installer Style
This way tries to mimic a Windows Installer approach with Visual Studio Code UI layout.
QA Style
This way tries to get information about your setup using Questions like Do you have ESP-IDF installed ? providing options to use existing ESP-IDF folder or download (providing a install directory).
Please post your suggestions and issues here as well. Please no spamming, will delete any post that doesn't provide any actual feedback.
Brief explanation of the required steps of the setup:
1. ESP-IDF needs to be chosen or download in a given path to set $IDF_PATH.
2. Python path is required to create a python virtual environment that will be used for ESP-IDF, Debug Adapter and extension python packages. We have a standard to use $IDF_TOOLS_PATH/py_env/idfx.x.x_pyx.x where $IDF_TOOLS_PATH=$HOME/.espressif (%IDF_TOOLS_PATH%=%USERPROFILE%/.espressif in Windows) as default but can be modified. This is why this step has to be after IDF_PATH has been set.
3. ESP-IDF required tools such as xtensa-esp32-elf toolchain are required in PATH. We use $IDF_TOOLS_PATH/tools in the $IDF_PATH/install.sh or %IDF_PATH%/install.bat but on the extension we have allow user to manually set each tool path. (We had improve each path in a separated input field already in a PR in GitHub). If you manually define tools path out of $IDF_TOOLS_PATH/tools the behavior will be different from the command line
4. We can detect existing ESP-IDF, ESP-IDF tools if you have installed with $IDF_PATH/install.sh or $IDF_PATH/install.bat and use that, but we need to install Debug Adapter and Extension python packages requirements on top of ESP-IDF python packages.
5. We used to check python requirements in the extension setup with $IDF_PATH/tools/check_python_dependencies.py, but that seems to give many errors to users. Should we still check after installing ?