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 todoc
to document Swift Package
Manager modules. Need to runswift build
prior to running
sourcekitten doc
. The right Swift toolchain version must also be selected
(by settingTOOLCHAIN_DIR
or similar).
JP Simard - Add support
TOOLCHAINS
environment variable to selecting alternative
toolchains for loading SourceKitService.
Norio Nomura
Bug Fixes
- Add support for handling
CXCursor_UnexposedDecl
declarations when
documenting Objective-C.
JP Simard
realm/jazzy#543