Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add libclang to xcode?

I would love to do some syntax coloring and code completion on any given code. Ideas inspired from Apple video http://devimages.apple.com/llvm/videos/Libclang.mov

Can anyone tell me about a sample project which uses libclang to parse objective-c code?

like image 202
cocoakomali Avatar asked Jan 30 '12 10:01

cocoakomali


1 Answers

Have a look at the Étoilé project: http://etoileos.com/news/archive/2010/10/15/1401/

There you'll find SourceCodeKit that integrates clang for syntax highlighting. (Source: http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Languages/SourceCodeKit/ )

like image 181
pi3 Avatar answered Oct 16 '22 12:10

pi3