Page 1 of 1
Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Mon Dec 30, 2019 10:10 pm
by ESP_Angus
The VSCode extension team has been working hard to bring this to you!
First public release of the Espressif VSCode extension for ESP-IDF:
https://github.com/espressif/vscode-esp-idf-extension
(Installation instructions, usage tips, etc can be found in the README at the above link.)
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Tue Dec 31, 2019 12:19 am
by shabtronic
OMG - that is awesome!
took me a few hours previously adding *every single* component dir (idf and adf) path into a vs project
Thank you!
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Tue Dec 31, 2019 12:45 am
by boarchuz
Do you know when it will be available on the marketplace?
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Tue Dec 31, 2019 11:06 am
by ESP_bignacio
Hey there,
Espressif IDF extension is now available in Visual Studio Code Marketplace :
https://marketplace.visualstudio.com/it ... -extension
Please take a look and let us know what you think.
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Sat Jan 04, 2020 6:45 am
by username
Holy crap, this is the best news i have seen in a long time. Thank you guys for putting in all this hard work into it. I look forward to this development.
Though I did run into a few issues.
The install went well. After i selected one of the demo projects "blink" it opened it fine, and it build fine. But there are still red squiggles for all the #includes.
Also, when I click on menuconfig i just get a pop window saying "ESP-IDF: Menuconfig: Loading initial values..." and it never does anything.
Any ideas???
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Sat Jan 04, 2020 11:04 am
by boarchuz
Yep, official support for VS Code is very exciting. Special mention for the setup wizard - fantastic.
username wrote: ↑Sat Jan 04, 2020 6:45 am
But there are still red squiggles for all the #includes.
Did you follow the setup guide here?:
https://github.com/espressif/vscode-esp ... URATION.md
You might want to try a slight tweak:
https://github.com/boarchuz/vscode-esp- ... URATION.md
That should resolve squiggles for all esp stuff.
If you're having issues with standard libraries, try adding the compilerPath to your c_cpp_properties.json as I found I needed to. eg.
Code: Select all
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc",
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Sat Jan 04, 2020 11:13 am
by username
I'll give those ideas a try thank you!
FWIW when I saw that awesome setup wizard i just figured the notes about doing things before the install was outdated. Guess I got to excited and went to fast
What took care of the squiggles for me was adding "compileCommands": "${workspaceFolder}/build/compile_commands.json"
Still was unable to get IDF GUI Menuconfig to work. In my own VSC setup i am able to have the GUI popup.
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Mon Jan 06, 2020 3:34 am
by ESP_bignacio
Hi boarchuz and username !
Thanks for the feedback! We are trying to make the extension as easy to use as possible.
Concerning the GUI Menuconfig Tool, Can you provide us with the content of ESP-IDF GUI Menuconfig Visual Studio Code Output channel and the log (esp_idf_vsc_ext.log) in the extension directory ?
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Mon Jan 06, 2020 3:39 am
by username
I'll try to make a video & the log sometime this week hopefully. But I am in the middle of a hot project right now so no promises.
But thanks again for the awesome work thus far.
Re: Official Visual Studio Code Extension for ESP-IDF Projects
Posted: Mon Jan 06, 2020 4:42 am
by ESP_Angus
Thanks everyone for your interest in the VSCode extension.
We have a
whole new subforum for IDEs now. To keep the discussions easier to follow, please post new threads in this forum to follow up about the VSCode extension.