Author |
Topic |
|
leigh.kendall
Junior Member
USA
23 Posts |
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?? |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
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. |
zen is the art of being at one with the two'ness |
|
|
leigh.kendall
Junior Member
USA
23 Posts |
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
Whole Tomato Software
United Kingdom
19021 Posts |
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. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|
|
|