Created attachment 23308 [details]
Screenshot of Android Studio error
Using uppercase letters for android layout files can cause issues. See: https://bugzilla.xamarin.com/show_bug.cgi?id=47441
When working in Android Studio, there is an error if you try to title a layout file with an uppercase letter. See attached photo.
Add a similar feature of letting the user know that this is invalid to help reduce the chance of creating issues like in Bug #47411.
I'm confirming this and assigning to 15.4, but feel free to move to 15.5 if it's too much work since it's enhancement.
@Matt, is this something that's doable in the new file dialog? Do you know? Asking since you did the work on the new project dialog.
Looking at the code the OK button can be disabled if the file name is considered not valid.
But there is no explanation shown in the dialog as to why the OK button is disabled. Which is not going to be that good a user experience. Ideally the dialog would show a label somewhere, similar to Android Studio does.
It looks like a custom FileDescriptionTemplate or a custom FileTemplate would be needed with a custom implementation of the IsValidName method.
Thanks Matt. I think this will have to wait for 15.5 since 15.4 is too close and this is technically an enhancement
Now tracked as an internal backlog work item on https://devdiv.visualstudio.com/DevDiv/_workitems/edit/549350