Open files in the editor
Opening files for editing
To open a file for editing
The maximum size of files parsed by PyCharm is controlled by the idea.max.intellisense.filesize
setting in idea.properties file.
The idea.properties file located in the bin directory of the PyCharm installation folder should not be edited. Instead of editing the original idea.properties file, create an idea.properties file in the following location, open it for editing and add the required properties:
For Windows: %USERPROFILE%\.PyCharm\config or %USERPROFILE%\.PyCharmCE\config
For *NIX: ~/.PyCharm/config or ~/.PyCharmCE/config
For macOS: ~/Library/Preferences/PyCharm/config or ~/Library/Preferences/PyCharmCE/config
Note that the larger the file is, the slower its editor works and the higher overall system memory requirements are.
- Do one of the following:
Double-click the desired file in one of the tool windows.
Select the desired file in one of the tool windows and press F4.
Select the desired file in the one of the tool windows and choose Jump to Source on the context menu.
Use the Search Everywhere command for a Class, File, or Symbol.
Click the desired directory in the Navigation bar, and select file from the drop-down list:
- 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 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:
You can register the required file types in
.
Opening external files
Do one of the following:
Reopening files
To reopen a file
To open a recently opened file, choose on the main menu or press Ctrl+E. Then select the desired file from the Recent Files popup, that opens.
To open a recently updated file, on the main menu, choose or press ${defaultShortcut}. Then select the desired file from the Recently Edited Files popup, that opens.
Opening files in a separate window
To open a file in a separate PyCharm window
Do one of the following:
Drag and drop an editor tab outside of the current PyCharm window.
Press Shift+F4 for a file selected in the Project tool window.
Shift + mouse double click on a file name in the Project tool window.