Is there a way to disable source formatting for just *.js files in Xcode? The formatter absolutely mangles my javascript files, but I don't want to lose the functionality for Objective-C file.
What worked fairly well for me is to switch the .js files to use C syntax coloring.
In XCode 4: Editor -> Syntax Coloring -> C
It still highlights numbers and strings and comments, and it indents braces in a sane way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With