I recently moved from VB to C# and I miss the way VB handle IntelliSense behavior for enum types.
In VB, when you assign or compare am enum value, the IntelliSense will open the list of enum values directly.
In C#, the IntelliSense will only select the enum type in the list, forcing me to type a "." to get the list of enum values.
Is there a way to reproduce VB enum behavior in C# (without third party plugin)?
Unfortunately, that specific feature is part of Microsoft's Visual Basic-Specific IntelliSense
Automatic Completion
Completion on various keywords
For example, if you type goto and a space, IntelliSense will display a list of the defined labels in a drop-down menu. Other supported keywords include Exit, Implements, Option, and Declare.
Completion on Enum and Boolean
When a statement will refer to a member of an enumeration, IntelliSense will display a list of the members of the Enum. When a statement will refer to a Boolean, IntelliSense will display a true-false drop-down menu.
You should get it to pop up through regular intellisense by hitting .
or Ctrl + Space, though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With