preload
2 Comments | Sep 06, 2011

Tips and Tricks of phpStorm: Subversion

Estimated Time To Read This: 2 – 3 minutes      


phpStorm and Subversion work together beautifully!  In large software projects, source control is a absolute must, and for this I love using Subversion (SVN).  Subversion allows you to save your changes in an organized manner and if you make a mistake, you can always go back to an older version.  Where more than one developer is working on a project, SVN handles change conflicts with relative ease.

In phpStorm, the “changes” shortcut (usually located near the bottom left corner) brings you information about the recent changes in your project:

 

In the graphic above, you can see all the recent changes (commits) to the project in the last couple of days (yes, I’ve been busy). I can  click on each individual entry and see which files were committed in that revision.  In the highlighted entry above, I’ve made a change to the preferences section.    To find out exactly what has changed, you can right click on the file and the following menu will appear:

For the selected file, I can see the differences between the current version and the previous version, as well as edit the file itself.  Quite a handy feature for see what other developers are changing.

Back on the “changes” shortcut, you also have search options built into the display.  You can perform a keyword search just by typing in the text box, or filter your results by who committed changes or even by date.

The integration between SVN and phpStorm is seemly and works beautifully together.  Anyone working on a web development project should use this – it saves so much time and frustration especially if there are several developers on a project.

Mark


Tags:, , , , ,





Related Articles


2 Comments

Olmstead 4:21 pm - 9th November:

PHPStorm and subversion DO NOT work beautifully together, at least not in OSX. In fact PHPStorm corrupts my SVN repository about once a week. Is driving me a bit crazy.

Mark Phipps 10:30 pm - 24th November:

PHPStorm corrupts your repository? That’s wierd – years ago I had problem with that issue, but not recently. Double check to make sure you using the newest version of both SVN and PHPStorm. I googled and found this link that might help as well:

http://www.wikihow.com/Install-Subversion-on-Mac-OS-X

Regards,
Mark

Leave a Reply

* Required
** Your Email is never shared