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
Refactoring (Wrap with...) remove escaping backslash in strings #4002
Activity
DanTup commentedon Jun 1, 2022
@nicolasmol are you able to share a complete code sample that triggers this? I don't seem to be able to repro with a simple case:
Can you also confirm what version of VS Code, the Dart extension, and the Flutter SDK you're using? Thanks!
nicolasmol commentedon Jun 1, 2022
Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (il y a 13 jours) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2
DanTup commentedon Jun 1, 2022
Thanks! Turns out it only occurs with numbers after the
$and not text. I'll take a look.DanTup commentedon Jun 1, 2022
This is related to us not detecting snippets reliably. We definitely need to find a proper way to do this:
Dart-Code/src/extension/analysis/analyzer_lsp_snippet_text_edits.ts
Lines 46 to 48 in 5b4d2e2
DanTup commentedon Jun 21, 2022
If you want to verify the fix before it ships, you can switch to the pre-release versions of the Dart+Flutter extension in VS Code shown here:
The versions with the fix are
v3.43.20220621(and the stable version they'll ship in isv3.44).Please let me know if you hit any issues. Thanks!
Improve detection of Snippets in code actions from server