CLion Help

File Types Recognized by CLion

CLion recognizes numerous file types. Each file type is denoted with a special icon. Custom files types are also allowed. Each file type is associated with one or more extensions that match a certain pattern.

The file types and their extensions are configurable in the File Types dialog.

The default types include:

File TypeIcon
ActionScript files ActionScript files fileTypeActionScript.png
Archive files icon_create_archive
C files FileType_c
C++ source files

Note: The following extensions are supported in CLion:

*.cpp; *.cp; *.cxx; *.cc; *.m; *.mm; *.pch; *.tcc.

FileType_cpp
CMakeLists.txt filescl_CMake
CSS files fileTypeCss
CoffeeScript files icon_CoffeeScript
Erlang files fileTypeC
Files opened in associated applications fileTypeC
Handlebars files fileTypeHandlebars
HAML files fileTypeHAML
Header files

Note: The following extensions are supported in CLion:

*.h; *.hh; *.hcpp; *.hpp.

cl_FileType_h
HTML files classTypeHtml
IDL files fileTypeIdl
Image files fileTypeImage
JavaFX files fileTypeC
JavaScript files fileTypeJavaScript
JavaScript test files fileTypeJSTest
JavaScript files that can be executed on Node.js fileTypeJSFileToRunOnNode
JSHint configuration files fileTypeJSHint
JSON files fileTypeJavaScript
JSTestDriver Config files fileTypeJSTestDriverConfig.png
Less files fileTypeLESS
Patch filespatch
Perl filesfileTypeJavaScript
Puppet files icon_puppet
Regular expressions fileTypeRegexp
RELAX NG Compact Syntax fileTypeRelaxNG.png
Sass files fileTypeSASS
SCSS files fileTypeSASS
SQL files icon_sqlOpenInEditor
Stylus files fileTypeStylus
Text files fileTypeText
TypeScript files typeScript
XHTML files classTypeXHtml
XML DTD files fileTypeDTD
XML files classTypeXml
YAML files fileTypeYAML

See Also

Last modified: 7 May 2015