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
 C++/CLI Class name not in completion list
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jschroedl
Tomato Guru

USA
110 Posts

Posted - Apr 29 2013 :  2:42:44 PM  Show Profile  Reply with Quote
When working in my C++/CLI code, I often hit an issue with VAX where the class I want isn't suggested.

Consider this screenshot of C++/CLI code in a function.



I was expecting the suggestion of "Debug" as in System::Diagnostics::Debug so that I can type Debug::WriteLine(...) but it suggests DEBUG from atldef.h which I don't really want. When I press the colon it autocompletes to DEBUG which I have to Ctrl+Z and fix all the time.

Any suggestions?

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - Apr 29 2013 :  5:43:34 PM  Show Profile  Reply with Quote
This is working correctly for me, using VS2012 with VA 1936. Do you have:

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

turned On or Off? I am testing this with this turned On.

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

jschroedl
Tomato Guru

USA
110 Posts

Posted - Apr 30 2013 :  07:13:41 AM  Show Profile  Reply with Quote
I am using 10.7.1936 on VS2012 Update 1 (Win7 x64).

"Get content from default Intellisense" is turned On for me too.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - Apr 30 2013 :  2:42:11 PM  Show Profile  Reply with Quote
There are pale tomato icons behind the listbox icons, so this is a VA suggestion listbox. If you press CTRL-SPACE is the correct Debug now listed?

Once you have typed in the correct Debug a couple of times it should appear in the suggestion listbox, especially if it is in the surrounding code.

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

jschroedl
Tomato Guru

USA
110 Posts

Posted - May 01 2013 :  1:02:21 PM  Show Profile  Reply with Quote
If I press Ctrl+Space, Debug is in the list.



Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - May 01 2013 :  2:19:51 PM  Show Profile  Reply with Quote
This is good to know. Having accepted the right Debug, is VA now putting this into the suggestion listboxes? Turning On:

VA Options -> Advanced -> Suggestions -> Include bits of code from surrounding lines

might help here.

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