Opening header files just works sometimes for me. Usually I get this window, but not always:

Does anyone know how to remedy this?
I hope I don’t have to add every single sub-folder to the path. There are quite a lot. I tried adding the top source folder but that didn’t help.