The programs such as Visual Basic, etc have an option to set out code with indenting, etc so if you have the option enabled there shouldn't be a problem. Although, it has been ages since I have touched vb but it should do it automatically other tools such as Dream Weaver do.