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
 properties in source files improperly underlined?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

daan.timmer
New Member

3 Posts

Posted - Feb 03 2011 :  05:31:12 AM  Show Profile  Reply with Quote
I have a class implementation, something that looks like this:

header:
namespace XpressCommon
{
	namespace Burner
	{
		public ref class Burner abstract
		{
		protected:
			BurnerStatus ^ status;

		public:
			property bool CanPrint
			{
				public: bool get(void);
				internal : void set(bool b);
			}
		}
	}
}


source:
using namespace XpressCommon::Burner;

bool Burner::CanPrint::get(void)
{
	return status->CanPrint;
}

void Burner::CanPrint::set(bool b)
{
	status->CanPrint = b;
}


What happens is that in the header the b in the set(bool b); will be underlined-red
and in the sourcefile the ::set and ::get will be underlined along with CanPrint from status will be underlined.
Within the property body itself it also does not know any members from the class Burner.

Is this a limitation from Visual Studio 2008? Or a problem with Vissual Assist X?

I am running the trial version from VAX to see how I like it, but this quite annoys me to be honest :-)

[edit] screenshot added (I can't upload it to the forums? keeps saying something went wrong?)


Edited by - daan.timmer on Feb 03 2011 06:14:45 AM

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 03 2011 :  2:51:26 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=54796

It looks like this problem is triggered by the:

using namespace XpressCommon::Burner;

line in the cpp file. Can you try commenting this out, and wrapping the cpp file in the namespaces explicitly?

zen is the art of being at one with the two'ness
Go to Top of Page

daan.timmer
New Member

3 Posts

Posted - Feb 07 2011 :  05:25:38 AM  Show Profile  Reply with Quote
Done that, seems to work indeed. Though it is not our preferred way of coding it will suffice for now.

Will this be something that you @wholetomato will be working on?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 07 2011 :  1:39:03 PM  Show Profile  Reply with Quote
This is down as a fairly high priority bug, so hopefully this will be looked at fairly soon. Unfortunately I cannot currently give you an estimate, but this thread will be updated when this bug is fixed.

zen is the art of being at one with the two'ness
Go to Top of Page

daan.timmer
New Member

3 Posts

Posted - Feb 07 2011 :  1:47:12 PM  Show Profile  Reply with Quote
I also found a, I guess, bug relating to default accessors.
A generic dictionary accessing through aDictionary[key]-> will not properly list the mejmbers of the returned value.

I will give an example tomorrow when I am back @ work. Currently omw home.

Now just to convince my colleague/employer to get this piece of software :-]


Right, so at work now. I reproduced the bug in a test project, which is totally clean.



I suppose the screenshots describes enough?

Edited by - daan.timmer on Feb 08 2011 05:22:44 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 09 2011 :  11:58:29 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=54976

For now can you try turning on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

this fixes the listbox problem for me, but unfortunately does not help with the underlining. You can turn off the underlining via:

VA Options -> Advanced -> Underlines -> Underline mistyped symbols using

but this will obviously effect all VA underlining of mistyped symbols, and not just in these cases.

zen is the art of being at one with the two'ness
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