• 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.
  • 相关阅读:
    nyist 287 Redar
    nyist 14 会场安排问题
    nyist 90 整数分割
    nyist 123 士兵杀敌四
    nyist 116 士兵杀敌
    nyist 277 车牌号
    nyist 590 相同的和
    寄宿于WindowsService的WebAPI
    C#Dictionary 字典、泛型
    Repository模式
  • 原文地址:https://www.cnblogs.com/Yemilice/p/6217218.html
Copyright © 2020-2023  润新知