Author |
Topic |
|
stukad
Junior Member
13 Posts |
Posted - Sep 10 2007 : 5:04:07 PM
|
http://img512.imageshack.us/img512/531/71644938ke9.jpg
I think this is 100% correct. But why it`s underlined? I did already disable spell checking. This is caused thought a misspelled symbol. It comes after compiling (with no error) and clicking again in text editor. |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 10 2007 : 5:43:48 PM
|
Which IDE, version of VA and programming language are you using? If you turn off VA's underlining of mistyped symbols does this remove the underlining? |
zen is the art of being at one with the two'ness |
|
|
stukad
Junior Member
13 Posts |
Posted - Sep 10 2007 : 6:10:47 PM
|
quote: Originally posted by feline
Which IDE, version of VA and programming language are you using?
Vs 05 professional, name of the va setup file is VA_X_Setup1559.exe.
quote: Originally posted by felineIf you turn off VA's underlining of mistyped symbols does this remove the underlining?
Yes. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 11 2007 : 07:23:23 AM
|
That does not make much sense, since as you say the code is valid. I have added the following code to an existing C++ project, using VS2005 and VA 1559:
struct Test {
int testvar;
};
int looksLikeMain()
{
Test my_test;
my_test.testvar = 10;
banana = 1;
return EXIT_SUCCESS;
}
here only "banana" is underlined as a mistyped symbol.
Are you seeing this problem in an existing project, or a new project?
Can you please go to:
VA Options -> About -> Copy Info
and paste the details (from the clipboard) into this thread. This will give us the basic information about your setup. |
zen is the art of being at one with the two'ness |
|
|
stukad
Junior Member
13 Posts |
Posted - Sep 11 2007 : 12:10:52 PM
|
I used also your code, with existing and with new project too. All with same error.
quote: VA_X.dll file version 10.3.1559.0 built 2007.07.06 VAOpsWin.dll version 1.3.2.4 VATE.dll version 1.0.5.8 DevEnv.exe version 8.0.50727.42 msenv.dll version 8.0.50727.42 Font: Courier New 13(Pixels) Comctl32.dll version 6.0.2900.2180 Windows XP 5.1 Build 2600 Service Pack 2 Single processor
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 11 2007 : 12:24:20 PM
|
Do you have any other IDE plugin's installed? If you change the colour:
VA Options -> Advanced -> Correction -> underline mistyped symbols using
does the underlining in the code change to use this new colour?
If you place the caret into "testvar" on the problem line what, if anything, does VA show in its context and definition fields (at the top of the editor)? If you move the caret into the "my_test" what does it show then?
One possibility, something in your stable include directories is confusing VA. Can you try this code instead:
struct UniqueNameStructUnderlineThingSquareBanana {
int testvarAboutBanana;
};
int looksLikeMain()
{
UniqueNameStructUnderlineThingSquareBanana my_test_banana;
my_test_banana.testvarAboutBanana = 10;
return EXIT_SUCCESS;
}
This should at least elimiate problems over "Test" and "testvar" being known symbols from somewhere. |
zen is the art of being at one with the two'ness |
|
|
stukad
Junior Member
13 Posts |
Posted - Sep 12 2007 : 11:16:32 AM
|
quote: Do you have any other IDE plugin's installed?
I try from time to time some. But right now everything is disabled.
The might be theoretically that someone thing did not get uninstalled or deactivated. But the only way to get a 100% clean visual studio would be to clean reinstall everything, including windows.
quote: If you change the colour: VA Options -> Advanced -> Correction -> underline mistyped symbols using does the underlining in the code change to use this new colour?
Yes.
quote: If you place the caret into "testvar" on the problem line what, if anything, does VA show in its context and definition fields (at the top of the editor)?
Yes.
quote: If you move the caret into the "my_test" what does it show then?
Works also.
quote: One possibility, something in your stable include directories is confusing VA. Can you try this code instead: This should at least elimiate problems over "Test" and "testvar" being known symbols from somewhere.
Same, after the dot is underlined. My stable includes are just the standard includes. Everything else thought the project settings. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 13 2007 : 08:18:43 AM
|
Your comment about other plugin's puts me in mind of this FAQ entry:
http://docs.wholetomato.com?W295
Which other addin's do you have installed? When you say they are disabled, have you simply unticked them in the dialog:
IDE tools menu -> Add-in Manager -> list of available add-ins
or have you done something else? This dialog does not work very well for disabling VA in VS2005, as explained here:
http://docs.wholetomato.com?W306 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|