Files
sdk/pkg/dartdev/test
Johnni Winther 62a646220a [dartdev] Handle upper case letters in dart create
This adds handling of upper case letters in `dart create`. This command is run from IDEs (IntelliJ, atleast) and if you use upper case letters in the directory, the `dart create` would (silently) fail instead of normalizing the directing to a valid package name, leaving the created project folder with no content.

All upper case names are normalized to all lower case, and mixed case are normalized to snake case, as if it was from camel case.

Change-Id: If854e17a0273eb0d02f4f0c5dcd4b50752e57bd4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/474641
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2026-01-22 07:36:14 -08:00
..
2025-11-21 03:38:57 -08:00