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

Resolve "directory" in compile_commands.json in case CWD is not the project root #711

Merged
merged 1 commit into from
Dec 20, 2020

Conversation

MaskRay
Copy link
Owner

@MaskRay MaskRay commented Oct 27, 2020

Also delete an unneeded chdir hack.

@rohit04saluja
Copy link

Hey @MaskRay won't it be better to change to the root directory when initializing ccls rather than just finding the relative path from root for directory?

@MaskRay
Copy link
Owner Author

MaskRay commented Oct 27, 2020

ccls supports workspace folders. With workspace folders, you may have several projects. The snippet does not work anyway.

@rohit04saluja
Copy link

Do you mind if I try doing this enhancement/bug fix?

…roject root

Also delete an unneeded chdir hack.

Close #703
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

Successfully merging this pull request may close these issues.

2 participants