Project Structure
File | Settings | Project | Project Structure for Windows/Linux
PyCharm | Settings | Project | Project Structure for macOS
CtrlAlt0S
Item | Description |
---|---|
Projects | This pane displays the list of projects, opened in the same window. The first project in the list is the primary project. |
Item | Tooltip | Description |
---|---|---|
Sources | Mark a folder as a source root. Such folder displays in the list of source roots. If a folder is marked as a source root, it will be added to This command is duplicated from the context menu of a content root. | |
Excluded | Mark a folder as an excluded root. Usually, one would like to exclude temporary build folders, generated output, logs, and other project output. Excluding the unnecessary paths is a good way to significantly improve performance. This command is duplicated from the context menu of a content root. | |
Templates | Mark a folder as a template root, where all the directories, containing templates in the supported template languages, are stored. This command is duplicated from the context menu of a content root.
| |
Resources | Click this button to mark a folder as a resource root, for the static contents such as CSS or JavaScript files. |
tip
Django support skips directories not marked as Django templates, if they are marked as Resources.
Item | Tooltip | Description |
---|---|---|
Add Content Root | Add a new root to the content roots . Click the button and navigate to the desired folder in the dialog that opens. | |
Remove Content Entry | Delete selected content root from the project. | |
Unmark | Remove marking of a content root and denote it with a regular directory icon . |
Thanks for your feedback!