CLion features in different languages
Tables below show what CLion features are available for each of the supported languages.
In addition to the presented languages, CLion also supports TypeScript, CoffeeScript, Less, Sass/SCSS, Stylus, XSLT, and XPath by default, and many other languages via plugins (for example, Rust or Fortran).
Main features
Language | C/C++ | Objective- C/C++ | Python | Java- Script | HTML | CSS | XML | JSON | YAML* |
---|---|---|---|---|---|---|---|---|---|
Recognized file types | |||||||||
Syntax highlighting | |||||||||
Formatting | |||||||||
Debug |
* Basic YAML support can be extended with plugins: SnakeYAMLPlugin and YAML/Ansible support
** To enable code styles and color schemes for Objective-C/C++, set the clion.enable.objc.settings field in the Registry (see Objective-C/C++ Support for instructions).
Code analysis and assistance
Language | C/C++ | Objective- C/C++ | Python | Java- Script | HTML | CSS | XML | JSON | YAML |
---|---|---|---|---|---|---|---|---|---|
Code inspection | |||||||||
Quick fixes | |||||||||
Intention actions | |||||||||
Code completion | |||||||||
Smart completion |
* Code completion is performed based on JSON schema
Navigation and search
Language | C/C++ | Objective- C/C++ | Python | Java- Script | HTML | CSS | XML | JSON | YAML |
---|---|---|---|---|---|---|---|---|---|
Find usages | |||||||||
GoTo actions | |||||||||
Type hierarchy | |||||||||
Method hierarchy | |||||||||
Import hierarchy | |||||||||
File structure view | |||||||||
Related symbols |
Refactorings
Language | C/C++ | Objective- C/C++ | Python | Java- Script | HTML | CSS | XML | JSON | YAML |
---|---|---|---|---|---|---|---|---|---|
Change signature | |||||||||
Extract / Inline | |||||||||
Rename | |||||||||
Copy | |||||||||
Move | |||||||||
Safe delete |
Templates
Language | C/C++ | Objective- C/C++ | Python | Java- Script | HTML | CSS | XML | JSON | YAML |
---|---|---|---|---|---|---|---|---|---|
Code templates | |||||||||
Live templates | |||||||||
File templates |
* Google Test code templates are also available