github jpsim/SourceKitten 0.13.0
0.13.0: FormatKitten

latest releases: 0.34.1, 0.34.0, 0.33.1...
7 years ago

Some good stuff in this release, like reformatting Swift files & generating docs for SwiftPM modules! 🎉

Breaking
  • None.
Enhancements
  • Add format command that re-indents a Swift file much like pasting into
    Xcode would. This command optionally takes the following parameters:
    • --file (string): relative or absolute path of Swift file to format
    • --no-trim-whitespace: trim trailing whitespace
    • --use-tabs: use tabs to indent
    • --indent-width (integer): number of spaces to indent
      JP Simard
  • Add --spm-module [ModuleName] flag to doc to document Swift Package
    Manager modules. Need to run swift build prior to running
    sourcekitten doc. The right Swift toolchain version must also be selected
    (by setting TOOLCHAIN_DIR or similar).
    JP Simard
  • Add support TOOLCHAINS environment variable to selecting alternative
    toolchains for loading SourceKitService.
    Norio Nomura
Bug Fixes

Don't miss a new SourceKitten release

NewReleases is sending notifications on new releases.