5
當我創建了一個新的視圖控制器,它的默認代碼的縮進風格看起來像如何更改Xcode 4.5中的默認代碼縮進?
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
我可以更改任何設置,所以默認代碼縮進看起來像下面
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
我已經嘗試過,但它不起作用。當我創建一個新項目或一個新的.m文件時,默認縮進保持不變。 – Daniel