There are several ways to install this extension to your VSCode, easiest one is from VSCode Marketplace. However if you are looking to contribute to this project we suggest you to have install in Source mode.
Launch VSCode Quick Open (⌘+P on Mac or Ctrl+P on Windows) and then paste the following command and press enter
ext install esp-idf-extension
To install from .vsix
file:
- Get vsix file
- From the releases page pick the latest release and download the
esp-idf-extension-VERSION.vsix
file. - Build vsix locally from source code as shown in Build from Source Code
- Press F1 and type
Install from VSIX
and then select the downloaded.vsix
file.
- Install Node.js
- Make sure have the C/C++ Extension from Visual Studio Code Marketplace.
- Clone this repository
git clone https://github.com/espressif/vscode-esp-idf-extension.git
- Install all the dependencies, using
yarn
- Press F5 to Run with Debugger, this will launch a new VSCode Extension Development Host to debug the extension.
- Compile project with
yarn webpack
(optional for production)
- Build the Visual Studio Code extension setup with
yarn package
.
- In Visual Studio Code, go to the Extensions tab.
- Click on the EspressifIDF extension lower right icon.
- Click Uninstall.
- Go to your
${VSCODE_EXTENSION_DIR}
and make sure to delete the Espressif IDF plugin folder
${VSCODE_EXTENSION_DIR}
is the location of the extension
- Windows:
%USERPROFILE%\.vscode\extensions\espressif.esp-idf-extension-VERSION\
- Linux & MacOSX:
$HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/