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
 Snippet usage in c# winform project
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jae
New Member

Taiwan
4 Posts

Posted - Jan 09 2017 :  02:18:54 AM  Show Profile  Reply with Quote
The snippet is working if the project is MFC, but not in c# WinForm. When I am typing the defined snippet shortcut, the snippet is not listed in the showed listbox if the project is WinForm. Is the snippet feature not supported in WinForm?

Environment:
VA_X.dll file version 10.9.2083.0 built 2015.11.18
DevEnv.exe version 11.0.61219.0 Ultimate


Edited by - Jae on Jan 09 2017 02:20:25 AM

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Jan 09 2017 :  11:13:40 AM  Show Profile  Reply with Quote
Hello Jae,

Try enabling 'Suggestion and Completion lists' for C# by checking the following checkbox. It is disabled by default.



Does that allow you to use snippets?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19073 Posts

Posted - Jan 09 2017 :  11:34:24 AM  Show Profile  Reply with Quote
Can you please look and see if you have:

VA Options -> Listboxes -> Enable Visual Assist completion, suggestion and member listboxes in C#

turned On or Off. If this is turned Off, can you please try turning this option On and see if this fixes this problem for you? You will only get VA Snippets being suggested in C# code with this turned on.

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

Jae
New Member

Taiwan
4 Posts

Posted - Jan 09 2017 :  8:26:45 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Can you please look and see if you have:

VA Options -> Listboxes -> Enable Visual Assist completion, suggestion and member listboxes in C#

turned On or Off. If this is turned Off, can you please try turning this option On and see if this fixes this problem for you? You will only get VA Snippets being suggested in C# code with this turned on.



Hi Feline,
I've enabled it and it's working now. Thanks a lot.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19073 Posts

Posted - Jan 10 2017 :  10:04:22 AM  Show Profile  Reply with Quote
Thank you for the update, and I am glad this was so quickly and simply fixed.

The VA options dialog has changed with time, so the setting is now where ChrisG's screen shot shows it to be, but in VA 2083 it was where I directed you to.

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