Stop .net from automatically formatting code
Friday 6th March 2009 at 12:16

I do a lot of coding for websites, and to do this, I use Notepad++ which is brilliant.

When I have to do programming in .net, whenever I do IF statements or loops, .net loves to automatically align everything and try to tidy things up.

Now for most people this is a wonderful feature, for me it's an annoyance because it doesn't do it exactly how I want it.

If your like me and want to turn this off, you can. Go to Tools\Options and the Option window appears, then under Text Editor expand C #. Under Formatting untick the 'Automatically format completed constructs and pasted source'.

+
0 Comments   |   Permalink   |
Add your own comment

Use the form below to add a new comment to the blog entry and other comments above.

Visitor Name:
Visitor Comment:
Email Address:

Your email address will NOT be forwarded to any third parties.

 
Visual CAPTCHA
Captcha Image: