Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>XCode Swift FormatterNew to Visual Studio Code? Get it now.
XCode Swift Formatter

XCode Swift Formatter

FirePlus Team

|
286 installs
| (0) | Free
Formatting Swift code with nicklockwood/SwiftFormat like in Xcode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SwiftFormat for VS Code

This extension provides SwiftFormat support for VS Code, which is a powerful code formatter for Swift. It allows you to format your Swift code according to a set of rules and guidelines, making it easier to read and maintain.

For robust iOS Swift development experience in VS Code you can check another my extension Swift iOS Xcode IDE which provides lsp integration/hotreloading/debugging/testing support for iOS development in VS Code like in Xcode. With that extension you can use lsp formatter which is the same as in Xcode or this extension which is based on SwiftFormat.

This's a fork of vkanabel but the main difference that it supports formatting while typing like in Xcode without annoying removing of braces, trialing closures and other similar bugs while typing using original vkanabel.

How to use this extension you can check on vkanabel

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft