Need help with Espressif IDE 4.0

User avatar
MickPF
Posts: 62
Joined: Tue Apr 03, 2018 8:47 pm

Need help with Espressif IDE 4.0

Postby MickPF » Wed Jan 14, 2026 10:27 am

Hello,

To make software development with ESP-IDF a bit more convenient, I installed Espressif IDE 4.0 and, after several failed attempts, finally configured it correctly and completely. I got problems with the "Espressif IDF Manager."

In my project, which I created using "File → New → Espressif IDF Project," I have the directory "$PROJECT_DIR/include" where I placed all the include files for the project.

However, Espressif IDE only partially finds these include files, as well as some of the ESP-IDF include files. The "C/C++ Build" entry is missing from the "Project Properties" (see the image "Project Properties Espressif IDE" in the attachments). This is where you can specify the directories containing project-specific includes under "Settings," something I'm used to from Eclipse (see the image "Project Properties Eclipse" in the attachments).

Did I do something wrong when setting up the project in Espressif IDE?

If so, is there a way to correct this?

Thanks in advance,
Michael
Attachments
Project Properties Espressif IDE.png
Project Properties Espressif IDE.png (111.8 KiB) Viewed 1133 times
Project Properties Eclipse.png
Project Properties Eclipse.png (159.68 KiB) Viewed 1133 times

real_mon2
Posts: 27
Joined: Wed Dec 25, 2024 4:59 pm

Re: Need help with Espressif IDE 4.0

Postby real_mon2 » Wed Jan 14, 2026 9:35 pm

You have a better chance at winning the lottery multiple times while singing a duet with Taylor Swift than to receive an official response from this "support forum" on life support.

Try this:

viewtopic.php?t=47401

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: Need help with Espressif IDE 4.0

Postby kondalkolipaka » Tue Jan 20, 2026 9:56 am

Hello,

In Espressif-IDE, you don’t need to configure any includes in the project properties, as it uses compile_commands.json as the source of truth for resolving include paths and headers.

https://docs.espressif.com/projects/esp ... -workspace

Here are the steps:
1.Install Espressif-IDE
2.Open Espressif > ESP-IDF Manager
3.Configure ESP-IDF using the ESP-IDF Installation Manager tool
4.Create a new project using templates

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: Need help with Espressif IDE 4.0

Postby kondalkolipaka » Tue Jan 20, 2026 10:00 am

As esp-idf uses CMake build systems, please check this to know how to structure your project if that's helpful.

https://docs.espressif.com/projects/esp ... -in-an-ide

If you're just getting started, please create a simple hello-world/blink example, see if that works? and then go on building a complex project.

User avatar
MickPF
Posts: 62
Joined: Tue Apr 03, 2018 8:47 pm

Re: Need help with Espressif IDE 4.0

Postby MickPF » Tue Jan 20, 2026 10:18 am

Hello,

It's true that ESP-IDF doesn't require this information, but Espressif-IDE, as a customized version of Eclipse, does it! If the include path information is missing in Eclipse, all declarations within those includes will be marked as errors in the editor. This makes it impossible to distinguish genuine errors in the source code from these missing declarations. This is a real problem if the source code exceeds 100 lines!
Everything becomes confusing; you have to look through all the markings, it's too much...

Furthermore, I discovered that the ESP-IDF installed in the Espressif IDE doesn't run from the command line. Trying to execute "export.sh" results in an error because it can't find the Python environment where it should be. This forces you to use two identical ESP-IDF environments: one for the Espressif IDE and one for the command line. That's absurd!

It is equally pointless for the user to modify the "export.sh" script or other parts within ESP-IDF to make ESP-IDF run in both environments. Espressif must handle that.

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: Need help with Espressif IDE 4.0

Postby kondalkolipaka » Tue Jan 20, 2026 11:45 am

Hello,

Agreed! In Espressif-IDE, the include path information is derived from compile_commands.json (generated by the build system) and used by clangd to resolve declarations.

Could you please be more specific about the issue you’re facing, or share a sample project you’re working with, so that we can help you further?

Here is the sample project which I've built in my workspace
Screenshot 2026-01-20 at 5.11.24 PM.png
Screenshot 2026-01-20 at 5.11.24 PM.png (2.79 MiB) Viewed 983 times
To manage esp-idf versions, we have a new tool called EIM, please check the guide here https://docs.espressif.com/projects/esp ... stallation

Thanks!

User avatar
MickPF
Posts: 62
Joined: Tue Apr 03, 2018 8:47 pm

Re: Need help with Espressif IDE 4.0

Postby MickPF » Mon Jan 26, 2026 3:29 pm

Hello,

I'm sorry, I haven't had time to reply here until now!

The attached image "Screenshot_3.png" shows the problem in the editor area.

I wanted to flash the app and my FAT partition from within the IDE via the connector "USB"/"JTAG" of the "ESP32S3 DevKitC-1" module, but it's not working. I found the page https://docs.espressif.com/projects/esp ... agflashing in the IDE documentation. However, the dialog box on that page looks different from my window (attached image "Screenshot_4.png"). The "Flash over" option is missing!

I'm gradually getting the impression that the Espressif IDE, just like Microsoft Visual Studio Code itself and the Espressif plugin for Eclipse CDT, is just garbage! Features are promised or described in the documentation that don't actually exist or don't work! I'm very disappointed!
Attachments
Screenshot_4.png
Screenshot_4.png (575.33 KiB) Viewed 850 times
Screenshot_3.png
Screenshot_3.png (745.37 KiB) Viewed 850 times

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: Need help with Espressif IDE 4.0

Postby kondalkolipaka » Thu Jan 29, 2026 5:46 am

Hello,

There are mutliple observations in the screenshots attached.

1. You're looking at the debug configuration wizard, you should check launch configuration wizard, please check this guide.
https://docs.espressif.com/projects/esp ... the-device
Screenshot 2026-01-29 at 11.11.02 AM.png
Screenshot 2026-01-29 at 11.11.02 AM.png (1.82 MiB) Viewed 720 times
2. Code editor which you've attached is showing standard C/C++ editor not LSP based editor which espressif-ide v4.0 by default has - I wonder, are you using v4.0?

Please check "Espressif >> Production Information" and look for "IDF Eclipse Plugin Version".
Screenshot 2026-01-29 at 11.16.06 AM.png
Screenshot 2026-01-29 at 11.16.06 AM.png (728.78 KiB) Viewed 720 times

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: Need help with Espressif IDE 4.0

Postby kondalkolipaka » Thu Jan 29, 2026 5:51 am

Hello,

If you're still facing an issue, please share a convenient time to connect at ide.support@espressif.com, and one of our dev team members will reach out to you.

Even if you're using VS Code, we'll be happy to assist and take your feedback!

Thanks!

emoretti
Posts: 2
Joined: Sat Apr 11, 2026 4:13 pm

Re: Need help with Espressif IDE 4.0

Postby emoretti » Sun Apr 12, 2026 2:08 am

I have a problem. I'm developing a project in C++ using the Eapressif-ide environment, and eitoe is giving me errors that it can't find C++ libraries and even C libraries, but it compiles correctly.
Sin título.jpg
Sin título.jpg (64.61 KiB) Viewed 140 times

Who is online

Users browsing this forum: Qwantbot and 1 guest