Skip to content

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Aug 26, 2025

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:

  • Updates package refactoring commands to use textRefactor instead of (now removed) `manifestRefactor.
  • Switches applyEdits to be on [SourceEdit] instead of a custom type.

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.
@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

Depends on swiftlang/swift-syntax#3143

@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

swiftlang/sourcekit-lsp#2262
swiftlang/swift-syntax#3143
@swift-ci please test self hosted Linux platform

@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

swiftlang/swift-syntax#3143
@swift-ci please test Linux self hosted

@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

swiftlang/swift-syntax#3143
@swift-ci please test macOS self hosted

@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

swiftlang/swift-syntax#3143
@swift-ci please clean test macOS self hosted

@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

swiftlang/swift-syntax#3143
@swift-ci please test macOS self hosted

2 similar comments
@xedin
Copy link
Contributor Author

xedin commented Aug 26, 2025

swiftlang/swift-syntax#3143
@swift-ci please test macOS self hosted

@xedin
Copy link
Contributor Author

xedin commented Aug 27, 2025

swiftlang/swift-syntax#3143
@swift-ci please test macOS self hosted

@bnbarham bnbarham merged commit 7a90723 into swiftlang:main Aug 27, 2025
3 of 6 checks passed
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.

3 participants