Posts

Showing posts with the label VS9

Visual Studio 2008 and JavaScript: the worst couple ever

We are using Visual Studio 2008 Team Edition at work and it is great for our C# plus SQLServer application, but I am working entirely with JavaScript and every time my files grow up " too much " I start having headache scrolling up and down thousands of line of code. A basic function that even a small editor like Notepad++ has, the plus/minus sign to close functions closures, does not exists. You should try to create your own macro, in VB "of course", and call it every time. As alternative, I added the file extension js in the option with HTML Editor as default editor to let me do something like this //#region MyConstructor <script> ... my code //#endregion </stript> Above start and end comment allows me to close code blocks and everything inside will be highlighted because the editor consider it as an HTML JavaScript tag: it's true, HTML has open/close blocks while JavaScript does not. The " fantastic " debugger is nothing that better tha...