469,926 Members | 1,492 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

Weird IDE behaviour

Hi,

Is anyone else experiencing this, or better yet, have a fix for it:

We have VS.Net 2003 from the MSDN Universal subscription installed on 3
workstations. We have about 10 or so projects ranging from a handful of
forms to 50 or so. On all but the smallest projects there will be some forms
or user controls which display this problem. What happens is that whenever
you are editing the code for the affected object, a number of things start
to misbehave, for example

1) autoformatting will fail to work - auto tabbing, replacing endif with
End If, capitalising, etc

2) new syntax errors will not be highlighted

3) existing syntax errors will remain highlighted after the error has been
corrected

4) intellisense for an object will list the wrong set of methods and
properties

5) Selecting a control and an event from the combos at the top of the code
window will insert the event skeleton at the current text cursor position,
rather than at the end of the file, even if the current position is in the
middle of another line of code!

There are probably a few other things to, but they're the ones that I can
remember. In every case things can be put right by switching windows and
then returning - outstanding formatting will then be applied, syntax errors
will be correctly cleared or flagged, etc.

It's really rather annoying, so if anyone has any hints I'd welcome them. As
I understand it, all these things would be handled by a background
compilation process that is constantly compiling your code as you enter it.
If that's the case, it sounds like that is getting out of sync?!?

Kev
Nov 21 '05 #1
4 1012
Hi Kevin,

I think this is a resource issue. Many people have complained about unusual
behaviour and a distinct lack of performance in the IDE when working with
large solutions, especially those that contain plenty of forms.
IntelliSense & syntax highliting are two of the first things to go in my IDE
when it's a bit resource-starved or working on memory intensive projects.
Not a lot you can do except to split your solution up and work on it in
chunks and hope that VS2005 will be a bit more capable when it's finally
released.

Kind Regards,
Alex Clark

"Kevin O'Donovan" <no******@nowhere.com> wrote in message
news:3l************@mercury.tcm.vispa.net.uk...
Hi,

Is anyone else experiencing this, or better yet, have a fix for it:

We have VS.Net 2003 from the MSDN Universal subscription installed on 3
workstations. We have about 10 or so projects ranging from a handful of
forms to 50 or so. On all but the smallest projects there will be some
forms or user controls which display this problem. What happens is that
whenever you are editing the code for the affected object, a number of
things start to misbehave, for example

1) autoformatting will fail to work - auto tabbing, replacing endif with
End If, capitalising, etc

2) new syntax errors will not be highlighted

3) existing syntax errors will remain highlighted after the error has been
corrected

4) intellisense for an object will list the wrong set of methods and
properties

5) Selecting a control and an event from the combos at the top of the code
window will insert the event skeleton at the current text cursor position,
rather than at the end of the file, even if the current position is in the
middle of another line of code!

There are probably a few other things to, but they're the ones that I can
remember. In every case things can be put right by switching windows and
then returning - outstanding formatting will then be applied, syntax
errors will be correctly cleared or flagged, etc.

It's really rather annoying, so if anyone has any hints I'd welcome them.
As I understand it, all these things would be handled by a background
compilation process that is constantly compiling your code as you enter
it. If that's the case, it sounds like that is getting out of sync?!?

Kev

Nov 21 '05 #2
Here you have the list of VS.NET hotfixes. Several of them are related to
problems with large solutions. By the way, autoformatting stops working when
a file reaches 8,000 lines, this is by design for performance problems.

http://support.microsoft.com/search/...otfix&x=10&y=6

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Kevin O'Donovan" <no******@nowhere.com> escribió en el mensaje
news:3l************@mercury.tcm.vispa.net.uk...
Hi,

Is anyone else experiencing this, or better yet, have a fix for it:

We have VS.Net 2003 from the MSDN Universal subscription installed on 3
workstations. We have about 10 or so projects ranging from a handful of
forms to 50 or so. On all but the smallest projects there will be some
forms or user controls which display this problem. What happens is that
whenever you are editing the code for the affected object, a number of
things start to misbehave, for example

1) autoformatting will fail to work - auto tabbing, replacing endif with
End If, capitalising, etc

2) new syntax errors will not be highlighted

3) existing syntax errors will remain highlighted after the error has been
corrected

4) intellisense for an object will list the wrong set of methods and
properties

5) Selecting a control and an event from the combos at the top of the code
window will insert the event skeleton at the current text cursor position,
rather than at the end of the file, even if the current position is in the
middle of another line of code!

There are probably a few other things to, but they're the ones that I can
remember. In every case things can be put right by switching windows and
then returning - outstanding formatting will then be applied, syntax
errors will be correctly cleared or flagged, etc.

It's really rather annoying, so if anyone has any hints I'd welcome them.
As I understand it, all these things would be handled by a background
compilation process that is constantly compiling your code as you enter
it. If that's the case, it sounds like that is getting out of sync?!?

Kev

Nov 21 '05 #3
"Carlos J. Quintero [.NET MVP]" <ca*****@NOSPAMsogecable.com> wrote in
message news:eI**************@tk2msftngp13.phx.gbl...
Here you have the list of VS.NET hotfixes. Several of them are related to
problems with large solutions. By the way, autoformatting stops working
when a file reaches 8,000 lines, this is by design for performance
problems.

http://support.microsoft.com/search/...otfix&x=10&y=6

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

Thanks for that - I'll have a browse through and see if anything helps

Kev
Nov 21 '05 #4

"Alex Clark" <qu*******@community.nospam> wrote in message
news:uZ**************@TK2MSFTNGP09.phx.gbl...
Hi Kevin,

I think this is a resource issue. Many people have complained about
unusual behaviour and a distinct lack of performance in the IDE when
working with large solutions, especially those that contain plenty of
forms. IntelliSense & syntax highliting are two of the first things to go
in my IDE when it's a bit resource-starved or working on memory intensive
projects. Not a lot you can do except to split your solution up and work
on it in chunks and hope that VS2005 will be a bit more capable when it's
finally released.

Kind Regards,
Alex Clark

Interesting. Do you find that particular forms consistently display
problems? Ie, if a form has ever exhibited problems then it will always
exhibit them?

Keva
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Jon Combe | last post: by
10 posts views Thread by Chris Mantoulidis | last post: by
3 posts views Thread by Benjamin Z. Gregorian | last post: by
1 post views Thread by Pankaj | last post: by
1 post views Thread by fd123456 | last post: by
reply views Thread by probir.chatterjee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.