Anyway there is a bug in VA with unnamed typed enum.
enum {
width = 591,
height = 302
};
is parsed by VA, and whese enumerators showing in Find references, Find symbol and Rename.
But if we add the type
enum: int {
width = 591,
height = 302
};
VA to skip them and will not be processed.
Unnamed typed enums are useful in some cases, for example if we want to declare them instead of typed constants, since constants are not highlighted separately from normal variables, and enums are highlighted.