Juri Strumpflohner
Juri Strumpflohner Juri is a full stack developer and tech lead with a special passion for the web and frontend development. He creates online videos for Egghead.io, writes articles on his blog and for tech magazines, speaks at conferences and holds training workshops.

HowTo: Prevent Visual Studio from auto-formatting your jQuery source

1 min read

When writing JavaScript code with Visual Studio 2008 it automatically formats your source code when going into a new line or placing the ";" delimiter. This is quite nice as long as you're writing plain old JavaScript code. But when you start coding jQuery plugins the automatic formatting doesn't fit the standard jQuery indentation and may therefore soon get quite annoying.

To disable this automatic source code behavior for JavaScript files you have to deactivate the settings in the Tools > Options dialog as shown in the figure below.
comments powered by Disqus