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

user-error Could not find ccls project root #12

Closed
losper opened this issue Sep 9, 2018 · 2 comments
Closed

user-error Could not find ccls project root #12

losper opened this issue Sep 9, 2018 · 2 comments

Comments

@losper
Copy link

losper commented Sep 9, 2018

ccls已经编译完成,并通过exec执行。
emacs-ccls也通过melpa安装
项目的compile_command.json通过cmake生成,并ln -s 软链接了。
但是打开一个cpp文件后,出现 user-error Could not find ccls project root提示,请问是否还有其他未配置的内容?

@MaskRay
Copy link
Member

MaskRay commented Sep 9, 2018

Can you run M-: (projectile-project-root) RET?

You need some indicator to let projectile know about the project (e.g. .git)

@losper
Copy link
Author

losper commented Sep 10, 2018

Tks for your advice,it worked.

@losper losper closed this as completed Sep 10, 2018
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

2 participants