Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Enums and shorthand

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
leigh.kendall Posted - Mar 10 2006 : 10:10:04 AM
In VB.NET, the intellisense provides help on enums without having to manually type the enum type first like in C#. However, VA only offers shorthand or acronyms on the enum type, not the value. For example, when using a Command object and setting it's type, VB will offer the following help:
cmd = CommandType.StoredProcedure

In VA, shorthand will only work up to the period, NOT across it. It would be really cool if you could type cts to select this enum. Essentially, VA would ignore the period.

Make sense??
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Mar 11 2006 : 11:05:13 AM
once you have typed the dot, then VA will offer you assistance on what comes after the dot. i assume that you are not having any problems with this?

the problem i see with ignoring the dot is how widely does this apply? if it applies to enum's then why should it not apply to other things, like classes, structures, variables, etc.

the flip side of this is that when you type "cts" how does VA know that you are after an enum type + enum value? you are also going to end up with every class, variable, etc, that contains these three letters.
leigh.kendall Posted - Mar 10 2006 : 2:37:51 PM
Sorry, after re-reading my post, I realize it's not all that clear.

Basically, when VB.NET offers intellisense for an enum, intellisense will display the enum type + the vaule. For example: CommandType.StoredProcedure would be the choice.

VAX will only work on the text preceding the period, not after the period. So in the example above, you can not filter, shortand, acronym on anythign AFTER the "." It would be nice if VAX would just ignore the "." in those scenarios so that one could type cts and VAX would select it.
feline Posted - Mar 10 2006 : 1:53:15 PM
what language are you working in? VA should be offering working shorthand and acronyms on both the enum type and the enum item.

VA provides two types of listbox. completion listboxes look like normal lists, appear on CTRL-SPACE, can be filtered by hovering the mouse over them, and respond to both shorthand and acronyms if you have these enabled.

suggestion listboxes do none of these things, but they pop up to suggest VA's best guess of what you want. they are identified by having question mark icons.

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