pycharm新建py文件,文件名为红色,这是什么原因

2024-11-02 09:40:56
推荐回答(1个)
回答1:

解决方法:File > Settings > Editor > Colors&Fonts > File Status > (Unkown > foreground)
解决原理:Add all of the files to your vcs.
Add the files to the ignore file of your vcs (.gitignore if you're using git)
Move the project out of the repo under vcs.