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

Integrate clang-include-fixer #2277

Closed
6 of 11 tasks
philsc opened this issue Aug 9, 2016 · 4 comments
Closed
6 of 11 tasks

Integrate clang-include-fixer #2277

philsc opened this issue Aug 9, 2016 · 4 comments

Comments

@philsc
Copy link

philsc commented Aug 9, 2016

Issue Prelude

Please complete these steps and check these boxes (by putting an x inside
the brackets) before filing your issue:

  • I have read and understood YCM's [CONTRIBUTING][cont] document.
  • I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
  • I have read and understood YCM's [README][readme], especially the
    [Frequently Asked Questions][faq] section.
  • I have searched YCM's issue tracker to find issues similar to the one I'm
    about to report and couldn't find an answer to my problem. ([Example Google
    search.][search])
  • If filing a bug report, I have included the output of vim --version.
  • If filing a bug report, I have included the output of :YcmDebugInfo.
  • If filing a bug report, I have included the output of
    :YcmToggleLogs stderr.
  • If filing a bug report, I have included which OS (including specific OS
    version) I am using.
  • If filing a bug report, I have included a minimal test case that reproduces
    my issue.
  • I understand this is an open-source project staffed by volunteers and
    that any help I receive is a selfless, heartfelt gift of their free time. I
    know I am not entitled to anything and will be polite and courteous.
  • I understand my issue may be closed if it becomes obvious I didn't
    actually perform all of these steps.

Issue Details

I was wondering if clang-include-fixer (http://clang.llvm.org/extra/include-fixer.html) may be something worth integrating into YCM. As far as I can tell, the input to the program is similar to what YCM already uses for auto-completion and such (e.g. these databases that cmake produces).

Does that sound reasonable or does this not match the vision/spirit of this project?

@Valloric
Copy link
Member

Valloric commented Aug 9, 2016

This is something we've been talking about for a bit. It seems like it would be a good fit for YCM, but it would require some careful design work. The whole symbol database thing complicates matters.

@xxoolltt
Copy link

I want to ask another question : when I do this --"./install.py --all" , it takes so long to download Clang3.9.0 ,and I have to restart from 0 if I interrupt it .
Is there some way that can help me install it fast? Thank you !

@vheon
Copy link
Contributor

vheon commented Mar 22, 2017

@xxoolltt I don't think that your problem is relevant with this particular issue and it doesn't look like a real bug either so maybe the right place for this kinds of question is either the user group or gitter.

@bstaletic
Copy link
Collaborator

Clangd actually supports this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants