swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.3k stars 273 forks source link

No source generated by Add test target refactoring on Windows #1430

Closed award999 closed 1 month ago

award999 commented 4 months ago

Swift version

swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-03

Platform

Windows 11

Editor

Visual Studio Code with development swift extension

Does the issue reproduce with Swift 6?

Yes

Description

Source code is not generated by the Add test target refactoring on Windows

Steps to Reproduce

In the Package.swift for any project, run either variant of the Add test target refactoring. The dependencies and targets are updated in the Package.swift but the Test folder and example test source is not generated. Only seeing this on Windows

Logging

No response

ahoppen commented 4 months ago

Synced to Apple’s issue tracker as rdar://129297386

ahoppen commented 1 month ago

@award999 confirmed offline that the issue no longer reproduces.