SourceKitten v0.13.0 Release Notes
-
๐ฅ 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 runningsourcekitten 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