I lose my Bookmarks when I checkout in branches



I work in a branch, where I create new php files.

In these files I add a few bookmarks.


If I checkout in an other branch (where these php files don't exist), and I checkout back on my firsct branch, all of my bookmarks are lost !!!

(this is quite logical : phpstorm deletes bookmarks when it doesn't file the corresponding file…)


Is there a solution to keep my bookmarks ?

(The only solution I found is to keep a copy of workspace.xml, and copy-paste the bookmarksManager Tag every time I checkout a branch… Which is really boring…)


Comment actions Permalink

Hi there,

Check https://youtrack.jetbrains.com/issue/IDEA-200558#focus=streamItem-27-3103381.0-0 --> https://youtrack.jetbrains.com/issue/IDEA-64464 (and related tickets). Could also be https://youtrack.jetbrains.com/issue/IDEA-91133 (seems to better fit your description of non-existing files).

Other than that (my quick search for existing tickets) just check other possible tickets and see which one may suit better your situation: https://youtrack.jetbrains.com/issues/IDEA?q=branch%20bookmarks

Comment actions Permalink

Many thanx, 


Shame on me, I didn't find all of these tickets…


So it seems that there is no solution far the while… Like other users, I think I'll give up with this feature, it's just useless for people that are used to switch quite often from a branch to an oher branch.


Best regards,



Please sign in to leave a comment.