File | Settings | Editor | File Types for Windows and Linux

IntelliJ IDEA | Preferences | Editor | File Types for macOS

⌘,⌘,⌘,⌥F7⌃⌥S ../../Shared/settings.png


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. Refer to the section File Types Recognized 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.

../../Shared/new.png⌘N⌃N⌘N⌃NClick this button to open the New File Type dialog and define a new custom file type there.
../../Shared/edit1.pngClick 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.

../../Shared/delete.png⌘⌦⌘⌦⌥⌦Click 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 ../../Shared/new.png, ../../Shared/edit1.png and ../../Shared/delete.png to manage the corresponding patterns.
../../Shared/new.png⌘N⌃N⌘NUse this icon or shortcut to open the Add wildcard dialog box and specify a new pattern using wildcards there.
../../Shared/edit1.pngUse this icon or shortcut to edit the selected pattern.
../../Shared/delete.png⌘⌦⌘⌦⌥⌦Use 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:

CVS;SCCS;RCS;rcs;.DS_Store;.svn;.pyc;.pyo;*.pyc;*.pyo;.git;*.hprof;_svn;.hg;*.lib;*~;__pycache__;.bundle;*.rbc;*$py.class;