Globally use "final" and "var" modifiers in 'Introduce variable'
Answered
When using the introduce variable refactoring technique, a small dialog pops-up with checkboxes on whether to declare the variable as `final` and `var`.
To select any of these two options, I have to use the mouse.
Is there any keyboard shortcut to check these two checkboxes via the keyboard? Or alternatively, is there any setting to automatically introduce local variables as `final var`?
Thank you in advance
Please sign in to leave a comment.
Hi Chris,
Yes, you can use the Alt+F mnemonic to toggle between the states of the checkbox.
Also see/vote for https://youtrack.jetbrains.com/issue/IDEA-201723
Thank you Arina!