vknabel / vscode-swift-development-environment

New home of Swift Development Environment for VS Code
https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment
Apache License 2.0
175 stars 14 forks source link

Can't get autocomplete for WatchOS to work #15

Closed ghost closed 6 years ago

ghost commented 6 years ago

Adding "armv7k-apple-watchos4.3" to the workspace setting options as a target doesn't seem to allow autocompletion for WatchKit. Tried it with "armv7k-apple-watchos4" and "armv7k-apple-watchos4.0" as well. I've also tried it with the Swift.org Swift 4.3 toolchain and the built-in Xcode one. UIKit autocompletion for iOS works fine though.

vknabel commented 6 years ago

Should be fixed as of 2.3.1-beta.0. Just download it from Github and install it locally.

You can even remove the "sde.sourcekit.compilerOptions": ["-target", "armv7k-apple-watchos4.0"] setting for now. The extension will now look for import WatchKit.

vknabel commented 6 years ago

Released as 2.3.1