Hi,
we have found that global enums are not always displayed in the intelliprompt when we would expect them to be.
Example:
- Define a global enum called "GlobalEnum"
- Create a method and in it start typeing the word "enum"
Case 1:
As the user types, "GlobalEnum" is displayed in the intelliprompt.
Case 2:
After the word enum has been typed(with no whitespace after), the intelliprompt is closed, then reopened. "GlobalEnum" is no longer shown in the intelliprompt.
Case 3:
Repeat cases 1 and 2 but typing "Enum" with a capital E. In both cases "GlobalEnum" is shown.
I would expect "GlobalEnum" to also be displayed in case 2. I have tried configuring the context and the completion provider in differnt ways, but can't seem to get "GlobalEnum" added to the list in case 2.
I have also tested the same thing using a struct called "GlobalStruct", but it is shown in the list in every case.
Is this a bug or is it expected? And if its a bug, can it be fixed in the next version?
Kind Regards, Rory Mathers