Dan2552 / SublimeTextSwiftAutocomplete

Swift autocompletion in Sublime Text using SourceKitten
MIT License
155 stars 7 forks source link

Work out how to make it compatible with imported Frameworks #3

Open Dan2552 opened 7 years ago

Dan2552 commented 7 years ago

The following works after carthage update --platform macOS on branch:

cd /Users/dan2552/projects/branch/src && sourcekitten complete --text 'import Foundation
import Swiftline

let bold = "hello".style.Bold' --offset 61 -- \
-sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \
-target x86_64-apple-macosx10.10 \
-F /Users/dan2552/projects/branch/Carthage/Build/Mac