Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rationalcoder opened this issue Aug 1, 2023 · 0 comments
Open

Comments

@rationalcoder
Copy link

rationalcoder commented Aug 1, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant