John Magnolia
John Magnolia

Reputation: 16823

Make PhpStorm show changed/modified files in project view

After moving from Zend Studio (ZS) to PhpStorm, I am starting to miss the way that ZS used to show changed files and display more than one project at once.

For example, notice how it shows that IndexController.php has been modified.

Is there any way to do this with PhpStorm?

Zend Studio PHP Explorer

Upvotes: 38

Views: 43309

Answers (11)

OMA
OMA

Reputation: 3691

Pressing Alt + 9 or Cmd + 9 (not from numpad) you can get a panel with the changed files.

To get this to work in newer versions of PhpStorm you have to change a setting. Go to PhpStorm > Settings > Version Control > Commit and uncheck the option "Use non-modal commit interface". After doing that modified files will be shown with the aforementioned keyboard shortcuts (thanks to @Tofandel for the suggestion).

Upvotes: 31

althaus
althaus

Reputation: 2027

Starting from PhpStorm 2022.1:

To highlight folders containing vcs changed files enable:

File | Settings | Version Control | Confirmation | Highlight directories that contain modified files in the Project tree

Older versions:

As mentioned in comment by LazyOne;

The Project panel does highlight any VCS changes, but to also highlight all parent-folders of changed-files, enable:

File | Settings | Version Control | Show directories with changed descendants

All kudos to LazyOne!

Upvotes: 37

Abhishek Badhan
Abhishek Badhan

Reputation: 29

If someone is still looking for solution:

Go to View & look for Changes option, it should bring up the tree view of changes for current project. You can also do show diff with current working tree in VSC pane.

Upvotes: 1

krompir
krompir

Reputation: 43

For PhpStorm version 2022.1.2, on MacOS Big Sur, you will need to go to: Preferences -> Version Control -> Confirmation, then under Changes you will need to check the "Highlight directories that contain modified files in the Project tree" box.

Upvotes: 4

moghwan
moghwan

Reputation: 2287

As in PhpStorm 2021 you can achieve it by going to Settings > Version Control > Git and check Enable Staging Area enter image description here

Upvotes: 1

Ilya Kolesnikov
Ilya Kolesnikov

Reputation: 652

In a Git toolbar (ctrl+9) tab named Local changes

enter image description here

Upvotes: 0

varun
varun

Reputation: 533

Go to file >> settings >> Editor >> General >> Editor Tabs. Check Mark modified tabs with asterisk Click ok

Upvotes: 19

Chandra Sekhar Roy
Chandra Sekhar Roy

Reputation: 61

To be more specifically. Under File Status (settings)
[option] Have changed descendants
[option] Have immediate changed children
[option] Modified

Change this three color

Upvotes: 3

divoto
divoto

Reputation: 295

PhpStorm store all the changes on your file. If you use Git or VCS it is easy to see what changes you have, but this is also availabe for normal local projects.
Open:

VCS -> Local History -> Show History

enter image description here

You will see the big windows divided on 2. Left showing all the versions, right all the modified files. Double click also gives you a diff windows, showing diference between both files.

All The modificationas are shown as a scalar one, means that selecting left the top one will show just last modification. Selecting in left the scond will show agregated modification since this time.

Let me know if you need more explanation.

Upvotes: 1

Tayyab Hussain
Tayyab Hussain

Reputation: 1838

Another alternative : ctrl + e

Upvotes: 1

mst
mst

Reputation: 466

Another alternative: ctrl + shift + e

Upvotes: 3

Related Questions