More than Objective-C IDE
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?
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).
Cmd+N for example you can generate getters/setters and constructor/destructor for the class or even implement and override methods.
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:
Or in any ‘Go to’ action like for example in ‘Go to symbol’ with
Alt+Cmd+O when typing sge to get to sendGenericEvent:
Cmd+F1 to show error description):
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
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
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!
Subscribe to Blog updates
Thanks, we've got you!
Writing Code Documentation in AppCode
Code documentation can save you a lot of time and headaches. On the other hand, it also takes a lot of effort to write and maintain it. In this article, we will look at the AppCode features that can help you create detailed and well-structured code documentation and keep it updated after code refact…
Polish Your Code with AppCode’s Inspections and Intentions
AppCode is constantly analyzing your code to find parts that can be improved. It provides sets of code inspections and intention actions for each supported language for this exact purpose. Inspections locate unused or redundant code, syntax errors, probable bugs, spelling mistakes, obsolete or redun…
Navigation in AppCode
Navigating through files and source code, especially in complex projects, can eat up a lot of time, which is why it is essential to learn how to move around quickly in your IDE. AppCode provides plenty of navigation features that can help you move faster. In this blog post, we’ll take a look at some…
Server-side Swift in AppCode
In this short article we’ll take a look at various AppCode features that are useful for server-side Swift development, as now you can open standalone SPM projects in AppCode on macOS. Check out and open the project On the Welcome screen, click the Get from VCS button and enter the address of the Fe…