Closed elliotching closed 5 months ago
Hi @elliotching ,
The bookmarks lost sync because Git operations (even those fired by VS Code commands) updates the file outside the context of the text editor, and the extension only recognizes changes made by the user while editing files. If instead of reverting the changes using Git command, you use Undo command, the support is better. Similar issues were reported in https://github.com/alefragnani/vscode-bookmarks/issues/604, https://github.com/alefragnani/vscode-bookmarks/issues/224 and https://github.com/alefragnani/vscode-bookmarks/issues/177,
Right now, I have no plans support git operations, as I'm planning to focus on other areas of the extension. But I'm aware of the limitation, and once I'm able to improve the sticky behavior, Git support is the next objective.
Thanks for your understanding.
Environment/version
Steps to reproduce
a.txt
and type more then 10 lines ina.txt
filea.txt
https://user-images.githubusercontent.com/20972678/151117799-df53ab8e-4a04-4aef-8a12-cc3e14f35b69.mov