Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA Outline constantly rebuilding
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nobodo
Tomato Guru

126 Posts

Posted - Feb 16 2011 :  1:04:56 PM  Show Profile  Reply with Quote
VA outline settings - Auto Update on, Auto Expand Nodes on.

When working in the code editor, it is great to have the VA Outline follow along with where you are in code, and automatically expand and highlight the current location in code.

However, when you are working inside a single method or property (or even on the xml comments outside the method), the currently expanded section of VA Outline constantly refreshes itself (visibly contracts and expands).
This is very annoying if you try to keep the outline in view while coding.
I can see why there would be the need for the contraction and expansion if you moved to a different method, but this happens every few seconds while you work inside a single method (which should produce no change in the VA Outline display).


Thanks,
Mark.
Observed in build 1824 and earlier, vs2010, C#

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 16 2011 :  7:46:38 PM  Show Profile  Reply with Quote
Does it happen with all functions in all classes or only with a few one?
I did a test with a very simple code snippet, but I wasn't able to reproduce the problem with "Auto Expand Nodes":

namespace test
{
    public class testclass
    {
        public int Apple;
    }
}

namespace test2
{
    public class simpleclass
    {
        public simpleclass()
        {

        }
        public void Update()
        {

        }
        public void Init()
        {

        }
    }
}

Can you please try this little snippet on your side?
Also, can you please try updating to the latest build just to see if it helps?
http://www.wholetomato.com/downloads/default.asp

Edited by - accord on Feb 16 2011 7:47:33 PM
Go to Top of Page

Nobodo
Tomato Guru

126 Posts

Posted - Feb 17 2011 :  12:20:15 PM  Show Profile  Reply with Quote
I guess I was a little dyslexic in my original posting. It should have said that the problem was seen in build 1842 and earlier (not 1824 and earlier). I always update to the latest build as soon as it is available. Kinda anal that way about all my software.

Anyway...

I didn't use your sample because it does two things that I never do
1 - two namespaces in one file
2 - two classes in the same file that are not nested.

So.... I did create a simple class to show the problem, see below.
To easily recreate the problem, just start with an empty method for 'AnotherTestMethod', and then type in what is included below. In the process of typing that small method body you should see the entire "public methods" region close and open multiple times.

using System;

/// <summary>
/// Summary description for TestingClass
/// </summary>
public class TestingClass
{
    #region private vars
    #endregion private vars

    #region constructor
    public TestingClass()
	{
		//
		// TODO: Add constructor logic here
		//
    }
    #endregion constructor

    #region public methods
    public void TestMethod()
    {

    }

    public void AnotherTestMethod()
    {
        // this is a test of the emergency document system.
        int testvar = 5;
        testvar++;
    }
    #endregion public methods

    #region public properties

    #endregion public properties
}



Image of VA Outline display of above class. As you type inside 'AnotherTestMethod()' you should see the entire region open and close multiple times. Another good way to see the problem is by trying to add xml comments above the 'AnotherTestMethod'



Below is a 'real world' example. Again, the entire region rebuilds itself every few seconds as you work in the code. This creates a very disruptive flicker that draws your attention away from the code you are working on.


Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 18 2011 :  7:03:13 PM  Show Profile  Reply with Quote
I was able to reproduce the problem. Thank you for the clear description and the example code snippet.

case=55320

Edited by - accord on Feb 18 2011 7:04:40 PM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 17 2011 :  11:46:32 PM  Show Profile  Reply with Quote
case=55320 is fixed in build 1845

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000