Need Help - Stop SharePoint from Auto-Formatting my code PLEASE! RRS feed

  • Question

  • Every time I write an ASPX page, save it, close SharePoint Designer and then open that file in SharePoint Designer, all my code has been reformatted...  I find this EXTREMELY rude and irritating...  I have a table with MANY rows and I like to read those rows in code, each row on its own line so it's easier for my human eyes to make sense of it.  I also have several tables embedded into that first table, each of which has 3-15 rows. I have my code written in such a way that the entire table and all embedded tables are very easy to read but nope... SharePoint collapses ALL my code to ONE line... ICK!!!  I HATE this!!  Whoever came up with this idea should be beaten down with an old Altair!!!

    Does anyone know how I can stop this madness??!

    Thursday, October 25, 2012 3:47 PM


  • After over a year of using SharePoint, it magically stopped auto-formatting my code...  I don't know why, but as long as it works now, I am happy!  
    • Marked as answer by Nicolai Dutka Friday, February 15, 2013 4:29 PM
    Friday, February 15, 2013 4:29 PM