name Indentation Rules scope source.c, source.c++, source.objc, source.objc++ settings decreaseIndentPattern (?x) ^ (.*\*/)? \s* \} ( [^}{"']* \{ | \s* while \s* \( .* )? [;\s]* (//.*|/\*.*\*/\s*)? $ | ^ \s* (public|private|protected): \s* $ | ^ \s* @(public|private|protected) \s* $ increaseIndentPattern (?x) ^ .* \{ [^}"']* $ | ^ \s* (public|private|protected): \s* $ | ^ \s* @(public|private|protected) \s* $ indentNextLinePattern (?x)^ (?! .* [;:{}] # do not indent when line ends with ;, :, {, or } \s* (//|/[*] .* [*]/ \s* $) # …account for potential trailing comment | @(public|private|protected) # do not indent after obj-c data access keywords ) .* [^\s;:{}] \s* $ # indent next if this one isn’t # terminated with ;, :, {, or } unIndentedLinePattern ^\s*((/\*|\*/|//|#|template\b.*?>(?!\(.*\))|@protocol|@optional|@interface(?!.*\{)|@implementation|@end).*)?$ uuid 02EB44C6-9203-4F4C-BFCB-7E3360B12812