Why bookmarks listing is empty after I added new bookmark?
Hello,
Can anybody explain why on PhpStorm 2019.3.4 after I create bookmarks and can check them by clicking
they are in bookmarks listing by SHIFT+F11 key. But If I click SHIFT+F11 key after some period
of time(maybe in 30 minutes or 1 hours ) I see that bookmarks listing is empty?
I suppose that all bookmarks are saved in /.idea/workspace.xml file.
I check content this file and did not see any bookmarks content...
Even after I created some new bookmark. Are there some bookmarks options for (time) saving etc...
I removed /.idea/ directory, supposing that recreating /.idea/workspace.xml file will
fix this problem, but thst did not happen... Also I did not any relative bookmarks options
under Settings menu.
Thanks!
请先登录再写评论。
The only related open issue I've managed to find is this one: https://youtrack.jetbrains.com/issue/IDEA-91133 Are those bookmarks located in files that do not exist in other branches?
Also, what storage are you using to keep the project on, is it an entirely local drive? Any sync software such as OneDrive, Dropbox, etc?
That is my home laptop with Kubuntu 18 and I have no any file-sync software
monitoring the project directory(or some other directory)
I use git, but no branches, except master as my project is at starting now and only me works with it now.
I added /.idea/ into ignore file, but looks like it did not help.
But I notecied that as I use option “Project Opening ” with selected value
“Open Project in new window” it seems to me
that Bookmarks list is cleared when I open new project, so I have 2 (sometimes more) instances of PhpStorm.
Can it be the issue? As I expected that Bookmarks list is saved in /.idea/workspace.xml file
inside of any project. I do not know where Bookmarks list is saved really...
I have got a hint yo find BookmarkManager group with my bookmarks
and in my project/.idea/workspace.xml there are no any BookmarkManager group, but
I found several such groups in
files like ~/.PhpStorm2019.3/config/workspace/1qebwc5931sfQbTL2OAJ0RNKxiD.xml
looks like 1 file for any project I work last time.
And looks like I have this error happen when I open other project in other instance of PhpStorm...
Any chance you created those projects by copying a single project folder multiple times?
.idea/workspace.xmlhas a property calledprojectId, this ID is used as a filename for the project .xml file in~/PhpStorm2019.3/config. Most of project settings are kept there rather than in the.ideadirectory directly.If the ID is the same in all projects, no wonder bookmarks and other settings are being overwritten.
No, any project is created with laravel new projectname command and I checked several projects : all have different projectId. Also bookmarks are not overwritten from one to other project, but cleared
Here's my attempt to reproduce the issue locally, no luck with that: https://drive.google.com/file/d/1pxtkA7jyGm1ZK5KwhJPHJ_2gKZuZDzSQ/view
Can you spot any detail I am missing in there? Is it reproducible for you if you undertake the same steps?