Search code examples
svnintellij-ideaphpstormwebstorm

How to change the local directory of Subversion in WebStorm / PhpStorm / IntelliJ IDEA?


I've installed the SVN Toolbar plugin in PhpStorm.

This is my project's folder structure (psudo):

\Project Root

    \folder1

    \folder2

    \www

        \folder3

        \folder4

        \server

And at first, I used checkout to set the folder server as the local destination folder for SVN. It works fine.

Now I need to change local folder to another one, i.e. www. But I don't know how to do it.

No matter what I did, it always took server as the local destination folder.

And in the left side project structure pane in PhpStorm, only folder server has a 'Subversion' menu item in the right click menu. How can I make folder www instead of folder server to have this 'Subversion' menu item?


Solution

  • Remove the server mapping in Settings (Preferences on Mac) | Version Control and add a new mapping for the www directory instead.

    Check the documentation for the details.