CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Objective-C/C++

Last modified: 05 September 2023

CLion enables you to work with Objective-C/C++ files as comprehensively and productively as with code written in C or C++.

You can open, create and add Objective-C/C++ files with .m and .mm extensions into your CMake or compilation database project, and use all of the features for code inspection, assistance and refactoring that CLion provides. Live and code templates are also available for Objective-C/C++ code. For more information, refer to CLion Features in Different Languages.

To configure Objective-C/C++ specific settings, use the following pages of the Settings dialog CtrlAlt0S:

  • Editor | Inspections | Objective-C

  • Editor | File and Code Templates (and select the Code tab)

  • Editor | Live Templates