The Smart Indenting "feature" is driving me absolutlely crazy in VWD.
Problem: VWD in Code View insists on tabbing a lot of my code over to it's
own liking and effects mainly my comments in the code.
First of all, I've searched the help files and searched forums.asp.net. I
can't seem to find a solution so I thought I'd try here. When I look at
Tools >> Options and look under Text Editor >> All Languages >> Tabs, it has
a subtle message on the right side stating "The indentation settings for
individual text formats conflict with each other.". Gee - thanks.
I have tried setting all languages the same and everything I can think of
and nothing stops it from scooting my comments over an extra 5-10 spaces.
Further more, when I select one of the choices under Indenting, mainly
"None", it never sticks. It always comes back to that message I stated
above. I can't seem to stop VWD from reformatting my code.
I've complete uninstalled it and reinstalled it an I still have the same
problem. Any pointers??
It turns this:
'Testing for a true condition
If X = 1 Then
'Do something
MyCommand()
'If it tests false then.....
Else
OtherCommand()
End If
into this:
'Testing for a true condition
If X = 1 Then
'Do something
MyCommand()
'If it tests false then.....
Else
OtherCommand()
End If