-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bug
Milestone
Description
Describe the bug
When using the context menu to wrap the widget in another widget, the caret doesn't move to the new parent anymore.
To Reproduce
Steps to reproduce the behavior:
- Position the caret inside the widget name
- Open the context menu / Fixes menu via either the bulb or
Cmd + . - Choose
Wrap with widget... - Observe the caret staying at the original place instead of moving to the new
widgetparent - this was super useful for quick selection expansion to cover the whole word.
Expected behavior
The caret should move to the new, enclosing widget.
Versions
VS Code version:
Version: 1.52.0
Commit: 940b5f4bb5fa47866a54529ed759d95d09ee80be
Date: 2020-12-10T22:46:53.673Z (5 days ago)
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 20.1.0
Dart extension version:
dart-code.dart-code - v3.17.1
dart-code.flutter - v3.17.0
Dart/Flutter SDK version:
[✓] Flutter (Channel master, 1.25.0-9.0.pre.88, on macOS 11.0.1 20B50 darwin-x64, locale en-GB)
• Flutter version 1.25.0-9.0.pre.88 at /Users/kubcio/.flutter
• Framework revision e24e763872 (4 hours ago), 2020-12-16 07:33:03 -0500
• Engine revision e9f2f0eaea
• Dart version 2.12.0 (build 2.12.0-157.0.dev)
Merrit, skybur and tomwyr
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bug
