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
 Feature Requests
 Enums and shorthand
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

leigh.kendall
Junior Member

USA
23 Posts

Posted - Mar 10 2006 :  10:10:04 AM  Show Profile  Reply with Quote
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??

feline
Whole Tomato Software

United Kingdom
18998 Posts

Posted - Mar 10 2006 :  1:53:15 PM  Show Profile  Reply with Quote
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.

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

leigh.kendall
Junior Member

USA
23 Posts

Posted - Mar 10 2006 :  2:37:51 PM  Show Profile  Reply with Quote
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18998 Posts

Posted - Mar 11 2006 :  11:05:13 AM  Show Profile  Reply with Quote
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.

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