More than Objective-C IDE

Posted on by Anastasia Kazakova

AppCode is known as an intelligent Objective-C IDE that helps iOS/OS X developers create outstanding apps with ease and pleasure. It provides you with all the advantages of coding assistance, refactorings, project navigation, code analysis and more. But did you know that all of these are available not only for Objective-C?
Well, you may have heard AppCode can deal with C and C++ with the addition of several specific features like C++11, libc++ and Boost support. But, you hardly knew that you can also develop HTML, XML, JavaScript and CSS parts for your application in AppCode. Or did you?

You can simply use all the features of AppCode IDE for C and C++: the smart editor’s features together with intelligent and reliable refactorings, code analysis and quick fixes, project navigation and debugging, quick documentation support and Unit Testing (including Google Tests).
With simple Cmd+N for example you can generate getters/setters and constructor/destructor for the class or even implement and override methods.
Press Cmd+N in a class, select what you want to generate, press Enter, see the result:
For the override AppCode suggests you all the inherited methods grouped by the ancestor:
Change signature refactoring (Cmd+F6) is also possible for C/C++ code:
Most IDE features are available for preprocessor macros. Like, for example, Quick Documentation (F1) that shows macros substitution:

There are a lot of easy and convenient editor features like for example Move Line/Selected Block Up/Down with Alt+Shift+Up/Down. These shortcuts help you in any language. In HTML code for example:


Among all nice features that can be used for coding in AppCode CamelHumps is one of the prettiest. CamelHumps is a feature that identifies parts of compound names composed according to CamelCase, where each part starts with a capital letter. It’s available for all supported languages and JavaScript is not an exception here. You can use it for completion – for example type hop to find hasOwnProperty method:
Or in any ‘Go to’ action like for example in ‘Go to symbol’ with Alt+Cmd+O when typing sge to get to sendGenericEvent:

AppCode provides you with a profound code analysis support that includes dozens of inspections and quick fixes. They all are working not for Objective-C/C/C++ code but for many others: CSS, HTML, JavaScript, XML, XPath, XSLT. Use can investigate and configure them in Preference | Inspections. In CSS for example AppCode helps you find overwritten properties (Cmd+F1 to show error description):
And with Alt+Enter you get a quick fix:
One of the most ‘colorful’ feature of AppCode is a color property preview that is shown in a gutter:
You’ll never miss the color with AppCode!

Simple shortcut for expanding selection from a symbol to an expression, from an expression to a line, from a line to a logical block of code, and so on can be done with Alt+Up (to get more) / Alt+Down (to get less). This feature can be extremely useful while doing selection in the XML tree:
After selecting a block you can easily comment it with Alt+Cmd+/:
Though the shortcut (Alt+Cmd+/) is common for various languages AppCode understands when you do it in the XML scope and inserts an XML comment.

Emmet (previously known as Zen Coding) is a web-developer’s toolkit that makes HTML, JS, CSS and XSL coding easy and comfortable. All the magic lives inside short abbreviations and a bunch of actions. For example you can quickly create a block of code with just a few symbols typed and pressing Tab:
As you can see AppCode supports Emmet coding so that you can use this fantastic strength of simplicity in your development.

By the way there are several useful tutorials in WebStorm blog concerning web development keys and hints that are mostly applicable now to AppCode as well.
There are more languages supported in AppCode with the plugins. For example Lua, OCaml or Dart. Go to our plugins repository to investigate!

Comments below can no longer be edited.

2 Responses to More than Objective-C IDE

  1. Florin Patan says:

    February 26, 2014

    Go could be supported as well but unfortunately it seems that AppCode still runs on the old 131.x platform and we know we have issues with that but not in the newer 133.x.
    Any chances of getting an update to AppCode on the new 133.x platform or maybe even 134.x?


    • Vyacheslav Karpukhin says:

      February 26, 2014

      Yes, the next major release of AppCode (3.0) will be based on a newer platform version.


Subscribe to product updates