Skip to content
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

Git operations are not updating the document manager #692

Open
charlespwd opened this issue Jan 8, 2025 · 0 comments
Open

Git operations are not updating the document manager #692

charlespwd opened this issue Jan 8, 2025 · 0 comments
Labels
Bug Something isn't working

Comments

@charlespwd
Copy link
Contributor

Describe the bug
Git operations change files in the workspace without shooting textDocument/did{Open,Change,Save,Close} lifecycle notifications.

This means that if you revert changes and do a rename, then the internal representation of preloaded files might be off.

Expected behaviour
When files are modified "under our feet", we need to sync them to the document manager with updated values

Actual behaviour
Stale values are kept around

@charlespwd charlespwd added the Bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant