Page 1 of 1

VSCode extension: Command not found

Posted: Tue Jul 15, 2025 4:50 pm
by julienD
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

Re: VSCode extension: Command not found

Posted: Wed Jul 16, 2025 11:38 am
by radurentea
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 4142 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!