Skip to content

Fixes double application of edits during renaming#1764

Merged
dbaeumer merged 1 commit into
mainfrom
dbaeumer/ambitious-donkey-yellow
May 19, 2026
Merged

Fixes double application of edits during renaming#1764
dbaeumer merged 1 commit into
mainfrom
dbaeumer/ambitious-donkey-yellow

Conversation

@dbaeumer
Copy link
Copy Markdown
Member

The changes address an issue where renaming a module caused edits to be applied twice due to the interaction between the server and VSCode. The server now validates workspace edits to ensure they match the current document version before applying them, preventing duplicate edits. Additionally, a test has been added to confirm that renaming fails when expected.

Fixes #752

@dbaeumer dbaeumer enabled auto-merge (squash) May 19, 2026 14:29
@dbaeumer dbaeumer merged commit e0365a7 into main May 19, 2026
6 checks passed
@dbaeumer dbaeumer deleted the dbaeumer/ambitious-donkey-yellow branch May 19, 2026 14:53
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.

Edits are applied twice

2 participants