Syntax indentation

In Xcode 1.2, all of the Applescript syntax was automatically indented. I don’t get that in Xcode 1.5… That makes “If”'s damn hard to code… Could anyone help please? :slight_smile:

Thanks!

Automatic indenting is still there in version 1.5. If it is not working, that means you messed up your syntax so badly that Xcode has become seriously confused. Common errors that can cause this to happen include using a reserved word like “target” as a variable name.

check the xcode prefs! There’s a whole section on syntax indentation. :smiley:

Thanks for the help, but even a really simple script like

tell application "Finder"
quit
end tell

wont get indented.
Also I have syntax indenting turned on in Xcode prefs :?