PyCharm 4.0.0 Web Help

File | Settings | Editor | File Types


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

Item Keyboard Shortcut Description
Recognized file types This list box displays all the default and custom file types currently supported by PyCharm. Refer to the section File Types Recognized by PyCharm.
Use the Add, Edit, and Remove buttons to manage the contents of the list box.

Tip

Default types cannot be edited or removed.

add Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+Insert⌘ N or Control EnterControl N or Control Enter⌘ N or Control Enter Click this button to open the New File Type dialog and define a new custom file type there.
edit1 EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter Click 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.

delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+Delete⌘ Delete⌘ Delete⌘ Delete Click this button to delete the selected file type from the list.

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

Registered Patterns Shown in this area are all the registered extensions associated with the file type selected in the Recognized file types list. Use add, edit1 and delete to manage the corresponding patterns.
add Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+Insert⌘ N or Control EnterControl N or Control Enter⌘ N or Control Enter Use this icon or shortcut to open the Add wildcard dialog box and specify a new pattern using wildcards there.
edit1 EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter Use this icon or shortcut to edit the selected pattern.
delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+Delete⌘ Delete⌘ Delete⌘ Delete Use this icon or shortcut to remove the selected pattern from the list.
Ignore files and folders In this text box, specify the files and folders, which you want to be ignored by PyCharm. 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;

See Also

Procedures:

Reference:

Web Resources: