IntelliJ - Bookmarks / Favorites - Backup/restore - Windows users

Answered

And I must admit that I'm very disappointed in the fact that there is no IntelliJ team support for this topic, or some guidance to help people, as this happens pretty much after all new versions of IntelliJ and it's update, and as a consequence, it impacts a developer's work, at least for us who work on really big projects.

So I've decided, to make this short tutorial how to restore back your bookmarks for Windows 10 users :

As of version 2020.1, IntelliJ operates under hidden Windows user AppData folder :
e.g. C:\Users\<windows.user.name>\AppData\Roaming\JetBrains\IntelliJIdea<version>\workspace

Even more, under C:\Users\<windows.user.name>\AppData\Roaming\JetBrains there are previous versions, (along with backup folders !)
and under appropriate version, in folder "workspace" there are all modifications, in the form of <funny_ssh_like_fileName>.xml
(e.g. 1lFTpsTT6pUo3tksBtYpwaD5qZ2.xml)

So, in my case, I've :
1. opened ~\AppData\Roaming\JetBrains\IntelliJIdea2020.3\workspace
2. sort files to descend based on modified flag
3. opened the newest one, and found that there is just one new bookmark, without previous ones !
4. so, I opened next recent xml, found <component name="BookmarkManager"> and copied everything in between,
into the current IntelliJ workspace file

1
2 comments

Thank you, that worked. I don't see any backup folders on my system though.

More generally, the folder is the {idea.config.path}/workspace, see https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs

0

Please sign in to leave a comment.