Closed m-salman-a closed 9 months ago
The FlutterRename command doesn't update import for another file if the other file is already opened in a different buffer
FlutterRename
FlutterRename renames the class, file name, and updates the import.
main.dart
MyWidget.dart
:FlutterRename
MyWidget
MyNewWidget
- OS: macOS Ventura 13.5.2 - Flutter version: 3.10.6 - Is flutter in $PATH: true - neovim version: 0.9.1 - LSP Settings: - renameFilesWithClasses = "always", - updateImportsOnRename = true,
No response
Is there an existing issue for this?
Current Behavior
The
FlutterRename
command doesn't update import for another file if the other file is already opened in a different bufferExpected Behavior
FlutterRename
renames the class, file name, and updates the import.Steps To Reproduce
main.dart
andMyWidget.dart
):FlutterRename
on the Dart class (ex.MyWidget
->MyNewWidget
)Environment
Anything else?
No response