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
 How to configure Whole Tomato
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

squidge
Junior Member

23 Posts

Posted - Dec 28 2009 :  10:54:35 AM  Show Profile  Reply with Quote
Q1: With the following code:

struct  
{
  struct
  {
    int a;
    int b;
    int c;
    int d;
  } lower;
  struct
  {
    int e;
    int f;
    int g;
    int h;
  } higher;
  int active;
} cevent;


How can I get it so that typing 'cevent.' lists just 'lower', 'higher' and 'active'? At the moment, it lists all the members of 'lower' and 'higher' too, even though they are not accessible from 'cevent', only 'cevent.lower' and 'cevent.higher' as appropriate.

Q2:
Sometimes Whole Tomato doesn't show symbols which I know exist. So I can type shorthand and the symbol doesn't appear, so I have to use CTRL+SPACE to show all symbols, but then it literally shows ALL symbols, not just the ones that match my typing. Eg. I type 'cq' and the symbol doesn't appear in the drop down box, so I hit CTRL+SPACE, and the first item is then >> followed by AASHELLMENUFILENAME, neither of which contain 'cq'.

INFO
VA_X.dll file version 10.5.1738.0 built 2009.10.01
[Latest build according to website]

feline
Whole Tomato Software

United Kingdom
18949 Posts

Posted - Dec 29 2009 :  5:10:49 PM  Show Profile  Reply with Quote
For the structure, for now you can add helper names to the top of the internal structures:

struct  
{
	struct VA_HELPER_NAME1
	{
		int a;
		int b;
		int c;
		int d;
	} lower;
	struct VA_HELPER_NAME2
	{
		int e;
		int f;
		int g;
		int h;
	} higher;
	int active;
} cevent;


or you can try turning on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

This is something we are looking to fix:

case=3548


Question 2, are you seeing this problem with a member listbox, which appears after dot or ->, or on a general listbox? It is possible you are seeing suggestion listboxes, which only contain some best guesses, not all possible items.

http://www.wholetomato.com/products/features/suggestion.asp

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

squidge
Junior Member

23 Posts

Posted - Jan 04 2010 :  1:36:57 PM  Show Profile  Reply with Quote
Thanks feline, thats most likely what it is. However, I did expect it to just show me items which just contained my text, even if I pressed CTRL+SPACE, since I have "Shrink when possible" ticked. After all, If I typed "cq", I am unlikely to want a symbol named 'AASHELLMENUFILENAME', for example, as it contains neither 'c' nor 'q' anywhere.

Would it be possible to have a listbox where suggestions are first, and others items are listed afterwards?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18949 Posts

Posted - Jan 05 2010 :  3:07:19 PM  Show Profile  Reply with Quote
Which IDE are you using?
Are you typing in a function? A class? Some other scope?

My initial tests in VS2005 with VA 1738 are producing a relatively short, filtered list, only showing items that contain "c" and "q".

So I am wondering if I am doing something differently to you.

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

squidge
Junior Member

23 Posts

Posted - Jan 18 2010 :  08:30:35 AM  Show Profile  Reply with Quote
Inside the body of a function using VS2008.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18949 Posts

Posted - Jan 25 2010 :  12:13:46 PM  Show Profile  Reply with Quote
using VS2008 and VA 1738 I have added the following simple test function to a C++ project, cpp file:

static void felineTestCQListFilter()
{
    cq|
}


When I press CTRL-SPACE with the caret here, this is what I am seeing:



Can you try the same test on your system and see what happens please?

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

support
Whole Tomato Software

5566 Posts

Posted - Mar 17 2011 :  11:37:33 PM  Show Profile  Reply with Quote
case=3548 is fixed in build 1845

Whole Tomato Software, Inc.
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