You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrap with widget inserts snippet placeholders on latest Flutter builds #3877
Thanks for the report. This was caused by a recent improvement in the anlaysis server that exposed a bug in the extension. It's fine in Flutter's stable channel, but broken on more recent development builds.
The issue is fixed by 84fc046. It hasn't made a stable release yet, but it is in the pre-releases version that you can switch to in VS Code using the buttons shown in the screenshot below (you should change both and keep them to the same channel, though it's the Dart extension that contains this fix).
Great, thanks for confirming! If it keeps coming up, I'll do a patch release with that fix in. Otherwise releases usually ship at the end/start of the month.
@Pablo-hub44 please provide some more information about what isn't working. A screenshot would be useful, and please include the versions of your Dart extension, and the full output of flutter doctor -v.
@jonorozcoc can you verify you've reloaded VS Code since the extension update was installed, and if so follow the instructions here to capture a log (in a new sample project, since it will contain parts of your source code) and file a new issue with it attached:
Activity
DanTup commentedon Mar 18, 2022
Thanks for the report. This was caused by a recent improvement in the anlaysis server that exposed a bug in the extension. It's fine in Flutter's
stablechannel, but broken on more recent development builds.The issue is fixed by 84fc046. It hasn't made a stable release yet, but it is in the pre-releases version that you can switch to in VS Code using the buttons shown in the screenshot below (you should change both and keep them to the same channel, though it's the Dart extension that contains this fix).
Thanks!
[-]Wrap with widget broken[/-][+]Wrap with widget inserts snippet placeholders on latest Flutter builds[/+]maheshj01 commentedon Mar 18, 2022
Thanks, @DanTup, I can confirm using the prerelease version of both the plugins, fixes the issue.
DanTup commentedon Mar 18, 2022
Great, thanks for confirming! If it keeps coming up, I'll do a patch release with that fix in. Otherwise releases usually ship at the end/start of the month.
Pablo-hub44 commentedon Jun 22, 2022
not works
DanTup commentedon Jun 22, 2022
@Pablo-hub44 please provide some more information about what isn't working. A screenshot would be useful, and please include the versions of your Dart extension, and the full output of
flutter doctor -v.jonatandorozco commentedon Jun 29, 2022
Not working yet.
Dart extension version: v3.43.20220628
Flutter extension version: v3.43.20220621
Flutter version: 2.10.5
Flutter doctor output
DanTup commentedon Jun 29, 2022
@jonorozcoc can you verify you've reloaded VS Code since the extension update was installed, and if so follow the instructions here to capture a log (in a new sample project, since it will contain parts of your source code) and file a new issue with it attached:
#3956 (comment)
Thanks!
DanTup commentedon Jun 29, 2022
(didn't mean to re-open this, please file a new issue with the log)
jonatandorozco commentedon Jun 29, 2022
Thanks @DanTup for your quick response. I'll do that