I tend to find the way the code indents depends on...
# suitescript
c
I tend to find the way the code indents depends on if/when/how (not totally sure) you delete the JSDOC that the SDF plugin generates.. or at least that's the only correlation I've found.