WebStorm 2016.2 Help

File Types Recognized by WebStorm

WebStorm 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
Apache Config files fileTypeApacheConfig.png
Archive files icon_create_archive
C# filesfileTypeCSharp
C/C++ filesfileTypeC
Command Shell filesfileTypeCommandShell
CSS filesfileTypeCss
CoffeeScript filesicon_CoffeeScript
Dart filesicon_dart
Erlang filesfileTypeC
Files marked as plain textplain_text_icon
Files opened in associated applicationsiconFileTypeCustom
Handlebars filesfileTypeHandlebars
HAML filesfileTypeHAML
HTML filesclassTypeHtml
IDL filesfileTypeIdl
Image filesfileTypeImage
JavaFX filesfileTypeC
JavaScript filesfileTypeJavaScript
JavaScript test filesfileTypeJSTest
JavaScript files that can be executed on Node.jsfileTypeJSFileToRunOnNode
Jade files (refer to the section Using Pug (Jade) Template Engine).jade
JSHint configuration filesac_iconJSHint
JSON filesfileTypeJSON
JSTestDriver Config filesfileTypeJSTestDriverConfig.png
Java Server Pages filesimg
Less filesfileTypeLESS
reStructuredText filesfileTypesRST
Patch filespatch
Perl filesfileTypeJavaScript
Pug files (refer to the section Using Pug (Jade) Template Engine). pug
Regular expressionsfileTypeRegexp
RELAX NG Compact SyntaxfileTypeRelaxNG
Sass filesfileTypeSASS
SCSS filesfileTypeSASS
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: 20 July 2016