-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Starting with version 2.4.0, warnings and errors in Swift scripts (standalone files) only update after running the Swift: Run Swift Script command but not after the file is modified or saved. In version 2.2.0, they update immediately when the file is modified.
To Reproduce
- Create a new file
Test.swift - Write some Swift code to the file that produces an error or warning, then save the file
let x: Int = "" // expected error: `Cannot convert value of type 'String' to specified type 'Int'`- The error only appears after running
Swift: Run Swift Script - Replace
""with0, then save the file again - The error only disappears after running
Swift: Run Swift Scriptagain
Environment
- OS: macOS Tahoe 26.0.1 (25A362)
- Swift version:
swift-driver version: 1.127.14.1 Apple Swift version 6.2.1 (swiftlang-6.2.1.4.8 clang-1700.4.4.1) - Visual Studio Code version: 1.105.1
- vscode-swift version: 2.12.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Unscreened