declare local variable final popup

Answered

Whenever I allow the editor to introduce a local variable name I always get a popup that asks me if I want to declare the variable final.  I want to stop being asked this AND I do not want to declare the local variables as final by default.  Is there any way to control this behavior in the settings and not get this annoying popup?

0
10 comments

Please see these code style settings:

0

This checkBox is totally ineffective!

3

When Introduce variable refactoring is used, there is a small pop-up with the "Declare final" checkbox. You can use Alt+F mnemonic to toggle it.

The last used state will persist for the future invocations:

1

+1, very annoying.

2
Avatar
Permanently deleted user

The point is to NOT have the pop up.  This question has nothing to do with toggling it so that it remembers the choice. It is about not getting the choice in the first place.

1

There is no way to do that. Request is welcome at https://youtrack.jetbrains.com/issues/IDEA.

0

What is your basis for answering this question?How did you get your answer?What you replied was of no use

0

Himyemail, your question was answered in another post. There is no any other solution at the moment.

0

very nice!
The method is great!
Thank you for solving my confusion for so many days!

0
Avatar
Permanently deleted user

This is very annoying indeed and happening to me as well. Has a solution been created to remove this feature?

0

Please sign in to leave a comment.