automatic suggestions and auto-complete for enums

josh BAUER 166 Reputation points
2020-12-27T19:31:50.587+00:00

I make class like below.

class myClass {
public:
    class ClassToEnumerate {
    public:
        enum ppp { ll, ii };
    };
    ClassToEnumerate myToEnumerate;

};

I use it like below:

thisClass.myToEnumerate = thisClass.myToEnumerate.ii;

While writing dot after thisClass.myToEnumerate = thisClass.myToEnumerate
it shows me suggestion and autocomplete with my enumeration BUT

I am looking to get earlier suggestions and autocomplete JUST
after writing equal sign = after thisClass.myToEnumerate.

Is it possible to get suggestions JUST after = sign because
I do operator = overloading to process enum value after = sign.

How to get suggestions JUST after typing = sign?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,754 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.