Include file not found, but builds anyway

Well I cannot reproduce your problem. I just create a new file, fill it with something and reference it. Following it using Ctrl+Click works.

I’m also using the same VSCode version as you, 1.41.0.

grafik

What extensions do you have installed in which version, and what is your PIO core and home version?