Weird IDE behaviour

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin O'Donovan

    #1

    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


  • Alex Clark

    #2
    Re: Weird IDE behaviour

    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" <not.real@nowhe re.com> wrote in message
    news:3liqp2-cut.ln1@mercury .tcm.vispa.net. uk...[color=blue]
    > 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
    >
    >[/color]


    Comment

    • Carlos J. Quintero [.NET MVP]

      #3
      Re: Weird IDE behaviour

      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.



      --
      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:
      MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.


      "Kevin O'Donovan" <not.real@nowhe re.com> escribió en el mensaje
      news:3liqp2-cut.ln1@mercury .tcm.vispa.net. uk...[color=blue]
      > 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
      >
      >[/color]


      Comment

      • Kevin O'Donovan

        #4
        Re: Weird IDE behaviour

        "Carlos J. Quintero [.NET MVP]" <carlosq@NOSPAM sogecable.com> wrote in
        message news:eItggpggFH A.3436@tk2msftn gp13.phx.gbl...[color=blue]
        > 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
        >
        >[/color]
        Thanks for that - I'll have a browse through and see if anything helps

        Kev


        Comment

        • Kevin O'Donovan

          #5
          Re: Weird IDE behaviour


          "Alex Clark" <quanta_xp@comm unity.nospam> wrote in message
          news:uZgqYjXgFH A.1412@TK2MSFTN GP09.phx.gbl...[color=blue]
          > 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
          >
          >
          >[/color]
          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


          Comment

          Working...