<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>External Tools on Noctule</title><link>https://noctule.dev/docs/external-tools/</link><description>Recent content in External Tools on Noctule</description><generator>Hugo</generator><language>en-us</language><copyright>© 2025 &amp;ndash; 2026 by [Joachim Ansorg](https://j-a.dev)</copyright><atom:link href="https://noctule.dev/docs/external-tools/index.xml" rel="self" type="application/rss+xml"/><item><title>SwiftFormat</title><link>https://noctule.dev/docs/external-tools/swiftformat/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://noctule.dev/docs/external-tools/swiftformat/</guid><description>&lt;h1 id="swiftformat"&gt;SwiftFormat&lt;a class="anchor" href="#swiftformat"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;span class="badge-paid"&gt;
 &lt;span title="This feature is only available with a license"&gt;Paid feature&lt;/span&gt;
&lt;/span&gt;
&lt;p&gt;&lt;a href="https://github.com/nicklockwood/SwiftFormat"&gt;SwiftFormat&lt;/a&gt; is a third-party formatter developed by Nick Lockwood.
The binary is usually named &lt;code&gt;swiftformat&lt;/code&gt;. Please refer to the &lt;a href="https://github.com/nicklockwood/SwiftFormat/#command-line-tool"&gt;official instructions&lt;/a&gt; on how to install it.&lt;/p&gt;
&lt;h2 id="code-linting"&gt;Code Linting&lt;a class="anchor" href="#code-linting"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Problems highlighted by SwiftFormat&amp;rsquo;s linter are shown in the editor.
Noctule provides a quick fix that reformats your file with SwiftFormat, applying its corrections for the highlighted problems.&lt;/p&gt;
&lt;h2 id="format-on-save"&gt;Format on Save&lt;a class="anchor" href="#format-on-save"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.jetbrains.com/help/idea/reformat-and-rearrange-code.html#reformat-on-save"&gt;&lt;strong&gt;Format on Save&lt;/strong&gt;&lt;/a&gt; is supported for SwiftFormat.&lt;/p&gt;</description></item><item><title>SwiftLint</title><link>https://noctule.dev/docs/external-tools/swiftlint/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://noctule.dev/docs/external-tools/swiftlint/</guid><description>&lt;h1 id="swiftlint"&gt;SwiftLint&lt;a class="anchor" href="#swiftlint"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;span class="badge-paid"&gt;
 &lt;span title="This feature is only available with a license"&gt;Paid feature&lt;/span&gt;
&lt;/span&gt;
&lt;p&gt;&lt;a href="https://realm.github.io/SwiftLint"&gt;SwiftLint&lt;/a&gt; is mostly a code linter and analyzer, with basic support for formatting and correcting Swift files.&lt;/p&gt;
&lt;h2 id="code-linting"&gt;Code Linting&lt;a class="anchor" href="#code-linting"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Violations returned by &lt;code&gt;swiftlint lint&lt;/code&gt; are displayed in the editor.
Violations on empty lines are highlighted at the end of those lines, so the warnings stay visible in the editor.&lt;/p&gt;
&lt;h3 id="configuring-swiftlint"&gt;Configuring SwiftLint&lt;a class="anchor" href="#configuring-swiftlint"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;By default, SwiftLint is executed if a &lt;code&gt;.swiftlint.yml&lt;/code&gt; file is found in the context of a file and a &lt;code&gt;swiftlint&lt;/code&gt; executable is found in &lt;code&gt;$PATH&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Swift Toolchain Formatter</title><link>https://noctule.dev/docs/external-tools/toolchain-formatter/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://noctule.dev/docs/external-tools/toolchain-formatter/</guid><description>&lt;h1 id="swift-toolchain-formatter"&gt;Swift Toolchain Formatter&lt;a class="anchor" href="#swift-toolchain-formatter"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;span class="badge-paid"&gt;
 &lt;span title="This feature is only available with a license"&gt;Paid feature&lt;/span&gt;
&lt;/span&gt;
&lt;p&gt;Swift 6.0 and later provide a built-in code formatter.
The &lt;code&gt;swift format&lt;/code&gt; command formats Swift files and is bundled with the Swift toolchain.&lt;/p&gt;
&lt;h2 id="format-on-save"&gt;Format on Save&lt;a class="anchor" href="#format-on-save"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.jetbrains.com/help/idea/reformat-and-rearrange-code.html#reformat-on-save"&gt;&lt;strong&gt;Format on Save&lt;/strong&gt;&lt;/a&gt; is supported for Swift&amp;rsquo;s code formatter.
Please refer to &lt;a href="https://noctule.dev/docs/editor/code-formatter/#external-formatters"&gt;External Code Formatters&lt;/a&gt; to learn how to set up your IDE.&lt;/p&gt;
&lt;h2 id="swift-format-configuration-files"&gt;&lt;code&gt;.swift-format&lt;/code&gt; Configuration Files&lt;a class="anchor" href="#swift-format-configuration-files"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The command is configured with &lt;code&gt;.swift-format&lt;/code&gt; files in the project directories.
The syntax of these files is documented on &lt;a href="https://github.com/swiftlang/swift-format/blob/main/Documentation/Configuration.md"&gt;swift-format/Configuration.md&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>