/atom-swiftkit

Atom Package providing code completion for Swift

Primary LanguageJavaScriptMIT LicenseMIT

Autocomplete for Swift

Provides completion for Swift using sourcekitten and Swift Package Manager.

How to use

Install using APM (or through atom's UI)

apm install swiftkit

Install sourcekitten

brew install sourcekitten

Build your project

swift build

Limitations

Currently sourcekitten only has support for macOS, support for Linux is on its way

Currently only has support for project's with a SwiftPM generated build file. This mean's there is no completion for app development.

Goals

  • Syntax highlighting with or without sourcekitten depending on performance
  • Support Swift without of SwiftPM (Xcode app's and Swift scripts)
  • Building and Testing through SwiftPM
  • Debugging support.
  • Documentation lookup through atom's completion more button. (link to SwiftDoc.org)
  • Filter lookup by checking the current files imports. Currently every dependency file is included in the search.

Prior works

All possible thanks to SourceKitten Facebook's nuclide provided the initial groundwork with this.