Build and Flash with Eclipse IDE
ESP-IDF V4.0 has a new CMake-based build system as the default build system.
There is a new ESP-IDF Eclipse Plugin that works with the CMake-based build system. Please refer to Espressif IDF Eclipse Plugins IDF for further instructions.
In Espressif IDF Eclipse Plugins, though screenshots are captured from macOS, installation instructions are applicable for Windows, Linux and macOS.
If you require Eclipse IDE support for legacy ESP_IDF Make build system, you can follow the legacy GNU Make build system Getting Started guide which has steps for Building and Flashing with Eclipse IDE.