Y
Y
yakubovich2016-06-08 11:58:59
git
yakubovich, 2016-06-08 11:58:59

How in phpstorm to keep highlighting of already committed files?

When working in phpstorm, all new and changed files for git are highlighted in color, which makes it very convenient to navigate them, especially when there are a lot of files open, and those that do not change are open. But if you need to share your changes, then everything needs to be committed, the highlighting will disappear. Is it possible to leave the selection of changed and added files for the last n commits or for the entire branch? After pushing changes, you can undo your commit locally to see file changes again, but this is somehow not very beautiful, because you will need to commit and push again later

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Novikov, 2016-06-08
@BOOMER_74

You can see the latest changes by pressing Ctrl+Shift+E or Alt+Shift+C. I won’t tell you how to mark only changed files, but you can highlight certain files with color, for example, like this:
To do this, find Scopes in the settings and create a new one with the selected files, then set your color to the desired Scope:
1140b78582e0414fa268425bfaf8c638.pngc8a8e84dc1aa4510b6b93a03156d9de2.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question