PhpStorm 2017.3 Help

File Types Recognized by PhpStorm

PhpStorm 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 files fileTypeCss
CoffeeScript filesicon CoffeeScript
Dart filesicon dart file
Diagram filesicon UML
Erlang filesfileTypeC
Files marked as plain textplain text icon
Files opened in associated applicationsiconFileTypeCustom
Handlebars filesfileTypeHandlebars
HAML files fileTypeHAML
HTML files classTypeHtml
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 Pug (Jade) Template Engine).jade
JSHint configuration files ac iconJSHint
JSON filesfileTypeJSON
JSTestDriver Config filesfileTypeJSTestDriverConfig.png
Java Server Pages filesfileTypeJSP
LESS files fileTypeLESS
reStructuredText filesfileTypesRST
Patch filespatch
Perl filesfileTypeJavaScript
PHP files fileTypePHP
Pug files (refer to the section Pug (Jade) Template Engine). pug
Regular expressionsfileTypeRegexp
RELAX NG Compact SyntaxfileTypeRelaxNG
Sass files fileTypeSASS
SCSS files fileTypeSASS
Smarty, Smarty config files fileTypeSmarty
SQL filesicon sqlOpenInEditor
Stylus filesfileTypeStylus
Text filesac iconFileTypeText
TypeScript files ac iconFileType TypeScript
XHTML files ac iconFileTypeXHTML
XML DTD files ac iconFileTypeDTD
XML files ac iconFileTypeXML
YAML files fileTypeYAML
Last modified: 3 November 2017

See Also