This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
Autocompletion for SPM dependencies
- Autocompletion for SPM dependencies #27 (thanks to @yeswolf)
- Better support for vscode workspaces
- New setting
swift.targets
for supporting autocompletion if SDE can't.
Especially when using Xcode projects SDE cannot infer the correct compiler arguments. Now you can fix this by explicitly supplying targets with their sources and compiler arguments. SDE will still detect other targets automatically.
{
"swift.targets": [
{
"name": "YourWatchExtension",
"path": "YourProject/YourWatchExtension",
"sources": ["**/*.swift"],
"compilerArguments": [
"-sdk",
"/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk",
"-target",
"armv7k-apple-watchos4.0"
]
}
]
}