Front-end - Why does the name of the file imported into webstorm turn red?
世界只因有你
世界只因有你 2017-05-15 17:09:13
0
3
1411

As shown in the picture.
I imported a colleague’s project, and the folder turned out to look like this. It used to look like this. . .

世界只因有你
世界只因有你

reply all(3)
大家讲道理

Just modify the git configuration. . .

刘奇

Tips, I suggest you provide more information.

First of all, the file name color is related to your theme configuration. . The same color may have different states under different themes.
Open Preferences -> Editor -> Colors & Fonts -> File Status
It is best to determine your File Status based on color, and then discuss solutions based on the situation.

In the impression of the default theme, this color should be related to git. You said you imported your colleague's project, how did you import it?

Secondly, if you import someone else's project into a local existing project, it may be caused by Merge Conflicts. Then your correct approach should be to handle it through git commands, such as git merge 或者 git rebase 或者直接 git cherry-pick. Instead of processing it in webstorm

Peter_Zhu

Indicates the git status. It will turn black after pushing

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template