- I haven’t testes all the IDE’s out there
- I’ve been using VS for more than 10 years
- I’ve been using eclipse for a couple of month
- Other coworker facing my state (1, 2) also shares the same opinion.
For the obvious reasons I'm not going to mention here notepads (including sublime or notepad++). As good as they are – they are still notepads with script highlighting.
Visual Studio (10)
After switching to VS I could feel a cool breeze on my face and I could breathe again easily. The first thing I wanted to do is to split the project into libraries:
Consider the following tree:
The second step was to integrate JSLint (by Douglas Crockford), which already has integration suggested by the community here, and also you can find it as VS Extension
Of course you can find more great extensions, but this was enough for me to get me going.
The forth step was to debug which gave me the full power of VS instead of just using Firebug and a browser, I could really do break points, watches, stack, “go to definition” and much more without reloading the page. FireBug (or whatever you use) is still mandatory tool, but just for the sake of debug the IDE should be enough.
The fifth step is not a real step, the guys at Microsoft are trying really hard to show up real IntelliSense, which is one of the problems with dynamic coding. And about 50% of the time, if you have all the references right and if you have been playing nice - you can get a nice IntelliSense showing up helpful suggestions.
Now, what more can you ask? Really? Well there is more in VS 2011 (in beta now)
- Minifying and prettifying are built in (you can get these in MVC 4.0 as well)
- IntelliSense is automatically rebuild
- ECMAScript 5 support
- Better IntelliSense
- Dynamic load of script references like jsdefere
- And a lot more: CHECK IT HERE
If anyone wants the T4 templates I used please leave a comment or something.