在 PhpStorm 中为新的、修改的、删除的等文件名着色
Colouring new, modified, deleted etc. file names within PhpStorm
出于某种原因,PhpStorm 不会将正确的颜色应用于新的、更新的、删除的等文件,无论是在导航列表还是在选项卡中。我正在使用 GIT、PhpStorm 8.0.3 和 OSX。正如您在下面看到的,所有文件名都是白色的,尽管其中大部分是新的和修改过的。
我已经完成了 Where to change color for file names in tab row of PhpStorm, Phpstorm Git file colors, File Colors and File Status Highlights 所以有人知道我还应该做什么来激活文件名着色吗?
EDITOR 有新的、编辑的、删除的文件。
编辑前的文件
编辑后的文件
VCS 1
VCS 2
GIT状态
inanzzz-MBP:sport inanzzz$ git status
On branch form-type-crud
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: src/Football/FrontendBundle/Resources/views/Default/index.html.twig
no changes added to commit (use "git add" and/or "git commit -a")
您的 VCS1 屏幕截图表明 Git 集成没有为项目正确设置。使用 VCS 集成 window 上的 + 按钮告诉 PhpStorm 根在哪里。
它应该是这样的:
出于某种原因,PhpStorm 不会将正确的颜色应用于新的、更新的、删除的等文件,无论是在导航列表还是在选项卡中。我正在使用 GIT、PhpStorm 8.0.3 和 OSX。正如您在下面看到的,所有文件名都是白色的,尽管其中大部分是新的和修改过的。
我已经完成了 Where to change color for file names in tab row of PhpStorm, Phpstorm Git file colors, File Colors and File Status Highlights 所以有人知道我还应该做什么来激活文件名着色吗?
EDITOR 有新的、编辑的、删除的文件。
编辑前的文件
编辑后的文件
VCS 1
VCS 2
GIT状态
inanzzz-MBP:sport inanzzz$ git status
On branch form-type-crud
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: src/Football/FrontendBundle/Resources/views/Default/index.html.twig
no changes added to commit (use "git add" and/or "git commit -a")
您的 VCS1 屏幕截图表明 Git 集成没有为项目正确设置。使用 VCS 集成 window 上的 + 按钮告诉 PhpStorm 根在哪里。
它应该是这样的: