Skip to content
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

No such module PackagePlugin #1704

Open
matthewbastien opened this issue Sep 21, 2024 · 2 comments
Open

No such module PackagePlugin #1704

matthewbastien opened this issue Sep 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@matthewbastien
Copy link
Member

Swift version

swift-driver version: 1.113 Apple Swift version 6.0 (swiftlang-6.0.0.7.6 clang-1600.0.24.1)

Platform

macOS 14

Editor

Visual Studio Code

Does the issue reproduce with Swift 6?

Yes

Description

SourceKit-LSP gives an error diagnostic No such module PackagePlugin when trying to import PackagePlugin for a SwiftPM plugin. This module should be available and give code completion, go to definition, etc.

Steps to Reproduce

Clone [email protected]:elegantchaos/Versionator.git
checkout 187bc4c0e15dadccb5a65b2f71fa0082bd583f81
open in VSCode and try to edit Plugins/VersionatorPlugin/plugin.swift

Logging

No response

@matthewbastien matthewbastien added the bug Something isn't working label Sep 21, 2024
@matthewbastien
Copy link
Member Author

This was originally reported in swiftlang/vscode-swift#1044 by @samdeane

@ahoppen
Copy link
Member

ahoppen commented Sep 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants