deoplete-clang
deoplete-clang copied to clipboard
request to improve: auto find clang library and clang database
Currently, it have to set lib clang and header path. how about trying to find automatically and then use fallback setting ?
Try to find compiler database also and then use fallback setting. It does not need to tell where is compiler database when using YCM.
@butterflyfish thanks issue I reply later
@butterflyfish Sorry for late reply :(
Currently, it have to set lib clang and header path. how about trying to find automatically and then use fallback setting ?
Yes, users will need to set it explicitly.
YCM and clang_complete seem to automatically parse clang headers.
but maybe YCM is parse C++ side(?), and clang_complete seems to decrease a little performance.
However, It is a good idea to fall back to if not set clang header path. I'll implement later.
Try to find compiler database also and then use fallback setting. It does not need to tell where is compiler database when using YCM.
This meaning of compile_commands.json support?
If true, it has already been implemented.
let g:deoplete#sources#clang#clang_complete_database = '/path/to/neovim/build'
but this behavior is too slow.. I am considering a faster methods. But I do not want to use the C++ (I do not write C, C++ :scream: ). Pure Python? or use Numpy? or use the shared library written Go? or etc...
Also, planned https://github.com/zchee/deoplete-clang/issues/11.
Sorry for If my understanding is mistaken :(
thx. that's what I want. Only hope to simplify configuration.
@butterflyfish Thanks. I considering it.
I will implement this feature(auto find clang library and header).