How can I add external files in PyCharm project?

For example, httpd.conf or a file with my text? It is convenient to collect all the necessary files in one place ...
Thank you.

3 comments
Comment actions Permalink

Hello d_hand,

For example, httpd.conf or a file with my text? It is convenient to

collect all the necessary files in one place ...

You can use the Favorites functionality for this purpose. Open the file you

need with File | Open File..., then use "Add to Favorites" action to add

it to a favorites list. To view the files, select the favorites list in the

"View As" combo box of the Project View toolwindow.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

Hi Pycharm Dev Team,

Could you please elaborate more on how could I achieve that?

If I go [File] -> [Open File] -> then an Open Project window pops up (giving me various options regarding to the new full project not just a folder I wanted to add).

There is an option to attach a new project from there but this not I was looking for :(

Thanks!

 

 

 

 

0
Comment actions Permalink

Marcel Łagoda Hi, 

The previous comment is from 2010, some things has changed since then.

What you can do to add external files/directories to the project is to open project structure settings (https://www.jetbrains.com/help/pycharm/project-structure-dialog.html) and add a new content root. It will appear in your project view as part of your project.

2

Please sign in to leave a comment.