You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did searching and didn't find any issue reported about this
Text: Failed to get compiler arguments for Package.swift. Ensure the source file is part of a Swift package or has compiler arguments in compile_commands.json. Functionality will be limited.
To Reproduce
Steps to reproduce the behavior:
Open a project and the warning will pop up
I tested with boilerplate project by swift package init --type executable, the warning is still there so I believe it's not something wrong with my working codebase.
Expected behavior
No warning
Environment
OS: Windows 10 10.0.19045
Swift version
compnerd.org Swift version 6.0-dev (LLVM ce41a43bba95b2b, Swift 4336204fe47da60)
Target: x86_64-unknown-windows-msvc
Visual Studio Code version: 1.87.0
vscode-swift version: 1.8.1
Additional context
I found everytime I break the sourcekit-lsp, it restarts and the warning will pop up again a time for every .swift file I open, which is so annoying. :-[
The text was updated successfully, but these errors were encountered:
Describe the bug
Text: Failed to get compiler arguments for Package.swift. Ensure the source file is part of a Swift package or has compiler arguments in compile_commands.json. Functionality will be limited.
To Reproduce
Steps to reproduce the behavior:
I tested with boilerplate project by
swift package init --type executable
, the warning is still there so I believe it's not something wrong with my working codebase.Expected behavior
No warning
Environment
Additional context
I found everytime I break the
sourcekit-lsp
, it restarts and the warning will pop up again a time for every.swift
file I open, which is so annoying. :-[The text was updated successfully, but these errors were encountered: