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

Compdb documentation #11

Closed
innerout opened this issue Mar 11, 2018 · 6 comments
Closed

Compdb documentation #11

innerout opened this issue Mar 11, 2018 · 6 comments

Comments

@innerout
Copy link

Could you update the documentation of the project?
I installed compdb with pip giving different options to pass but i do not know how to use them.
Is it only the -p parameter that should interest the users?

@Sarcasm
Copy link
Owner

Sarcasm commented Mar 13, 2018

Maybe it's the pypi release which is not up-to-date, I should probably make a new release.

If you use the version from Github master, does it work ok?
The README should be up to date, and the compdb help should be too.

pip install --user git+https://github.com/Sarcasm/compdb.git#egg=compdb

@innerout
Copy link
Author

I will try it and reply soon.Also there were complaints about the documentation and in some issues from the LSP project.One of the issues was this one sublimelsp/LSP#2 .

@innerout
Copy link
Author

Sorry for the late answer! I downloaded the compdb the pip way you suggested and everything worked fine thanks.
Lastly before the issue is closed, i had to cd in
~/.local/lib/python3.6/site-packages/compdb/ and run
python __main__.py -p path/to/compile_commands.json list > compile_commands.json
Is there a way to execute compdb from anywhere?

@Sarcasm
Copy link
Owner

Sarcasm commented Mar 20, 2018

You should make sure ~/.local/bin is in your PATH,

@innerout
Copy link
Author

OK i did not know that,its the first time i am using that path.

@innerout
Copy link
Author

innerout commented Mar 25, 2018

Before closing this issue the ~/.local/bin path was on my virtual machine installation, when i installed it on my laptop compdb installed in /usr/bin.

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