Search code examples
phpstorm

Colouring new, modified, deleted etc. file names within PhpStorm


For some reason PhpStorm won't apply right colours to new, updated, deleted etc. files, neither in the navigation list nor in the tabs. I'm using GIT, PhpStorm 8.0.3 and OSX. As you can see below, all the file names are in white colour although the most of them are new and modified.

I already went through Where to change color for file names in tab row of PhpStorm, Phpstorm Git file colors, File Colors and File Status Highlights so does anyone know what else I should do to activate file name colouring?

EDITOR with new, edited, deleted files. enter image description here

File before edit enter image description here

File after edit enter image description here

VCS 1 enter image description here

VCS 2 enter image description here

GIT status

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")

Solution

  • Your VCS1 screenshot indicates that Git integration is not correctly set for the project. Use the + button on the VCS integration window to tell PhpStorm where the root is.

    It should look like this:

    enter image description here