flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

New project screen - when project location is changed, name isn't appended to the end

Open helin24 opened this issue 3 years ago • 1 comments

Not sure if this is a bug or intended.

I typed in project name, a default directory is shown with new_project as the last subdirectory: Screen Shot 2022-04-20 at 10 44 49 AM

I changed the directory, but the last subdirectory is what I selected, not new_project. It seems ambiguous to me whether new_project is going to be created as a subdirectory or if the plugin is assuming that tests is the directory I've already made to contain my project. Since I'm making a new project, I would expect that the directory is going to be made for me. Screen Shot 2022-04-20 at 10 45 01 AM

Default (non-Flutter) new project shows a line below of where the project will go: Screen Shot 2022-04-20 at 10 48 48 AM

helin24 avatar Apr 20 '22 17:04 helin24

The fields are linked as long as project location is not modified by the user. If the user changes the location, then the linking is disconnected. At the time this was created, the IntelliJ wizard did not have the explanatory comment, and it was really unclear to the user how things worked.

We are now out of sync with all other NPWs and should really go back and rework it. It also needs to be converted from a form into Kotlin UI DSL, which will be a fairly large project.

stevemessick avatar Apr 20 '22 23:04 stevemessick