Description
Summary:
Version 14.0 of the plugin has tightened the restrictions on project names. I tried to create a project with an upper case letter at the beginning. As expected I got an error informing me of the naming rules. However after clicking "OK" to the warning and corrected the name to all lower case, I got another error: "Flutter create command was unsuccessful". It looks like intelliJ's project wizard tried to create the project with an upper case letter anyway, since the folder in the project directory was created with an upper case letter.
What steps will reproduce the problem?
- Create a new Flutter project using an upper case letter in the name.
- Click OK to the error message.
- Correct the name to conform to the requirements.
- Observe the new error during creation
What is the expected output? What do you see instead?
Expected:
Project created normally with new acceptable name.
Actual:
Flutter create was unsuccess. An empty folder is created with the original (invalid) name.
What version of the product are you using?
IntelliJ IDEA Community Edition (version 2017.1.3)
• Dart plugin version 171.4424.63
• Tools Dart version 1.24.0-dev.3.0
• Flutter plugin version 14.0
On what operating system?
macOS Sierra 10.12.3
Please provide any additional information below.
I tried the same in WebStorm (2017.1.3), and here there was no initial validation. It just failed to create the project when using an upper case letter.