<div dir="ltr"><div dir="ltr"><div dir="ltr">I was reminded by <a href="https://reviews.llvm.org/D51333">https://reviews.llvm.org/D51333</a> that I'd been meaning to look at adding completion of filenames inside #include directives.</div><div dir="ltr">I won't have time soon sadly :-(<br></div><div dir="ltr"><br></div><div>I don't think there's anything clangd-specific here, so it should probably come through the SemaCodeComplete API. I don't have much of a clue about the sema/PP interaction required though.</div><div><br></div><div>It requires listing all the include dirs, don't know if that would be prohibitively slow. I'd guess not: today it requires stat()ing every file on unix, but after <a href="https://reviews.llvm.org/D51921">https://reviews.llvm.org/D51921</a> it should just be readdir().</div><div><br></div><div>Anyone want to pick this up, or have ideas/guidance about the implementation?</div><div><br></div><div>Cheers, Sam</div></div></div>