About Store Forum Documentation Contact



Post Reply 
EE editor comment parsing
Author Message
Houge Offline
Silver Supporter

Post: #1
EE editor comment parsing
If we create a comment near variable in EE editor, it is shown every time we type its name. But it shows only comments that are written after variable (right after ";"), but not above. In VS it looks like this:
[Image: image.png]

It's not urgent and critical at all, but it would be nice if EE editor parced multiline above comments too (like in "vasya" vatiant) smile
(This post was last modified: 04-13-2014 11:42 AM by Houge.)
04-13-2014 11:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Houge Offline
Silver Supporter

Post: #2
RE: EE editor comment parsing
One more thing:

I'd like to use strongly typed enums in my project (enum class), for example:
Code:
enum class CLIENT_SERVER_COMMAND
{
    VERSION_CHECK = 1,
    LOGIN = 2,
    LOGOUT = 3,
};

class is needed to prevent enum values to be used only by name of a value, but to use enum name + name of a value:
Code:
Byte a = LOGIN; // error C2065: 'LOGIN' : undeclared identifier
Byte a = CLIENT_SERVER_COMMAND::LOGIN; // OK

I think it's more safe and right to use strongly typed enums, but EE editor doesn't show enum values after i type "::". Can it be fixed?
(This post was last modified: 04-14-2014 05:05 PM by Houge.)
04-14-2014 05:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: EE editor comment parsing
Hi, for the first issue, I've added this to the roadmap:
â—¦displaying comments that are located above symbols when in auto-complete

for second issue you can do just
Code:
class XX
{
    enum
    {
    }
}
04-14-2014 10:03 PM
Find all posts by this user Quote this message in a reply
Houge Offline
Silver Supporter

Post: #4
RE: EE editor comment parsing
ok, great, thanks!

P.S. sorry for long answer smile
04-30-2014 05:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply