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

clang-based highlighting #933

Closed
jeaye opened this issue Apr 16, 2014 · 5 comments
Closed

clang-based highlighting #933

jeaye opened this issue Apr 16, 2014 · 5 comments

Comments

@jeaye
Copy link

jeaye commented Apr 16, 2014

Since YCM has replaced the need for tags in my code base, my old tag-based highlighting is the only ancient remnant of a worse life. Is there any chance YCM would adopt clang-based highlighting for more accurate results than something like http://www.cgtk.co.uk/vim-scripts/taghighlight?

@oblitum
Copy link
Contributor

oblitum commented Apr 16, 2014

Duplicate of #411.

@oblitum oblitum closed this as completed Apr 16, 2014
@oblitum
Copy link
Contributor

oblitum commented Oct 6, 2015

https://github.com/jeaye/color_coded (a.k.a. yourself) does this already.

@jeaye
Copy link
Author

jeaye commented Oct 6, 2015

I created this before writing color_coded. Still, I think that, if ycmd would provide generic access to the AST, libclang-based plugins would be able to use that instead of each compiling the code on their own. I know, if this were provided, I would certainly rework color_coded to use it.

@oblitum
Copy link
Contributor

oblitum commented Oct 7, 2015

@jeaye I agree, although I have a belief that such big effort around libclang may deserve its own project along the lines of this old idea.

@jeaye
Copy link
Author

jeaye commented Oct 8, 2015

On Wed, Oct 07, 2015 at 01:25:47PM -0700, Francisco Lopes wrote:

[1]@jeaye I agree, although I have a belief that such big effort around
libclang may deserve its own project along the lines of [2]this old idea.

Yup, that would do it. One issue with that is even YMCD will need a big reworking. If LLVM is willing to provide and support it, that might be worthwhile though. If not, YCMD is the most stable and well-known libclang-based service for editors.

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

2 participants