vscode-swift
vscode-swift copied to clipboard
Issues with dependencies in edit mode
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:
- Open a package
- Right click on dependency and select 'use local version'
- 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
Here is the related sourcekit-lsp issue https://github.com/swiftlang/sourcekit-lsp/issues/1877