Dart-Code icon indicating copy to clipboard operation
Dart-Code copied to clipboard

The quick-fix "Add package to dependencies" in Visual Studio code doesn't work with Dart 3.29.0

Open DanTup opened this issue 4 years ago • 2 comments

Raised by @leRayGorbella at https://github.com/dart-lang/sdk/issues/47906.


Hi ! I found that upgrading to the 3.29.0 version of Dart in my Visual Studio Code blocked the use of this quick-fix in visual Studio Code : Add package to dependencies.

Capture d’écran 2021-12-11 à 22 33 08 Capture d’écran 2021-12-11 à 22 33 21

My actual workaround is to downgrade Dart to the previous version 3.28.0.

Is it intentional or is it truly a bug ?

Thanks for your time spent on this issue, Best regards, Adrien

DanTup avatar Dec 13 '21 17:12 DanTup

This fix has been included in todays pre-release. If you want to test it out, you can switch to the pre-release version in VS Code:

Screenshot 2021-12-13 at 18 42 15

DanTup avatar Dec 13 '21 18:12 DanTup

Hi thanks a lot for the fix and the quick response @DanTup ! I will test it tomorrow, I can't tonight !

Best regards, Adrien

leRayGorbella avatar Dec 13 '21 20:12 leRayGorbella