I would like to create project in PyCharm by open directory. I use https://github.com/metachris/tornado-boilerplate as a root of the project. I encountered that files are shown in red color in project window. It's really annoying thing.
I found this File Status Highlights. But I can't figure out how to get rid of the issue.
When I open empty directory and then create file just
$ touch file
It's color is red too.
Did you start you project within a directory that is under version control? The red color normally shows up when files are in a version controlled directory, but are untracked.
If this is the problem, you can solve it a few ways:
You can change the file color to whatever you want. File > Settings > Editor > Colors&Fonts > File Status > (Unkown > foreground).
The files in Pycharm are under Version Control. Pycharm changes the file's color by the status of file. The 'red' color of the file you mentioned indicated that the file is 'Unkown' status to the version control. If you add the 'Unkonwn' file to version control and commit to repository, the 'red' color can be changed.
Judging by the brown color of your files it looks like your project directory is under version control and that all the files in your project are not versioned. Check your File | Settings | Version Control settings and check the VCS status of these files in View | Tool Windows | Version Control | Local Changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With