Houge
Member
|
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:
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)
(This post was last modified: 04-13-2014 11:42 AM by Houge.)
|
|
04-13-2014 11:37 AM |
|
Houge
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|
Houge
Member
|
RE: EE editor comment parsing
ok, great, thanks!
P.S. sorry for long answer
|
|
04-30-2014 05:48 PM |
|