New design file should provide a name field for the Java companion file #2294
Labels
enhancement
Impact: Low
Less than 15% of users are affected by the issue.
Needs UX
Severity: Major
Severity - Middle out of blocker, major and minor
Stale
Inactive issue marked for closing
Currently, when creating a new design file with a companion file, I can only edit the Java source folder and package, but not the companion file name. That file is generated based on the component's tag name.
That might make sense for most cases, but there might be companies or projects, where special name conventions have to be taken into account. With the current dialog, the user has to manually go to the companion file after creating the design file and rename it. That is cumbersome.
It would be user friendly, when there would be a separate Java file name field. The field should auto update, when the web component's name change to match it (respecting Java naming conventions, but that is already the case, so shouldn't be a problem).
Alternative solution to the autoupdate: A checkbox, that allows editing the Java file name. If checked, the Java file name becomes editable and does not update any more when the component's name change.
IDE, Designer and OS version
IntelliJ 2020.1, Designer 4.5.0, Windows 10
The text was updated successfully, but these errors were encountered: