how to disable "final" modifier in Postfix Completion:"var"?

Answered

Recently, the Postfix Completion "var" starts adding the "final" modifier.

for example:

    123.var   ->   final int i = 123;

but what I want is:

    123.var   ->   int i = 123;

 

How do I disable the "final" modifier?

I'm running IntelliJ IDEA  2020.1.3.

 

0
2 comments

Can you show the context? What language is in use? Where the cursor is located (Method, function, etc)? I couldn't reproduce that: https://i.imgur.com/SL4aHGT.png

0
Avatar
Permanently deleted user

I just realized that I always pressed "Enter" right away after Postfix Completion,

so I had been closing the "Declare final" option, without noticing it ever exists   :D

thanks for your help~

0

Please sign in to leave a comment.