Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA Outline constantly rebuilding

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Nobodo Posted - Feb 16 2011 : 1:04:56 PM
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#
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Mar 17 2011 : 11:46:32 PM
case=55320 is fixed in build 1845
accord Posted - Feb 18 2011 : 7:03:13 PM
I was able to reproduce the problem. Thank you for the clear description and the example code snippet.

case=55320
Nobodo Posted - Feb 17 2011 : 12:20:15 PM
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.


accord Posted - Feb 16 2011 : 7:46:38 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000