Skip to content

Instantly share code, notes, and snippets.

@mokagio
Last active October 1, 2024 10:48
Show Gist options
  • Save mokagio/bd400f790bcb06a79fdf2a837dbce0ce to your computer and use it in GitHub Desktop.
Save mokagio/bd400f790bcb06a79fdf2a837dbce0ce to your computer and use it in GitHub Desktop.
.editorconfig for Xcode 16
[*]
insert_final_newline = true
trim_trailing_whitespace = true
[*.{swift,h,m}]
indent_style = space
indent_size = 4
# Other properties Xcode 16 supports, as per https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
#
# tab_width: a whole number defining the number of columns used to represent a tab character. This defaults to the value of indent_size and doesn't usually need to be specified.
#
# end_of_line: set to lf, cr, or crlf to control how line breaks are represented.
#
# max_line_length: set to a positive integer to force hard line wrapping after the amount of characters specified; set to 'off' to turn off this feature (use the editor settings).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment