In this section:

  1. Do one of the following:
  2. If the file type is registered, the file opens silently in PyCharm's editor.

    If the file type is registered under the category Files opened in associated applications, it will be opened in its associated application, rather than in the PyCharm editor. By default, PyCharm suggests a number of such file types, for example .doc, .chm, or .pdf.

    If the file type is unknown, PyCharm suggests you to choose whether you want to register a new file type, or open such file in its associated application. Specify your choice in the Register New File Type Association dialog box:

    You can register the required file types on the File Types page of the Settings dialog box.

  1. Choose File | Open File on the main menu and select the desired file in the dialog box that opens.
  2. Drag the required file from the Explorer (on Windows), File Browser (Linux), or Finder (on Mac) and drop it to the editor. The file will be opened for editing in a new tab.

See Also

Procedures:

Web Resources: