-
-
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
Renaming of File in VSCode results in "ghost" bookmarks #209
Comments
Hi @pwahlmueller , This was a known issue (already reported in #80), but wasn’t priority at the time. But, rename a file right from the side bar, on the other hand, wasn’t something that I intended to do 😬 . Please, fill another issue (Feature Request) for that. Thanks for reporting |
Should use onDidRenameFiles event, described in https://code.visualstudio.com/api/references/vscode-api#workspace |
Just an FYI: When I encountered this problem, I managed to transfer the bookmarks to the renamed file by editing the file path using an SQLite database editor. |
Hi @fade2gray , Yes, that's possible. I used to look (for debugging purposes) at the LocalStorage in the Developer Tools. Unfortunatelly VS Code team changed that to files in disk 😞 . But for this fix, I'll have to handle the |
When you change the filename in VSCode, the bookmark is still on the old filename.
It should be changed, so the bookmark will mark the line in the new file.
It is also not possible to change the filename at the bookmark section.
The text was updated successfully, but these errors were encountered: