Skip to content

Comments

Don't create/do remove bookmarks file when there are no bookmarks.#30

Open
obszczymucha wants to merge 1 commit intotomasky:mainfrom
obszczymucha:main
Open

Don't create/do remove bookmarks file when there are no bookmarks.#30
obszczymucha wants to merge 1 commit intotomasky:mainfrom
obszczymucha:main

Conversation

@obszczymucha
Copy link

@obszczymucha obszczymucha commented Apr 23, 2025

First of all, thank you for the plugin, it's great.

This change is motivated by the fact that once the bookmarks file is created it always remains there even if there are no bookmarks.
In my use case, I set up the plugin and set the save_file to point to the project's directory, so each project contains its own bookmarks.
This leaves a lot of bookmark files everywhere.

This change checks if there are bookmarks available, and if not it doesn't create the file. If there used to be bookmarks, but there are
none now, it deletes the bookmarks file to clean up.

@obszczymucha obszczymucha changed the title Remove bookmarks file when there are no bookmarks. Don't create/do remove bookmarks file when there are no bookmarks. Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant