VSCode extension: Command not found

julienD
Posts: 35
Joined: Fri Sep 13, 2019 12:38 pm

VSCode extension: Command not found

Postby julienD » Tue Jul 15, 2025 4:50 pm

Hello,

I did not use vscode with esp-idf for some times.
I recently upgraded my linux version to the latest LTS.

Then, I needed to use vscode for esp code developement.
I add some various compilation script errors, I tried: upgrade esp-idf, tools, removed / reinstall vscode extension,
removed / reinstall vscode, remove vscode extensions folder and some other combinations of the previous.

Errors changed during the above process. Now, when I invoke the build command (ctrl E +b), I'm stuck with this message:

Code: Select all

Command 'espidf.buildDevice' not found
Do you have any idea of what may happen?

I'm using vscode 1.102.0.

Thanks
Julien

radurentea
Espressif staff
Espressif staff
Posts: 26
Joined: Thu Mar 09, 2023 8:30 am

Re: VSCode extension: Command not found

Postby radurentea » Wed Jul 16, 2025 11:38 am

Hi julien,

I think this happens because there are some leftover settings in your setup.

Try to run the command ESP-IDF: Clear Saved ESP-IDF Setups from the Command Palette, if this command doesn't work, you can search for the configuration manually using these 3 commands from the Command Palette, which will open different settings.json files.
Screenshot 2025-07-16 143325.png
Screenshot 2025-07-16 143325.png (5.82 KiB) Viewed 4141 times
Inside these files search for "idf." properties and remove them.

After you've done these steps, try reconfiguring the extension with "ESP-IDF: Configure ESP-IDF Extension" (you might have to reinstall the extension if this command doesn't work and re-run the command again)

Let me know if this fixes your issue!

Who is online

Users browsing this forum: No registered users and 2 guests