clang_complete icon indicating copy to clipboard operation
clang_complete copied to clipboard

Completion breaks when opening another .cpp file in a unity build

Open rationalcoder opened this issue 2 years ago • 0 comments

I have a main.cpp file in my src directory, and I have others stored in different paths that cannot be compiled independently. When I setup my .clang_complete in the project's root directory, I can get completion to work in main.cpp but not in any other file. I imagine it's just because clang tries to compile the cpp files as-is and doesn't know they are being included in another cpp file.

Is there any way to work around this?

rationalcoder avatar Aug 01 '23 16:08 rationalcoder