Freezed: Intellij doesnt show params in shortcut dialog in copyWith function

Created on 7 Apr 2020  Â·  6Comments  Â·  Source: rrousselGit/freezed

Hi Remi,
Thanks for the versatile package,

Just an issue with Alt+enter dialog on intellij in copyWith function. I can't see parameter in diaog and i have to manually look into the class and copy the param name

sdk bug

Most helpful comment

if use someThing.copyWith.call(), IntelliJ can properly work, but the syntax is a little bit...

All 6 comments

Same here ✋

After around v0.10, copyWith's auto complete seems not work.

Try inside parenthesis :

something.copyWith()

@rrousselGit i tried inside them. everytime i need to copy the variable from the model

In any case, that's not something I can fix
It's a bug in the dart tooling

https://github.com/dart-lang/sdk/issues/41365

if use someThing.copyWith.call(), IntelliJ can properly work, but the syntax is a little bit...

if use someThing.copyWith.call(), IntelliJ can properly work, but the syntax is a little bit...

This is a life saver. Thank you

Was this page helpful?
0 / 5 - 0 ratings