-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be possible to avoid creation of empty bookmarks.json
?
#95
Comments
Hi @bartosz-antosik , This file ( But, it is not checking if there is no bookmark to be saved, and it is still saving the file 😢 . I want to refactor the storage structure to support other features, like #36 and #76, and was waiting for this to wipe this empty files. I'm thinking about these being the next features to be added. Hope this helps |
Thanks for the hope! I want definitely bookmarks in workspace context, but would love if they would not create an empty file. Would probably be better not to create the file than wipe it (if I understand wipe correctly) because in many situations there is no P.S. If you store bookmarks in VSCode storage then it will not work with Portable (unofficial) edition of said VSCode. I had a similar issue some ago #53. I have no idea if anybody cares, just notifying. |
I am sorry to say, but it seems it still does write empty |
😞 you are right 😞 . I was so focused on deleting the empty ✅ If you remove all bookmarks, it will delete the Can you confirm the scenarios? |
Indeed. When I add/remove bookmarks the file appears on first bookmark added and disappears on last bookmark removed. But when I create a new file & modify it OR modify an existing file |
Hi @bartosz-antosik , is it really fixed? 😟 |
Seems so! Many thanks. If there will be anything related I will report here. |
When I use VSCode to edit some file in a folder (e.g. by invoking
code -n .
) then after doing something WITHOUT setting any bookmark it insists on creating.vscode\bookmarks.json
with (I presume) empty content which is:Could it maybe refrain from creating it?
It results in having multiple
.vscode
folders in random places with just "empty"bookmarks.json
in them.The text was updated successfully, but these errors were encountered: