Lost Code and Lost Colors in C# IDE

G

Guest

I have a large project I am developing in C#. I have two problems that occur
many times a day.

1. Frequently when I edit the code by typing in the IDE editor all of the
color coding disappears and all of the text is just black on white. At the
same time, it no longer recognizes #region directives and will not collapse
code.

2. More seriously, after I paste code into the IDE editor, it frequently and
randomly removes spaces, tabs and frequently code from other locations in the
document. This doesn't happen all of the time, but frequently enough that I
am forced to backup my code numerous times per day. And when this happens,
the behavior mentioned in #1 above occurs and the undo option no longer
functions. So the code is gone. Happily, it usually just removes a character
or two and I can locate the problems when I attempt to compile as they will
display as errors i.e. this.that.text becomes is.that.text and errors out.

Is anyone having this problem? I have it on two different development
machines. I am using the latest .NET along with ComponentOne's Studio
Enterprise widget library.

Help.
 
Z

Zach Hodges

I had this same problem also when working on a semi-large code file (>
3000 lines). The exact same things happened. I believe though that I
was using VS 2002. Since then I've been using VS 2003, and haven't had
it happen again as far as I remember. I never found out what caused it.
It seemed though that just closing the file wasn't enough reset it,
I had to restart the vs ide. Try opening only one or two code files at
a time though, that seemed to at least delay the problem for me at the
time.

Good luck,
Zach
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top