文件中的JetBrains PhpStorm红色不会消失 [英] JetBrains PhpStorm red color in files don't go away

查看:217
本文介绍了文件中的JetBrains PhpStorm红色不会消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些红色文件,它们完全没有错误,并且一切都可以正确编译,并且网络也可以在控制台上正确显示0错误.可以肯定的是100%无错误,但文件仍然是红色的,我非常恼火,因为它看起来像是一个错误...

I have some files that are in red and they have absolutely no error and everything compiles properly and the web also shows properly with 0 mistakes on the console... I'm actually copy pasting the Angular tutorials; it's for sure 100% error free and still the files are red and I get so annoyed because it looks like an error...

有人对此有解决方案吗?

Anyone has a solution for this???

推荐答案

选项卡上的红色不是因为文件中有错误.发生这种情况是因为该文件是您git存储库中的新文件,但尚未添加到工作目录中.您可以解决此问题并提交您的更改.

The red color on the tab is not because you have errors in your file. It happens because this file is new on your git repository, and yet wasn't add in work directory. You can resolve this commiting your changes.

这篇关于文件中的JetBrains PhpStorm红色不会消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆