Skip to content

Conversation

@debonte
Copy link
Contributor

@debonte debonte commented Dec 21, 2023

To fix microsoft/pylance-release#5217 (comment) in Pylance, I'd need the Workspace.applyEdit call in handleApplyWorkspaceEdit to pass { isRefactoring: true } as the second parameter.

Is it reasonable to add WorkspaceEditMetadata to workspace/applyEdit, so isRefactoring can be sent optionally via LSP?

@debonte
Copy link
Contributor Author

debonte commented Jan 11, 2024

@dbaeumer, I'm guessing that you missed this when you got back from vacation.

Copy link
Member

@dbaeumer dbaeumer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dbaeumer dbaeumer enabled auto-merge (squash) January 17, 2024 17:46
@vscodenpa vscodenpa added this to the December / January 2024 milestone Jan 17, 2024
@dbaeumer dbaeumer merged commit 193b298 into microsoft:main Jan 17, 2024
@debonte debonte deleted the applyEditMetadata branch January 17, 2024 18:00
@debonte
Copy link
Contributor Author

debonte commented Jan 30, 2024

@dbaeumer, thanks for taking this change. Any guess as to when your next release will be available?

@dbaeumer
Copy link
Member

I want to get the snippet support in as well before having a new release. This however requires the new VS Code release that is due this week. So a new LSP release will not arrive before next week.

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.

Respect files.refactoring.autoSave for move to file

4 participants