swift-syntax icon indicating copy to clipboard operation
swift-syntax copied to clipboard

[SwiftSyntaxCodeActions] Move SwiftRefactor code actions out to sourcekit-lsp

Open 25harsh opened this issue 6 months ago • 2 comments

Removes SyntaxRefactoringProvider types mentioned in 2639 out of swift-syntax and into sourcekit-lsp Sources/SwiftSyntaxCodeActions/. Made dependency changes.

Companion PR 2671

Notes:

  1. Tests in Tests/SwiftRefactorTest/ for the above types are also removed. Coverage moves to sourcekit-lsp's CodeActionTests.

25harsh avatar May 27 '26 08:05 25harsh

@swift-ci Please test

ahoppen avatar Jun 03 '26 14:06 ahoppen

@swift-ci Please test

ahoppen avatar Jun 05 '26 17:06 ahoppen

@ahoppen runner failing because sourcekit-lsp (recent main) can't find code actions, which were removed.

25harsh avatar Jun 11 '26 07:06 25harsh

https://github.com/swiftlang/sourcekit-lsp/pull/2671

@swift-ci Please test

ahoppen avatar Jun 11 '26 14:06 ahoppen

https://github.com/swiftlang/sourcekit-lsp/pull/2671

@swift-ci Please test Windows

ahoppen avatar Jun 11 '26 14:06 ahoppen

@ahoppen should i move the ConvertZeroParameterFunctionToComputedPropertyTests.swift code changes to 2671, new changes are conflicting.

25harsh avatar Jun 16 '26 08:06 25harsh

Yes, that would be good. Sorry for introducing the conflict.

ahoppen avatar Jun 17 '26 12:06 ahoppen

np, done and rebased, adding it to https://github.com/swiftlang/sourcekit-lsp/pull/2671

25harsh avatar Jun 17 '26 12:06 25harsh

https://github.com/swiftlang/sourcekit-lsp/pull/2671

@swift-ci Please test

ahoppen avatar Jun 17 '26 12:06 ahoppen

https://github.com/swiftlang/sourcekit-lsp/pull/2671

@swift-ci Please test

ahoppen avatar Jun 17 '26 19:06 ahoppen

not sure why this is failing, also sourcekit-lsp ci never started

25harsh avatar Jun 19 '26 09:06 25harsh

Looks like a non-deterministic failure. Let’s try again.

https://github.com/swiftlang/sourcekit-lsp/pull/2671 @swift-ci Please test

ahoppen avatar Jun 23 '26 06:06 ahoppen

macOS test failures seems to have been non-deterministic again. Let’s try one more time.

https://github.com/swiftlang/sourcekit-lsp/pull/2671 @swift-ci Please test macOS

ahoppen avatar Jul 02 '26 11:07 ahoppen