Skip to content

Issues with dependencies in edit mode #1627

Open
@0xTim

Description

@0xTim

Describe the bug
There are a number of bugs when putting a dependency in edit mode via the extension. The 2 big ones are:

  • The dependency/package view in the project pane disappears so you can't click through to dependencies and view the code of the package you're trying to edit
  • Indexing seems to fail for the local dependency, making things like autocomplete, click through to method etc fail

To Reproduce
Steps to reproduce the behavior:

  1. Open a package
  2. Right click on dependency and select 'use local version'
  3. Error

Expected behavior
Things to work the same as if it were a remote dependency

Environment

  • OS: macOS 15.5
  • Swift version
swift-driver version: 1.120.5 Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
Target: arm64-apple-macosx15.0
  • Visual Studio Code version: 1.100.2
  • vscode-swift version: 2.4.0

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsourcekit-lspSourceKit-LSP issue

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions