-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Commands] Adopt changes to package manifest refactoring actions #9064
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
[Commands] Adopt changes to package manifest refactoring actions #9064
Conversation
Previously package manifest refactoring actions conformed to a custom refactoring provider and produced a `PackageEdit` that, in addition to manifest file changes, included a list of auxiliary files. This is no longer the case and all package manifest refactoring actions are now responsible only for manifest file transformations, the rest is handled by the commands themselves.
Depends on swiftlang/swift-syntax#3143 |
swiftlang/sourcekit-lsp#2262 |
swiftlang/swift-syntax#3143 |
swiftlang/swift-syntax#3143 |
swiftlang/swift-syntax#3143 |
swiftlang/swift-syntax#3143 |
2 similar comments
swiftlang/swift-syntax#3143 |
swiftlang/swift-syntax#3143 |
Motivation:
Previously package manifest refactoring actions conformed to a custom refactoring provider and produced a
PackageEdit
that, in addition to manifest file changes, included a list of auxiliary files. This is no longer the case and all package manifest refactoring actions are now responsible only for manifest file transformations, the rest is handled by the commands themselves.Modifications:
textRefactor
instead of (now removed) `manifestRefactor.applyEdits
to be on[SourceEdit]
instead of a custom type.