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
 new version annoyances
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

architekt
Ketchup Master

USA
51 Posts

Posted - Dec 20 2007 :  5:51:07 PM  Show Profile  Reply with Quote
I'm using 10.4.1624.0 (build 12/07/07). I upgraded mostly because the "VA Outline" feature sounded (and is) cool. However, there's a couple changes from the previous version that I was using that make me unable to use the tool. Hopefully there is a way to change the behavior via the options but it didn't jump out at me. My project files are all C and C++, btw.

1. I have deleted all code snippets that come with VAX except one: when you type /// you get a line of /'s. However, every single time I type an if/else expression, I get a suggestion box popping up after I type the "else" giving me the choice of "elseif". "elseif" isn't even valid C or C++ syntax so I don't know why it would even be offered to me. Here is an image of it in action (the edit cursor is right after the word "else", you can't see it in the pic):


The really annoying thing about this for me is that I use enter instead of tab to accept list box choices: When that box appears, if I hit enter to go to the next line, it instead accepts the listbox choice and doesn't do a newline.

Also, here is a pic of my code snippets:


2. VAX makes suggestions while I type. I like this. However, one change I'm disliking quite a bit in this version is that it does this even in my comments. Almost everytime I have a comment (// or /*), while I type, it's making suggestions. It didn't use to do this inside of comments. The annoying thing is that I'm constantly inserting incorrect words while I make comments in my code. Can I disable this? Again, here's a pic of it in action:


If there isn't a way to correct this, I guess I'll just downgrade back to an earlier version and never change from it. I do like VA Outline though, so I hope I can get things to work like they used to. Thanks for any help.

rhummer
Tomato Guru

USA
527 Posts

Posted - Dec 20 2007 :  6:08:10 PM  Show Profile  Reply with Quote
You can fix #1 by following the steps in this FAQ thread.

http://docs.wholetomato.com?W357

#2 Is a known issue and has a work around right now, http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7030 for more info.

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

architekt
Ketchup Master

USA
51 Posts

Posted - Dec 20 2007 :  6:27:19 PM  Show Profile  Reply with Quote
#2 works, cool.

As for #1, the only problem I have with that is that I like having it still display suggestions even if I type a full symbol, if for no other reason than that's how I've been used to working with VAX and have become accustomed to it. I am curious though as to why it would even bring up a suggestion of "elseif" which isn't valid C/C++ syntax. If it made sense, I'd at least just shrug it off as a useful suggestion. But elseif isn't legal, so what's the reason for it appearing?

Thanks for the quick reply.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 21 2007 :  11:39:57 AM  Show Profile  Reply with Quote
Which IDE are you using?
Do you see this "elseif" suggestion in a new default project?

using VS2005 and VA 1624 I am not seeing this suggestion. As I type "else" I end up with just one suggestion "else" which disappears as I type the final 'e'.

To be honest I have no idea where this particular suggestion is coming from.

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 11 2008 :  3:45:06 PM  Show Profile  Reply with Quote
Whoah sorry for the extreme delay. I am using VS2005 Professional. Yes, I see it even in a new default project. This is a totally irritating thing. At work I'm using an earlier version and don't get this, so I don't think I'm going to upgrade.
Go to Top of Page

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 11 2008 :  4:02:20 PM  Show Profile  Reply with Quote
I have tried every prior version to see where the problem first starts. I determined that for any build after 1561 I get this problem. For now, I don't think I'm going to upgrade past this version until this is fixed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 14 2008 :  07:29:23 AM  Show Profile  Reply with Quote
I understand your frustration. Unfortunately without some idea of what is going wrong, and why, we may not be able to fix this problem.

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
Go to Top of Page

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 14 2008 :  2:22:34 PM  Show Profile  Reply with Quote
You want the info from my current one, the one that's working as well or just the one that was having a problem?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 14 2008 :  3:05:29 PM  Show Profile  Reply with Quote
Do you have two computers?

If you only have one computer, and have downgraded to an earlier version of VA, the info from that machine should be fine. Initially I am interested in the stable include directories, to see if they will give me a clue.

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 14 2008 :  7:10:09 PM  Show Profile  Reply with Quote
I meant that I could install the version that didn't work and then paste that info. It takes like 2 seconds so I don't mind trying it. Anyways, here's the info from the latest build I can get working:

VA_X.dll file version 10.3.1561.0 built 2007.09.13
VAOpsWin.dll version 1.3.2.7
VATE.dll version 1.0.6.1
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier 16(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;
C:\\Program Files\\Microsoft DirectX SDK (August 2007)\\Include;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Other Includes:

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 15 2008 :  08:19:38 AM  Show Profile  Reply with Quote
Nothing stands out as odd there. DirectX SDK is not a standard directory, but I know quite a few of our users work with this, so it seems unlikely this is the cause of the problem.

Can you reinstall VA 1624 and see if you get this "elseif" suggestion in a new default C++ console project. If we can find out where the suggestion is coming from that should help.

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 15 2008 :  12:26:59 PM  Show Profile  Reply with Quote
Here's the info from 1624:

VA_X.dll file version 10.4.1624.0 built 2007.12.07
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier 16(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;
C:\\Program Files\\Microsoft DirectX SDK (August 2007)\\Include;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Go to Top of Page

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 15 2008 :  12:29:28 PM  Show Profile  Reply with Quote
Where does VAX get its info for that particular listbox type? Maybe there's a rogue file laying around somewhere that's feeding it misinformation? Or does it only get that from the stable inclue directories?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 15 2008 :  2:49:04 PM  Show Profile  Reply with Quote
The places should be the stable include directories and the other files in your solution. Do you see this "elseif" suggestion in a new default project?

The answer to this should give us a clue.

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 15 2008 :  9:29:13 PM  Show Profile  Reply with Quote
Yup, just made a totally blank project, added a .cpp file and it came up.
Go to Top of Page

smeuser
Senior Member

Germany
31 Posts

Posted - Jan 16 2008 :  04:51:18 AM  Show Profile  Reply with Quote
Maybe it helps: I see the same elseif in my C++ projects, also in blank projects. So this is not a special problem of architekt.

VA_X.dll file version 10.4.1623.0 built 2007.12.04
Licensed to:
VA X: [email protected] (1-user license) Support ends 2008.07.12
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
D:\\Programme\\Microsoft Visual Studio 8\\VC\\include;
D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
D:\\Programme\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
D:\\Programme\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Other Includes:

Stable Source Directories:
D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
D:\\Programme\\Microsoft Visual Studio 8\\VC\\crt\\src;

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 16 2008 :  1:08:34 PM  Show Profile  Reply with Quote
If you place the caret into "elseif" do you see anything useful in the VA context and definition fields?
What happens if you press alt-g?

smeuser thank you for this. This is very interesting, especially since you actually have fewer stable include directories than me, and I cannot reproduce this.

I would love to know where VA was finding "elseif". If we knew that, this might start to make a bit more sense.

Can either of you try:

VA Options -> Performance -> Rebuild symbol databases

and then load your empty / default projects. After VA has finished parsing do you still see this suggestion?

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 16 2008 :  1:15:02 PM  Show Profile  Reply with Quote
Same thing in regards to rebuilding symbols. As for alt-g: As soon as I hit alt, the suggestion box goes away. Placing the caret into elseif doesn't show any tooltips or extra info.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 16 2008 :  1:26:07 PM  Show Profile  Reply with Quote
After elseif has been suggested and entered, if you place the caret into it and press alt-g what happens?

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 16 2008 :  1:33:27 PM  Show Profile  Reply with Quote
Nothing. What's alt-g supposed to do anyways?

Edited by - architekt on Jan 16 2008 1:33:46 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 17 2008 :  08:55:53 AM  Show Profile  Reply with Quote
Alt-g is VA's go to command, if VA knows where this symbol is defined / declared it should jump to that place.
How is "elseif" coloured? Like a variable? A type? A #define? Or coloured like an unknown symbol?

Log files are the next step here. Can you turn on VA logging, then trigger a suggestion listbox that includes "elseif", accept "elseif" and then close the IDE please. Closing the IDE immediately stops the log files from getting to large.

Please see this FAQ for details of turning on VA's logging, and sending us the log files

http://docs.wholetomato.com?W305

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 17 2008 :  2:33:44 PM  Show Profile  Reply with Quote
You can see how it looks from the image I posted at the top. It's colored as a keyword, same as "else" and "if". I've zipped up the log files: where do you want me to send them?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 17 2008 :  2:40:16 PM  Show Profile  Reply with Quote
Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

If you disable VA:

VAssistX -> Enable/Disable Visual Assist X

is "elseif" still coloured as a keyword when it is in your code? Someone somewhere must recognise this as something for it to be given this colouring.

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

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 17 2008 :  2:45:14 PM  Show Profile  Reply with Quote
Curiously, no it is not colored like a keyword. It is colored in the default style of normal text (i.e. non-function, class, symbol, etc). I have submitted the logs.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 17 2008 :  4:47:42 PM  Show Profile  Reply with Quote
Thank you for the log files. I have asked our developers about this:

case=11499

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 17 2008 :  11:02:10 PM  Show Profile  Reply with Quote
smeuser:

Start the IDE and press the 'rebuild' button in the va options dlg (on the performance page). Then exit the IDE.

Open the file c:\\program files\\visual assist x\\misc\\cpp.va in a text editor and delete the line that starts with ":elseif" (should be line 103).

Now startup the IDE, open a test project, wait for the symbol database to build and then try typing else. Any change in behavior now?
Go to Top of Page

architekt
Ketchup Master

USA
51 Posts

Posted - Jan 17 2008 :  11:08:08 PM  Show Profile  Reply with Quote
fyi, Feline, Sean's suggestion has fixed my issue. Thanks for the help.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 24 2008 :  12:52:40 AM  Show Profile  Reply with Quote
case=11499 is fixed in build 1635
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