Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jan 01 2008 : 7:33:39 PM
|
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
|
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 |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jan 02 2008 : 09:34:06 AM
|
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? |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jan 02 2008 : 09:59:17 AM
|
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 |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jan 02 2008 : 12:26:17 PM
|
None of them enabled. And ONLY parameters are underlined. Nothing else besides the usual missssspellings. |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jan 03 2008 : 1:53:05 PM
|
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 |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jan 03 2008 : 3:10:46 PM
|
No, no and no. Nothing like that. Simple code, actually really simple. |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
|
|
Topic |
|