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

Hanging at startup #58

Closed
skelutten opened this issue Aug 14, 2019 · 1 comment
Closed

Hanging at startup #58

skelutten opened this issue Aug 14, 2019 · 1 comment
Labels
invalid This doesn't seem right

Comments

@skelutten
Copy link

I got cquery working with emacs and thought I should try ccls to see if there is any performance improvement etc.

At first setup it actually seemed to work, but then after restarting emacs and changing the emacs-ccls configuration it starts hanging with a message that ccls is initializing shown in emacs.
Emacs is frozen as well.
Pressing M-g a few times returns Emacs to normal mode, but lsp/ccls shows symbols as unknown and no lsp functionality working.

The cq.log doesn't show any error. and neither does the ccls buffers in emacs.

I even tried to erase all ccls cache folders and return my configuration to what I had first, but then the problem doesn't go away.

I can run "ccls -index=." in my project without any error.

Any known issue or how can I troubleshoot this?

06_cpp_lsp.el.txt

@MaskRay
Copy link
Member

MaskRay commented Sep 27, 2019

The cq.log doesn't show any error. and neither does the ccls buffers in emacs.

You have (setq cquery-extra-args '("--log-file=/tmp/cq.log")), but the ccls counterpart is ccls-args.

I can run "ccls -index=." in my project without any error.

This suggests an Emacs configuration error.

@MaskRay MaskRay closed this as completed Sep 27, 2019
@MaskRay MaskRay added the invalid This doesn't seem right label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants