Skip to content

Conversation

kinto0
Copy link
Contributor

@kinto0 kinto0 commented Oct 13, 2025

Summary: will_rename_files fixes imports when renaming files in the editor

Differential Revision: D84537597

@meta-cla meta-cla bot added the cla signed label Oct 13, 2025
Copy link

meta-codesync bot commented Oct 13, 2025

@kinto0 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84537597.

Summary:

will_rename_files is a request that the language client sends before renaming files. pyrefly should handle this by updating imports.

Reviewed By: grievejia

Differential Revision: D84537595
Summary:

basic support for willRenameFiles.

I found document_changes to be the only way that worked reliably on windows so I implemented both document_changes and changes (depending on the client capability).

Differential Revision: D84537597
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant