Split into declaration and assignment

Hi!

Is it possible to disable the "split into declaration and assignment"
lightbulb
by changing a user setting?

Thanks / Jonas


0
2 comments

click into the light bulb when it appears. There does not seem to be a
way to switch it back on, however (nor a way to invoke the action
explicitly)

Jonas Envall wrote:

Hi!

Is it possible to disable the "split into declaration and assignment"
lightbulb
by changing a user setting?

Thanks / Jonas



0

Christian Sell wrote:

There does not seem to be a
way to switch it back on, however (nor a way to invoke the action
explicitly)


You can invoke the action explicitly, just have to remember where the intention works :)

For example place the cursor in 'if' and disable the intention for reversing the
condition. Now there is no light bulb. Hit Alt+Enter, you get the intention menu, now you
can enable the lightbulb again.

HTH, Dimiter

0

Please sign in to leave a comment.