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’.

Tags: , ,

Join the conversation...

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.