The patch for
QTCREATORBUG-9617 already allows to extract a constant as function parameter, which (almost) works great.
I'm now requesting the same, but to extract the value as const local variable and/or as enum.
The reason is, that in unit tests you often have to use magic numbers on several positions.
For example, the code:
could be refactored to:
by using the quickfix "Extract constant as enum" by using Alt+Enter on the number 42.