Last week we installed SP1 for VS2005. Now all the sudden every project
that I attempt to code in will randomly pause while the IDE does whatever
and then unpauses and you can type some more.
I type say 20 characters, then wait for 20 seconds, type 10 more, wait for
20 seconds. It is almost impossible to concentrate knowing that the IDE is
about the hang up on you for 20 seconds.
Has anyone heard of this issue or know where i can go find information on
it?
Thanks!
Copa
I have not installed SP1 and have decided not to. With that said, are you
typing code in the code behind a Windows form and is that form open in
designer mode? If it is, try closing the designer window.
> Last week we installed SP1 for VS2005. Now all the sudden every project
> that I attempt to code in will randomly pause while the IDE does whatever
[quoted text clipped - 9 lines]
> Thanks!
> Copa
Daniel Copa - 26 Apr 2007 13:06 GMT
I think i figured it out. I am working on a Composite control so the only
file open is the class that i was working on. Client Code is written out
dynamically by this class.
The problem appears that I was writing out client code using a StringBuilder
to concatenate all the client script to be written out. This StringBuilder
was going on 600 or so appendline statements and everytime i put my cursor
at the beginning of the line to copy or paste, the IDE obviously feels that
it needs to do something which was taking anywhere from 20 seconds to a
couple minutes.
I have since divided the lines of the stringbuilder into one "main"
stringbuilder and 3 "sub" stringbuilders that build seperate parts of the
client code that the Composite control needs to write out. Visual Studios
now only pauses for less than a second sometimes and so it now behaves much
more acceptably.
Cheers!
Copa
>I have not installed SP1 and have decided not to. With that said, are you
>typing code in the code behind a Windows form and is that form open in
[quoted text clipped - 13 lines]
>> Thanks!
>> Copa