2 Replies Latest reply: Feb 13, 2013 5:04 PM by etresoft
Michael Kluskens1 Level 1 Level 1 (25 points)

Is there a way to adjust how Xcode handles automatic indenting besides the choices in the preferences.


I'm using Xcode 4.5.2 with Intel Fortran Composer XE 2013.1.119 and the syntax coloring is better then what I have in TextWrangler 4.0.1 but when I cut and paste Xcode strips out my existing indenting unless I turn off auto-indenting in preferences.


  • 1. Re: Xcode & Indenting
    Michael Kluskens1 Level 1 Level 1 (25 points)

    I should note that auto completion of keywords and variables in Xcode is amazing in Fortran, it is pulling things from all the files in my workspace (or the open files).  I don't know if there is something that makes TextWrangler or BBEdit does this as well. 


    Funny thing is when programming in Objective-C I never found the Xcode autocompletion nearly as useful.

  • 2. Re: Xcode & Indenting
    etresoft Level 7 Level 7 (24,265 points)

    I have never used Xcode's indenting. I have never used any editor's indenting. It seems I have this crazy formatting system that no editor managed to output:


    int foo(int value)


      printf("Why is this so difficult?\n");