Undesired code insertion/modification in Web Matrix

If you were using Web Matrix for your development, you may notice that the 'codes' are not keep intact from times to times.

Hey, what's up? Why do the IDE change my code? Yes, this happen all the times even in his brother - Visual Studio .NET

There's a member of the ASP.NET Forums face this problem again today. Mike have kindly explained that the page is re-create each time when switching from Design view to HTML view.

From my personal experience, I normally will 'wait' Web Matrix to load everything well before I code on it, or use the “Source Editor” as my default setting in the IDE. Actually I will 'wait' a Web Page finish loading in Visual Studio .NET too, especially when I open a new Web form from the Solution Explorer, or switching the code by (SHIFT) + [F7]

This is stupid, but it can minimize the chance of being add some undesired code like “TBODY”, “Word Wrap”, “Line Break“ or other 'nice' code formatting feature by the IDE itself. Moreover, I always hear a sentence from the Forums: “Leave my code alone.. Please...”  :-)

No Comments