Closed
Description
Describe the bug
I am working on a complex Swift package, and I sometimes need to relaunch the LSP in order to see changes I make propagate. Doing so, however, seems to add an entry to the Output section in VSCode every time.
To Reproduce
Steps to reproduce the behavior:
- Go to the Output tab in the bottom panel in VSCode
- Open the dropdown of output sections
- Observe a single entry of "Swift" and a single entry of "SourceKit Language Server"
- Press Command-Shift-P and find the "Swift: Restart LSP Server" option and select it
- Go back to the dropdown and observe a second entry of "SourceKit Language Server"
- Repeat step 4 and observe a new entry each time.
Expected behavior
Restarting the LSP server should not add an entry each time, or, at the very least, these entries should be distinguished from each other.
Environment
- OS: macOS 14.5
- Swift version (output of
swift --version
)
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
- Visual Studio Code version: 1.89.1
- vscode-swift version: v1.9.0