vim-clang icon indicating copy to clipboard operation
vim-clang copied to clipboard

Will vim-clang supports things like jump to definition and snippets?

Open adam900710 opened this issue 8 years ago • 3 comments

vim-clang works quite good so far, it fixes bug like screwing up terminal, but I still miss the jump-to-definition and snippets function from vim-clang-complete.

Any idea if it will be supported?

Thanks

adam900710 avatar Apr 26 '16 09:04 adam900710

Any idea to use the clang executable to find definitions ? If we must use libclang, it is not easy to integrate. Or may have a nice libclang daemon ? Something like gocode. I have no time to do this feature...

justmao945 avatar Apr 27 '16 16:04 justmao945

There are bindings to python which could probably be used. I'm looking at it at the moment.

crr0004 avatar Feb 20 '17 04:02 crr0004

The Python binding wraps libclang APIs:

  • clang_codeCompleteAt
  • declaration (if the definition is in another translation unit) or definition: clang_getCursorDefinition

MaskRay avatar Oct 03 '19 04:10 MaskRay