Hey, this is really cool!
It seems a little bit buggy still with the completions (it listed several symbols that weren’t valid), but still it’s a great idea and a good start for sure.
I mostly code in objective-C and objective-C++ when I use the C family of languages, so I modified line 116 in sublimeclang.py to include it as an allowed language:
if language != "c++" and language != "c" and language != "objc":
I was happy to find that that seemed to at least make auto-completion work in my .m file. It didn’t seem to pick up unused variables and stuff like that though which worked for regular .c files.
Could you take a look at adding objective-C support? Perhaps the -ObjC flag needs to be passed to clang.
Also, does this hook into the clang static analyzer, or just scan for standard warnings?
Anyway, I’m really looking forward to see where this goes. It’s great to be able to get some of the power xcode has from clang integration in sublime text