any chance of better c++ support?
AppCode has almost completely replaced XCode for me but I still have to use XCode on some projects because AppCode's C++ support is not very good. I realize that this is a really hard problem but right now AppCode identifies a lot of things as errors that are actually fine:
- Vectors indexed with the [] operator are flagged as "not arrays".
- The C++11 "auto" and "override" keywords are not recognized.
- The C++11 for (var v : collection) syntax isn't recognized.
If these things are too difficult to support, is there any way to disable the error checking in these cases at least? As it is I've got a lot of erroneous red lines all over my code.
Please sign in to leave a comment.
Miles,
we are working on C++ improvements, in particular C++11 that currently is not supported.
They will be available in the next major update.
Here are some existing problems for you to vote and watch:
http://youtrack.jetbrains.com/issue/OC-3598
http://youtrack.jetbrains.com/issue/OC-3371
http://youtrack.jetbrains.com/issue/OC-3770
Regards,
Anton Makeev
That's great to hear. I know C++ isn't an easy language to parse but this would finally allow me to relegate XCode to Interface Builder use only.
Thanks for building such a great product. I now recommend AppCode every chance I get.
Hi Miles,
We greatly improved c++ support in AppCode 1.6. Could you please try our latest eap build and give us some feedback?
http://confluence.jetbrains.com/display/OBJC/AppCode+EAP
It's definitely an improvement over 1.5. Thanks for looking into this!
A few things still seem unsupported:
1. Override keyword on virtual functions.
2. New function declaration syntax:
auto foo() -> int;
3. nullptr keyword:
Object *foo = nullptr // reports incompatible pointer types
Miles,
please create bug reports in our tracker for override keyword and function declaration syntax.
And here is a report about 'nullptr': http://youtrack.jetbrains.com/issue/OC-4679