-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
No .ycm_extra_conf.py file detected #429
Comments
Please read the error message again. |
The documentation is clear. Please ensure that you are civil when interacting eith the volunteers here. Please see the code of conduct |
[READY] Search user defined python binary also in PATH I'm marking as an RFC because there is also ycm-core#424 which does almost the same thing. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/429) <!-- Reviewable:end -->
I agree that YCM's documentation is a bit fuzzy. Basically, you have two options:
|
Let's agree to disagree at least :P Is true that we work on this long enough that we can't always see the forest for the trees, so PRs are welcome 👍
I don't know how many times I've written this, but DON'T DO THIS. Doing this you're basically using the settings that we use to work on the
IMHO would be easier to write it from scratch, I mean: def FlagsForFile(filename, **kwargs):
flags = [ ... ] # put your flag here
return { 'flags': flags } |
@vheon what's the problem with supplying a global |
Let's see... do you use the same |
Ok, thanks for the explanation. |
@mjdousti Your solution almost worked for me. Replacing $USER with a tilde (~) character to represent the path to the home directory instead did work, like so:
|
@cedarmora you should not do that. Read the docs to understand why. |
@vheon Can you explain for me why do I need flags for project? And why don't we fix this problem with let command? I have just use it and I see it done. And I don't know why my .ycm_extra_conf.py not in cpp. It's just in ycmd folder and I don't have cpp folder. Sorry for this trouble. Thank you so much. |
@PhamHoangNamAnh |
No .ycm_extra_conf.py file detected, so no compile flags are available. Thus no semantic support for C/C++/ObjC/ObjC++. Go READ THE DOCS NOW, DON'T file a bug report.
I have found the file ~/.vim/bundle/YouCompleteMe/cpp/ycm/.ycm_extra_conf.py。。
why?
Thanks a lot!
homilinx
The text was updated successfully, but these errors were encountered: