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
 1624 and completion of parameters
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 01 2008 :  7:33:39 PM  Show Profile  Reply with Quote
I simply cant get it to work anymore...




1624 doesnt show ANY function parameters in the completion list, this is quite disturbing.

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jan 02 2008 :  08:30:41 AM  Show Profile  Reply with Quote
VA is not going to suggest "nField" or "szNullValue" in this case, since these parameters are underlined as mistyped symbols.

This does not really help though, since now we need to find out why these parameters are underlined. As a quick and simple test I have just added the following code to a cpp file using VS2005 and VA 1624:

class SQLQueryResult
{
	const char* getStringField(int nField, const char* szNullValue="");
};

const char* SQLQueryResult::getStringField( int nField, const char* szNullValue/*=""*/ )
{
	banana = 2;	// ONLY "banana" is underlined as a mistyped symbol
}

The parameters are correctly recognised for me.

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 02 2008 :  09:34:06 AM  Show Profile  Reply with Quote
Talking about underlined, it appears to me that most of the parameters are underlined. Almost always. In the whole workspace (20+ projects). Any clues about that one then?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jan 02 2008 :  09:59:17 AM  Show Profile  Reply with Quote
To be honest no good ideas. I am not quite sure where to start either.

Do you have either of:

VA Options -> Advanced -> Fonts and Colors -> Local symbols in Bold
VA Options -> Advanced -> Fonts and Colors -> Stable symbols in Italic

turned on? If so are you seeing local variables in bold?

Is it only parameters that are being underlined, or other things as well? Class names? Class members, both variables and functions?

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 02 2008 :  12:26:17 PM  Show Profile  Reply with Quote
None of them enabled. And ONLY parameters are underlined. Nothing else besides the usual missssspellings.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 02 2008 :  8:21:15 PM  Show Profile  Reply with Quote
This looks somehow related: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7098
Even worse than mine, but very similar.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jan 03 2008 :  1:53:05 PM  Show Profile  Reply with Quote
I see the similarity, but your problem is specific to parameters, it is almost as if VA is confused by brackets.

Does your windows name contain any Unicode / extended characters? If so the same fix might help you.

Have you tried to operator overload round brackets anywhere in your code? This is a wild guess, but I am trying to work out what is different about parameters.

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jan 03 2008 :  3:10:46 PM  Show Profile  Reply with Quote
No, no and no. Nothing like that. Simple code, actually really simple.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jan 04 2008 :  11:54:21 AM  Show Profile  Reply with Quote
Lets stick to discussing the underlined parameters in this thread:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7101

to try and cut down on possible confusion.

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