61
General / Visual pop-up from intelisense shows enum values instead of names
« on: November 03, 2012, 05:47:09 pm »
Hi.
This is quite stupid but I couldn't find it by googling or anywhere in options.
I recently upgraded to vs2010 from vs 2008 and now in code completion, functions default parameters that are integrals but use enum constants(the bit flags approach with enums being 1<<x and |s to specify few options in one function parameter, like window style in sf and sfg) are shown as values.
Ie. I see sfg::Window::Create(int style=7) instead of sfg::Window::Create(int style=TOPLEVEL).
This is quite stupid but I couldn't find it by googling or anywhere in options.
I recently upgraded to vs2010 from vs 2008 and now in code completion, functions default parameters that are integrals but use enum constants(the bit flags approach with enums being 1<<x and |s to specify few options in one function parameter, like window style in sf and sfg) are shown as values.
Ie. I see sfg::Window::Create(int style=7) instead of sfg::Window::Create(int style=TOPLEVEL).