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

How to reset the project root #40

Closed
ghost opened this issue Apr 12, 2019 · 2 comments
Closed

How to reset the project root #40

ghost opened this issue Apr 12, 2019 · 2 comments
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Apr 12, 2019

I want to change or reset the project root, since the location of compile_commands.json is moved.

I've tried looking at M-x customize-group ccls or removed .ccls-cache from the project root directory, however I couldn't find a way to reset the project root of the file.

How can I set a new project root?

@ghost
Copy link
Author

ghost commented Apr 12, 2019

I managed to reset the project root by deleting .emacs.d/lsp-session-v1. However, this seems to be an overkill. Does ccls provide any efficient way for doing this?

@MaskRay
Copy link
Member

MaskRay commented Apr 14, 2019

It is ~/.emacs.d/.lsp-session-v1, not lsp-session-v1. There seems no support to delete a session. You may send a feature request to lsp-mode.

@MaskRay MaskRay closed this as completed Apr 14, 2019
@MaskRay MaskRay added the question Further information is requested label Apr 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant