Describe the bug
Normally, when the context menu is used to "Wrap with widget...", the cursor automatically selects the new "widget" text so the user can immediately type the name of the new parent widget. However, when the "previewLsp" setting is enabled, the cursor does not move from where it was when the context menu was invoked.
To Reproduce
Steps to reproduce the behavior:
- Enable the "previewLsp" setting
- Move the text cursor to a widget name
- Open the context menu (
Ctrl + .)
- Select "Wrap with widget..."
Expected behavior
The text cursor should immediately select the newly added "widget" text.
Versions (please complete the following information):
- VS Code version: 1.53.2
- Dart extension version: 3.19.2
- Dart/Flutter SDK version: Dart 2.12.0, Flutter 1.26.0-17.5.pre