• How to stop pycharm show files in project in red color?


    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.

    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:

    1. Add all of the files to your vcs.
    2. Add the files to the ignore file of your vcs (.gitignore if you're using git)
    3. Move the project out of the repo under vcs.
  • 相关阅读:
    电视剧的拍摄和发行
    常用键盘快捷键
    河北省各城市名称由来
    爱情16谈
    人生赏心十六件乐事
    Android——apk反编译
    Android.mk
    Android——init可执行程序
    Android启动脚本init.rc(2)
    MountService初探
  • 原文地址:https://www.cnblogs.com/Yemilice/p/6217218.html
Copyright © 2020-2023  润新知