IntelliJ IDEA 2017.2 Help

File Types

File | Settings | Editor | File Types for Windows and Linux
IntelliJ IDEA | Preferences | Editor | File Types for macOS
Ctrl+Alt+S settings

Use this page to manage the list of file types and extension patterns to be recognized by IntelliJ IDEA.

ItemKeyboard ShortcutDescription
Recognized file typesThis list box displays all the default and custom file types currently supported by IntelliJ IDEA.
Use the Add, Edit, and Remove buttons to manage the contents of the list box.

Default types cannot be edited or removed.

newAlt+InsertClick this button to open the New File Type dialog and define a new custom file type there.
edit1EnterClick this button to open the Edit File Type dialog box and edit the selected file type there.

This button is disabled when a default file type is selected.

deleteAlt+DeleteClick this button to delete the selected file type from the list.

This button is disabled when a default file type is selected.

Registered PatternsShown in this area are all the registered extensions associated with the file type selected in the Recognized file types list. Use new, edit1 and delete to manage the corresponding patterns.
newAlt+InsertUse this icon or shortcut to open the Add wildcard dialog box and specify a new pattern using wildcards there.
edit1EnterUse this icon or shortcut to edit the selected pattern.
deleteAlt+DeleteUse this icon or shortcut to remove the selected pattern from the list.
Ignore files and foldersIn this text box, specify the files and folders, which you want to be ignored by IntelliJ IDEA. Such files and folders will be completely excluded from any kind of processing. By default the list includes temporary files, service files related to version control systems, etc.

You can specify multiple names or wildcard masks, with semicolons (;) as separators.

Below is the default setting, in case you need to restore it:


Last modified: 29 November 2017

See Also