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
 Tooltip lose the member const qualification
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
342 Posts

Posted - Nov 15 2011 :  9:03:53 PM  Show Profile  Reply with Quote
class A{
public:
	A():m_ia(1){	
	}
	void func2(){

	}
};

To change func2() to add const qualification by Change Signature,the Tooltip don't update.Restart IDE or reparse current file don't work.
version :1859,WinXp sp3 ,VC6 sp6

Creation come from persist!

Edited by - jzq740176597 on Nov 15 2011 9:04:37 PM

jzq740176597
Tomato Guru

China
342 Posts

Posted - Nov 15 2011 :  9:21:51 PM  Show Profile  Reply with Quote
A Suggestion about Change Signature Function.
the Function is very useful but I don't use more.Not that it's not powerful,and I'm not willing to,but only can rememer some symbol's fragment.Usually I can copy only one symbol into clipboard.
Lead to many times,I am not very sure whether I have spelled the parameter symbol correctly.So I give up using it.
But to change the Signature by myself.Because in that case,while I modify the parameters,no matter append or adjust,VA can give me suggestion.Why not,In the Change Signature modal-Dialog supply the VA suggestion?
By a logical extension of this point,So many VA functions,especially need input valid symbol based the source code,VA should Supply Suggestion.In my perspective,This definitely will be a significant improvement.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18947 Posts

Posted - Nov 17 2011 :  12:14:21 PM  Show Profile  Reply with Quote
I cannot reproduce this tooltip problem. I have changed the code slightly, to make sure the class name is going to be unique, and that the code compiles, so I am testing with:

class testAddConstViaChangeSig{
private:
	int m_ia;
public:
	testAddConstViaChangeSig():m_ia(1){	
	}
	void func2(){
		
	}
};

before Change Signature I had this tooltip:



and after Change Signature I had this tooltip:



Can you turn on:

VA Options -> Advanced -> Display -> use tomato icons in listboxes and tooltips to mark Visual Assist X content

to see if the tooltip is coming from VA or not.


Listboxes in the refactoring dialogs make sense, and this is something we are considering doing:

case=60853

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

jzq740176597
Tomato Guru

China
342 Posts

Posted - Nov 17 2011 :  8:25:02 PM  Show Profile  Reply with Quote
class testAddConstViaChangeSig{
private:
	int m_ia;
public:
	testAddConstViaChangeSig():m_ia(1){	
	}
	void func2()const{
		
	}
};

Change void func2(){...} into void func2()const{...} .I can reproduce this problem.
And I always have VA Options -> Advanced -> Display -> use tomato icons option on.Try this.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18947 Posts

Posted - Nov 18 2011 :  1:20:28 PM  Show Profile  Reply with Quote
Ah, I see what I was doing wrong. I am seeing the problem now. This has nothing to do with Change Signature, VA simply does not show the const after the function in the tooltip:

case=2895

The const after the function is shown in the Definition field though, along with VA Outline and VA View, which helps.

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