Rename/move directory won't change import
See original GitHub issueManual search and replace currently required after renaming library directory. Please add support for automatic refactor of imports.
Version info
[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Mac OS X 10.15.2 19C57, locale en-IL)
• Flutter version 1.12.13+hotfix.6 at /usr/local/lib/flutter
• Framework revision 18cd7a3601 (5 weeks ago), 2019-12-11 06:35:39 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/sasha/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/sasha/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/sasha/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Community Edition (version 2019.3.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 42.1.4
• Dart plugin version 193.5731
[✓] VS Code (version 1.41.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1
[✓] Connected device (3 available)
• iPhone 11 Pro Max • D06766C9-E399-4AEF-B840-D9F00FF661EE • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
• Chrome • chrome • web-javascript • Google Chrome 79.0.3945.117
• Web Server • web-server • web-javascript • Flutter Tools
• No issues found!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:109
- Comments:35 (9 by maintainers)
Top Results From Across the Web
File move / refactoring not working
I'm working with classes in a packages/ folder, which are found quite happily in the rest of the app, but when I move...
Read more >How to rename / move a project in Intellij Idea 12?
Right click on project, then Refactor -> Rename... (shift+F6), set desired name; Close IntelliJ; Rename directory in your filesystem to your ...
Read more >Utilities in Python: Move and Rename Files
Utilities in Python: Move and Rename Files · 1 Folder Admin · 2 File Admin · 3 Move Files · 4 Rename Files....
Read more >How to rename a Dropbox file or folder
From the Dropbox desktop application. You can also rename shared folders. Note: Renaming a shared folder only changes the folder name in your...
Read more >How to specify import options in Lightroom Classic
Rename photos when importing. When copying or moving photos into the catalog during import, you can specify how the files are named.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m also having this issue and it has been really frustrating. Some kind of update would be very much appreciated. I think this used to work once upon a time; I’d have expected regressions to be prioritised. It is a real sink of my time actually. As @venkatd above mentioned it is the 3rd most voted issue in this repository with 40thumbs and it has been live for very long and is also the most reasonable issue to be worked on. Rename functionality should surely be quick and easy fix?
Please can we have an update as to when we should expect this to be fixed? …or even better get it fixed as soon as possible please?
Thank you
This is by far my largest pain point. Also performing a large refactor and I’m losing hours manually moving files.
Given that there are ~40 thumbs up, any chance a few of us could combine resources and sponsor someone to contribute a fix to this? Anyone interested?