Im not sure somebody else would take this as a bug or not of codecompletion,
I remember I had reported it some years ago, but it still here.
condition:
1) create a project(I use c/c++) at one location, marked as A here.
2) import a file or directory recursive somewhere else.
3) select a .h file(without corresponding *.cpp) in the project manager, mark its parent dir as B.
here, A and B have the same ancestor directory C, and C is a large directory
with lots sub files and directories.
I took a look at the source code, the nativeparser will try to find its corresponding
source file in the longest ancestor directory between the file location and the project path,
and what a pity, this directory would be a very very large directory, then C:B was blocked
as expected.
I do not think that a good idea to do so. somebody, link me, would usually make projects
and source files in different directory, because there are some working project I want to
continuing working with C:B, and they are of course within my working directory. You also
can't prevent anybody from doing that.