Visual Studio 2008 and JavaScript brackets formatting -


as know ms added javascript formatting vs 2008 sp1. unfortunately fails on code:

var viewport = new ext.viewport({             layout: "border",             items: [{                 region: "center",                 contentel: "center"             }, {                 region: "south",                 contentel: "south"             }, {                 region: "west",                 contentel: "west" }] // bracket misplaced             });              viewport.render(); 

is there way fix it? fixed in vs 2010?

couldn't find way fix it, fixed in vs 2010.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -