Lib_deps working for arduino framework project, but not for espressif framework

I’m using vs code and use the “add libraries” function of the platform io extension, that adds the libraries to the platformio.ini and places the downloaded libraries in the .pio/libdeps// folders respectively.

While the libraries are added in projects using either the espressif framework or arduino framework, the libs are only recognized to be included in the arduino framework project. The project using espressif framework does not recognize the libraries in main.c

I was using the FastLED library. I tried the version from the search in the extension, as well as directly from github. Both were placed in the .pio/libdeps/ folder and could only be included in the arduino framework project.

Is there something else I need to specify, when using espressif framework projects? Do I overlook something or do something wrong?

FastLED is an Arduino library and won’t work in an esp-idf project.
ESP-IDF Projects are not using libraries, but components - See Espressif IoT Development Framework — PlatformIO latest documentation