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

Set file type associations

Last modified: 15 June 2021

IntelliJ IDEA recognizes a default set of file types. Such files are parsed and highlighted according to the syntax of the corresponding languages.

If you are working with a file type that IntelliJ IDEA does not recognize (for example, if it's a proprietary in-house developed file type) you can also create a custom file type.

You can configure how the IDE will parse the files by defining highlighting schemes for keywords, comments, numbers, and so on. You can also associate each file type with an extension to help the IDE identify the files of the custom formats.