Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
swiftlang
/
swift-format
Public
Notifications
You must be signed in to change notification settings
Fork
257
Star
2.9k
Code
Issues
132
Pull requests
24
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
swift-format
Sources
SwiftFormat
API
SwiftFormatter.swift
on
main
User selector
All users
All time
Commit History
Commits on Dec 14, 2024
Fix documentation
kimdv
committed
dba874b
Copy full SHA for dba874b
Commits on Nov 12, 2024
Add `--enable-experimental-feature` to enable those features in the parser.
Show description for fee42c9
allevato
committed
fee42c9
Copy full SHA for fee42c9
Commits on Oct 1, 2024
Run swift-format on swift-format.
allevato
committed
f0eabf8
Copy full SHA for f0eabf8
Commits on Jun 3, 2024
Some small refectorings and updates from review feedback. Add a few more test cases. For formatting a selection (<https://github.com/apple/swift-format/issues/297>).
DaveEwing
committed
88beb85
Copy full SHA for 88beb85
Commits on May 29, 2024
Support for formatting a selection (given as an array of ranges) <https://github.com/apple/swift-format/issues/297>.
Show description for 6640067
DaveEwing
authored and
ahoppen
committed
6640067
Copy full SHA for 6640067
Commits on Sep 5, 2023
Move `Configuration` into the `SwiftFormat` module.
Show description for d816117
allevato
committed
d816117
Copy full SHA for d816117
Commits on Aug 22, 2023
Don't do anything if the input is empty.
Show description for a0ee6eb
allevato
committed
a0ee6eb
Copy full SHA for a0ee6eb
Commits on Aug 15, 2023
Consolidate `SwiftFormat{Core,PrettyPrint,Rules,WhitespaceLinter}` modules into `SwiftFormat`.
Show description for 65e19dd
allevato
committed
65e19dd
Copy full SHA for 65e19dd
Partition public (API) types from internal (Core) types in `SwiftFormat` module.
allevato
committed
7c53d2c
Copy full SHA for 7c53d2c
Loading
You can’t perform that action at this time.