PyCharm 3.4.0 Web Help

In this section:

To mark directories under the content root
  1. Open the Project Structure settings.
  2. In the Projects pane of the Project Structure page, click the project you want to configure content roots for.
  3. In the Content roots pane of the Project Structure page, click the desired content root. The directories under this content root are displayed as a tree view.
  4. Select the directory you want to mark and do one of the following:
    • Click one of the icons on top to assign the desired status to this directory.
    • Choose the corresponding status command on the context menu of the directory.

    py_markContentRoot.png

To mark directories using context menu
  1. Right-click the desired directory in the Project Tool Window.
  2. On the context menu, point to Mark Directory As node.
  3. Choose Mark as <directory status>.
To return a folder to its regular status, do one of the following:
  • In the Project Structure:
    • Select the directory in question in the list of folders under the content root, and click rootUnmark:

      unmarkContentRoot.png

    • Click the folder's status icon once more.
    • Choose the corresponding command on the context menu of the directory.
  • In the Project Tool Window, right-click the desired directory, point to Mark Directory As node, and then choose Unmark as <directory status>.

See Also

Concepts:

Procedures:

Web Resources: