選中需要格式化代碼 -> Editor -> Structure ->Re-Indent 或者
選中需要格式化代碼 -> 右擊 ->選中 Structure ->Re-Indent
選中當前的類或者代碼 快捷鍵 control + i鍵
選中需要格式化代碼 -> Editor -> Structure ->Re-Indent 或者
選中需要格式化代碼 -> 右擊 ->選中 Structure ->Re-Indent
選中當前的類或者代碼 快捷鍵 control + i鍵
UILabel *lab = [[UILabel alloc] initWithFrame:CGRectMake(10, 20, 300,50)]; lab.numberOfLines = 0; la