When formatting a file, Aptana reports:
Unable to format. See error log for details.
I haven\'t been able to find the error log.
According to the docs it should be in the current workspace /.metadata/.log
https://wiki.appcelerator.org/display/tis/Accessing+the+Log+File