I want to connect the folder to the project and work in it, but it lies outside the project folder, how can this be done?

    2 answers 2

    Open the settings (ctrl + alt + s), go to the Directories section and on the right add a new content root :

    enter image description here

    After that, a new folder will appear in the project directory tree.

      Go with Settings->Directories . There will be +Add Content Root . Add a folder and enjoy.

      enter image description here