Atom PlatformIO can't find headers


I’m working with esp8266.

When I load an example can compile ok but when I try to edit some file from example Atom not find any header.

I have this kind of error:
Error C (Clangd) ‘osapi.h’ file not found


Does it work with PlatformIO IDE for VSCode?