Hi eranif, clang code completion work well and ...

Discussion about CodeLite development process and patches
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

Hi eranif, clang code completion work well and ...

Post by fanhe0513 »

Hi, eranif, currently in clang 2.9, it can read source from stdin, so it do not nead write a temp file anymore.
Screenshot-clang_code_completion.cpp .png
Code sample, which from llvm svn

Code: Select all

cat <source> | clang -cc1 -code-completion-at=-:<row>:<col> -x c++ <addtions opts> -
And I have a problem: It dos not seem to work in header file(.h,.hpp)?
Do you have any idea about this?

And, do you have any document about codelite_indexer and codelite ctag database?
I just want to use it with vim...
Because clang code completion is a little slow. Although it can faster when use pchs.
Screenshot-main.cpp.png
You do not have the required permissions to view the files attached to this post.