Skip to content

0.13.0: FormatKitten

Choose a tag to compare

@jpsim jpsim released this 28 May 23:08
· 1130 commits to main since this release

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