how to stop reformatting a .plist when selecting 'Reformat code' on a commit

When i commit, i normally reformat the code ... worked so far for me. However, when that happens, AppCode reformats one of my plists (in the resources folder) ... in a bad way.

before :

Screen Shot 2013-04-15 at 10.25.30 PM.png


after :

Screen Shot 2013-04-15 at 10.27.02 PM.png
for some reason, it splits the <string> blablabla </string> in the default 'fold' width i set for the code, causing all sorts of improper behaviors in my app.

1 comment

Currently, there is no way to exclude plist from reformatting; to workaround you can either disable automatic reformat on commit or configure formatting rules in Preferences | Code Style | XML.
Also, please file a request in the tracker.

0

Please sign in to leave a comment.