Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 No suggestion for variables "class..."

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
v_v Posted - Jul 19 2013 : 12:38:42 PM
Hello,

There is a picture with example:


If I have a variable with any name starting with "class" no one variant is selected in the suggestion box during typing. So I have to use arrows.

VAX 10.7.1946
Win7 x64 sp1, VS2012 sp3
4   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Aug 21 2015 : 12:27:29 AM
case=19137 is implemented in build 2073 as the command "Add Missing Case Statements"
accord Posted - Aug 01 2013 : 5:23:05 PM
I saw this first in VS2012 with C++. As far as I know, it was supported in earlier versions for C#.

We are considering something like this maybe as a refactoring command:

case=19137
CyberMew Posted - Aug 01 2013 : 08:08:52 AM
Sorry to be a little off topic, but you mentioned that VS built-in snippets has support for "switch"? Is this on C++/VS2010? It would be great to automatically list all cases of the switch if they are enums. Perhaps VAX should do this as well?
accord Posted - Jul 20 2013 : 3:23:02 PM
This is caused by Visual Studio snippets:

- Tools -> Code Snippet Manager...
- Select Visual C++ in the combobox under "Language:"
- Open Visual C++ treenode to see the snippets, including "class" and "classi".

class and classi snippets are the obvious reason here. Snippets are always preferred, so you can rely on them when want fast expanding, e.g. class, enter. Always. Also, this is how Visual Studio works, so if you disable Viusal Assist temporarily (VAssistX -> Enable/Disable Visual Assist X), you get the same effect. We would like to keep Visual Studio behavior when feasible, so Visual Assist can remain "transparent" instead of being "obstructive".

You can turn this feature off by setting the following to true:
Tools -> Options... -> Text Editor -> C/C++ -> Advanced -> Disable Member List Code Snippets

Personally, I disable this, and when I need a snippet, I use the shortcut for

Edit -> Intellisense -> Insert Snippet...

(You can even change the shortcut)
For example, I like the "switch" snippet of Visual Studio which inserts all items of an enum as cases of the switch, automatically. Mostly, I use VA snippets though (which is a separate feature: http://www.wholetomato.com/products/features/vasnippets.asp)

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000